emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* keymap for read-date-minibuffer
@ 2013-01-25  2:50 Mark Edgington
  2013-01-26 10:34 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Edgington @ 2013-01-25  2:50 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

I recently spent a while figuring out how to add custom-keybindings to
the read-date-minibuffer which appears when org-read-date is called.
The only way to do it currently is to use the
org-read-date-minibuffer-setup hook, and add keybindings to the
minibuffer-local-map there.  I'm wondering if it wouldn't be more
natural to just define an "org-read-date-minibuffer-map" that the end
user can modify, and to overlay this on top of the
minibuffer-local-map when org-read-date is called.  Thoughts?

Regards,

Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: keymap for read-date-minibuffer
  2013-01-25  2:50 keymap for read-date-minibuffer Mark Edgington
@ 2013-01-26 10:34 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-01-26 10:34 UTC (permalink / raw)
  To: Mark Edgington; +Cc: emacs-orgmode

Hi Mark,

Mark Edgington <edgimar@gmail.com> writes:

> I recently spent a while figuring out how to add custom-keybindings to
> the read-date-minibuffer which appears when org-read-date is called.
> The only way to do it currently is to use the
> org-read-date-minibuffer-setup hook, and add keybindings to the
> minibuffer-local-map there.  I'm wondering if it wouldn't be more
> natural to just define an "org-read-date-minibuffer-map" that the end
> user can modify, and to overlay this on top of the
> minibuffer-local-map when org-read-date is called.  Thoughts?

I think this is a good idea.

There is now `org-read-date-minibuffer-local-map'.  You can go and
configure it as normal keymap.  

`org-read-date-minibuffer-setup-hook' is not used anymore, so users
relying on this and using HEAD of the master Git branch need to update
their configuration to use `org-read-date-minibuffer-local-map'
instead.

Thanks for suggesting this,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-26 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-25  2:50 keymap for read-date-minibuffer Mark Edgington
2013-01-26 10:34 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).