From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [PATCH] fix polluting minibuffer-local-map Date: Sun, 27 Jan 2013 10:10:31 +0100 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzOG3-0003ZB-FL for emacs-orgmode@gnu.org; Sun, 27 Jan 2013 04:10:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzOG2-0005Au-E1 for emacs-orgmode@gnu.org; Sun, 27 Jan 2013 04:10:35 -0500 Received: from mail-wg0-f46.google.com ([74.125.82.46]:61920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzOG2-0005Ai-7V for emacs-orgmode@gnu.org; Sun, 27 Jan 2013 04:10:34 -0500 Received: by mail-wg0-f46.google.com with SMTP id fg15so1067045wgb.1 for ; Sun, 27 Jan 2013 01:10:33 -0800 (PST) In-Reply-To: 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: Leo Liu Cc: emacs-orgmode@gnu.org Ouch what a bad bug. Thanks for finding it Leo! - Carsten On 27.1.2013, at 09:31, Leo Liu wrote: > a/org.el > b/org.el > @@ -15578,57 +15578,57 @@ > (defvar org-read-date-minibuffer-local-map > (let ((map (make-sparse-keymap))) > (set-keymap-parent map minibuffer-local-map) > - (org-defkey minibuffer-local-map [(meta shift left)] > + (org-defkey map [(meta shift left)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-backward-month 1)))) > - (org-defkey minibuffer-local-map [(meta shift right)] > + (org-defkey map [(meta shift right)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-forward-month 1)))) > - (org-defkey minibuffer-local-map [(meta shift up)] > + (org-defkey map [(meta shift up)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-backward-year 1)))) > - (org-defkey minibuffer-local-map [(meta shift down)] > + (org-defkey map [(meta shift down)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-forward-year 1)))) > - (org-defkey minibuffer-local-map [?\e (shift left)] > + (org-defkey map [?\e (shift left)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-backward-month 1)))) > - (org-defkey minibuffer-local-map [?\e (shift right)] > + (org-defkey map [?\e (shift right)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-forward-month 1)))) > - (org-defkey minibuffer-local-map [?\e (shift up)] > + (org-defkey map [?\e (shift up)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-backward-year 1)))) > - (org-defkey minibuffer-local-map [?\e (shift down)] > + (org-defkey map [?\e (shift down)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-forward-year 1)))) > - (org-defkey minibuffer-local-map [(shift up)] > + (org-defkey map [(shift up)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-backward-week 1)))) > - (org-defkey minibuffer-local-map [(shift down)] > + (org-defkey map [(shift down)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-forward-week 1)))) > - (org-defkey minibuffer-local-map [(shift left)] > + (org-defkey map [(shift left)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-backward-day 1)))) > - (org-defkey minibuffer-local-map [(shift right)] > + (org-defkey map [(shift right)] > (lambda () (interactive) > (org-eval-in-calendar '(calendar-forward-day 1)))) > - (org-defkey minibuffer-local-map "?" > + (org-defkey map "?" > (lambda () (interactive) > (org-eval-in-calendar '(diary-view-entries)) > (message ""))) > - (org-defkey minibuffer-local-map ">" > + (org-defkey map ">" > (lambda () (interactive) > (org-eval-in-calendar '(scroll-calendar-left 1)))) > - (org-defkey minibuffer-local-map "<" > + (org-defkey map "<" > (lambda () (interactive) > (org-eval-in-calendar '(scroll-calendar-right 1)))) > - (org-defkey minibuffer-local-map "\C-v" > + (org-defkey map "\C-v" > (lambda () (interactive) > (org-eval-in-calendar > '(calendar-scroll-left-three-months 1)))) > - (org-defkey minibuffer-local-map "\M-v" > + (org-defkey map "\M-v" > (lambda () (interactive) > (org-eval-in-calendar > '(calendar-scroll-right-three-months 1)))) > > Diff finished. Sun Jan 27 16:29:52 2013 > >