GNU bug report logs - #23725
25.0.94; Org mode uses removed aliases to scroll the calendar

Previous Next

Packages: org-mode, emacs;

Reported by: Ari Roponen <ari.roponen <at> gmail.com>

Date: Wed, 8 Jun 2016 06:21:02 UTC

Severity: normal

Found in version 25.0.94

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#23725: closed (25.0.94; Org mode uses removed aliases to
 scroll the calendar)
Date: Wed, 08 Jun 2016 23:06:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 8 Jun 2016 16:05:40 -0700
with message-id <5758A4C4.4000004 <at> cs.ucla.edu>
and subject line Re: bug#23725: 25.0.94; Org mode uses removed aliases to scroll the calendar
has caused the debbugs.gnu.org bug report #23725,
regarding 25.0.94; Org mode uses removed aliases to scroll the calendar
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
23725: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23725
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ari Roponen <ari.roponen <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.94; Org mode uses removed aliases to scroll the calendar
Date: Wed, 08 Jun 2016 09:19:48 +0300
Org mode uses aliases that were removed by this commit:

  commit 3f65970414538063e38ada2a47cb4ef4f35b630e
  Author: Glenn Morris <rgm <at> gnu.org>
  Date:   Sun Oct 5 19:02:04 2014 -0700
  
      Remove calendar code obsolete since at least version 23.1

The following patch fixes the problem.

* lisp/org/org.el (org-read-date-minibuffer-local-map):
Use correct function names instead of their removed aliases.

diff --git a/lisp/org/org.el b/lisp/org/org.el
index 61bcb45..13e4a22 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -16296,10 +16296,10 @@ org-read-date-minibuffer-local-map
                   (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


In GNU Emacs 25.0.94.8 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.6)
 of 2016-06-08 built on arirop
Repository revision: 1f85b7ca034ee4f96d796d95ec86bc4fa0ba8aa3
Windowing system distributor 'Fedora Project', version 11.0.11803000
System Description:	Fedora release 24 (Twenty Four)


[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 23725-done <at> debbugs.gnu.org
Cc: Kyle Meyer <kyle <at> kyleam.com>, Ari Roponen <ari.roponen <at> gmail.com>
Subject: Re: bug#23725: 25.0.94; Org mode uses removed aliases to scroll the
 calendar
Date: Wed, 8 Jun 2016 16:05:40 -0700
I installed the patch and am marking this as done.


This bug report was last modified 8 years and 349 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.