From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: [PATCH] org.el: Fix bindings of < and > for calendar scrolling Date: Mon, 20 Oct 2014 22:41:02 +0200 Message-ID: <84y4sav5i9.fsf@tm6592.fritz.box> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgJla-0004VM-MR for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 16:41:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgJlU-00024j-RB for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 16:41:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:44174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgJlU-00024T-KA for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 16:41:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XgJlT-0004yr-5A for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 22:41:15 +0200 Received: from stgt-5f701df5.pool.mediaways.net ([95.112.29.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Oct 2014 22:41:15 +0200 Received: from marcowahlsoft by stgt-5f701df5.pool.mediaways.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Oct 2014 22:41:15 +0200 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Dear list, Find a fix for the bindings of < and > for calendar scrolling for Emacs 25. The fix is necessary because Emacs 25 dropped some aliases in the calendar lib, in particular those that have been bound to < and >. Since the fix is small and clear (AFAICT) and the tests pass I try to push it directly to maint. Regards, Marco -- http://www.wahlzone.de GPG: 0x0A3AE6F2 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-org.el-Fix-bindings-of-and-for-calendar-scrolling.patch Content-Description: [PATCH] org.el: Fix bindings of < and > for calendar scrolling >From 8b63dc950302dad862b9e03bda3854d7d351cac4 Mon Sep 17 00:00:00 2001 From: Marco Wahl Date: Mon, 20 Oct 2014 21:47:42 +0200 Subject: [PATCH] org.el: Fix bindings of < and > for calendar scrolling * lisp/org.el (org-read-date-minibuffer-local-map): Switch to the current calendar API for scrolling the calendar. --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 2b5603c..7f4be6b 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -16285,10 +16285,10 @@ So these are more for recording a certain time/date." (message ""))) (org-defkey map ">" (lambda () (interactive) - (org-eval-in-calendar '(scroll-calendar-left 1)))) + (org-eval-in-calendar '(calendar-scroll-left 1)))) (org-defkey map "<" (lambda () (interactive) - (org-eval-in-calendar '(scroll-calendar-right 1)))) + (org-eval-in-calendar '(calendar-scroll-right 1)))) (org-defkey map "\C-v" (lambda () (interactive) (org-eval-in-calendar -- 2.1.2 --=-=-=--