From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: [PATCH] org.el: Fix bindings of < and > for calendar scrolling Date: Tue, 21 Oct 2014 09:35:12 +0200 Message-ID: <864muxzxhr.fsf@example.com> References: <84y4sav5i9.fsf@tm6592.fritz.box> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Marco Wahl wrote: > 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 >. > > 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)))) Can't you simply write 'calendar-scroll-left ? > (org-defkey map "<" > (lambda () (interactive) > - (org-eval-in-calendar '(scroll-calendar-right 1)))) > + (org-eval-in-calendar '(calendar-scroll-right 1)))) Same here? Best regards, Seb -- Sebastien Vauban