unhammer / org-upcoming-modeline

📅 Show upcoming org event in modeline
https://www.reddit.com/r/emacs/comments/k1e4eu/show_next_orgappointment_in_modeline/
GNU General Public License v2.0
31 stars 6 forks source link
calendar emacs events org-mode

+TITLE: org-upcoming-modeline

[[https://melpa.org/#/org-upcoming-modeline][https://melpa.org/packages/org-upcoming-modeline-badge.svg]] [[https://stable.melpa.org/#/org-upcoming-modeline][https://stable.melpa.org/packages/org-upcoming-modeline-badge.svg]]

This package shows you the next upcoming org appointment in your modeline.

You can left-click on it to go to it, right-click for a menu of actions, middle-click to temporarily hide it.

+ATTR_HTML: :alt org-upcoming-modeline demo

[[file:org-upcoming-modeline.gif][file:org-upcoming-modeline.gif]]

** MELPA If you use [[https://melpa.org/][MELPA]], you can do =M-x list-packages=, find =org-upcoming-modeline= in the list and hit =i x=.

** Manual Just put =org-upcoming-modeline.el= somewhere in =load-path=.

Here is a non-exhaustive list of some =org-upcoming-modeline= functionalities:

** appt

=appt= is not itself integrated with org-mode, but if you do =(add-hook 'org-finalize-agenda-hook #'org-agenda-to-appt)= it will add appointments from that agenda to your list of future warnings, and warn when you're getting closer. But the modeline just says "App't in 15 min." (it doesn't show the name of the event, and there's no org-integration). However, by default it will keep popping up a small window with the event name for you every so often when the event is getting near.

In comparison, this package doesn't require you to open (the correct) =org-agenda= first; it shows the actual org heading and adds org-specific "actions" that you can select for the event. And since it uses =org-ql=, it'll automatically remove the event (after a short idle delay) if you remove it from your org file.