From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: keymap for read-date-minibuffer Date: Sat, 26 Jan 2013 11:34:57 +0100 Message-ID: <87ehh88c6m.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz36C-0000Of-92 for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 05:35:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tz36A-0000W8-JR for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 05:35:00 -0500 Received: from we-in-x022e.1e100.net ([2a00:1450:400c:c03::22e]:62288 helo=mail-we0-x22e.google.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz36A-0000Vi-Cy for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 05:34:58 -0500 Received: by mail-we0-f174.google.com with SMTP id r6so594631wey.5 for ; Sat, 26 Jan 2013 02:34:56 -0800 (PST) In-Reply-To: (Mark Edgington's message of "Thu, 24 Jan 2013 21:50:35 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Mark Edgington Cc: emacs-orgmode@gnu.org Hi Mark, Mark Edgington 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