You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I most often use the calendar to insert timestamps into org files.
E.g. C-c ! (org-time-stamp-inactive), C-c C-d (org-deadline), or C-c C-s (org-schedule).
These functions place you in the minibuffer, not the calendar buffer, so the calendar-mode-map C-o keymap does not work.
Below is a configuration that adds the custom minibuffer keymap in wrapper functions (only one included).
@rnadler Thanks much for using Casual and for bringing this to my attention.
On initial inspection, it seems that Org leverages/hijacks the calendar interface via the org-read-date command, coercing input to be done through the mini-buffer. Unfortunately this also subverts usage of a Transient menu as the mini-buffer is given the primary focus using the active keymap org-read-date-minibuffer-local-map defined in org-keys.el.
It is beyond my current understanding on how to make a Transient menu work while the mini-buffer has focus. I think it is an implementation artifact (or bug) that the menu can be raised while the mini-buffer is active.
While it would be nice if this all “just worked”, I do wonder what the specific use case for accessing Casual Calendar via org-read-date would be.
I most often use the calendar to insert timestamps into org files.
E.g.
C-c !
(org-time-stamp-inactive),C-c C-d
(org-deadline), orC-c C-s
(org-schedule).These functions place you in the minibuffer, not the calendar buffer, so the calendar-mode-map
C-o
keymap does not work.Below is a configuration that adds the custom minibuffer keymap in wrapper functions (only one included).
C-o
brings up the casual-calendar menu, but the menu items do not work properly (as expected I guess).Being able to use casual-calendar in these types of insert use cases would be great.
Thanks!
The text was updated successfully, but these errors were encountered: