unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23725: 25.0.94; Org mode uses removed aliases to scroll the calendar
@ 2016-06-08  6:19 Ari Roponen
  2016-06-08 13:49 ` Kyle Meyer
  2016-06-08 23:05 ` Paul Eggert
  0 siblings, 2 replies; 4+ messages in thread
From: Ari Roponen @ 2016-06-08  6:19 UTC (permalink / raw)
  To: 23725

Org mode uses aliases that were removed by this commit:

  commit 3f65970414538063e38ada2a47cb4ef4f35b630e
  Author: Glenn Morris <rgm@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)





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#23725: 25.0.94; Org mode uses removed aliases to scroll the calendar
  2016-06-08  6:19 bug#23725: 25.0.94; Org mode uses removed aliases to scroll the calendar Ari Roponen
@ 2016-06-08 13:49 ` Kyle Meyer
  2016-06-08 15:42   ` Glenn Morris
  2016-06-08 23:05 ` Paul Eggert
  1 sibling, 1 reply; 4+ messages in thread
From: Kyle Meyer @ 2016-06-08 13:49 UTC (permalink / raw)
  To: Ari Roponen; +Cc: 23725

Ari Roponen <ari.roponen@gmail.com> writes:

> Org mode uses aliases that were removed by this commit:
>
>   commit 3f65970414538063e38ada2a47cb4ef4f35b630e
>   Author: Glenn Morris <rgm@gnu.org>
>   Date:   Sun Oct 5 19:02:04 2014 -0700
>
>       Remove calendar code obsolete since at least version 23.1

This was fixed in the upstream Org repo with 8b63dc9 (org.el: Fix
bindings of < and > for calendar scrolling, 2014-10-20), which is
included in version 8.3.

--
Kyle





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#23725: 25.0.94; Org mode uses removed aliases to scroll the calendar
  2016-06-08 13:49 ` Kyle Meyer
@ 2016-06-08 15:42   ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2016-06-08 15:42 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: Ari Roponen, 23725

Kyle Meyer wrote:

> Ari Roponen <ari.roponen@gmail.com> writes:
>
>> Org mode uses aliases that were removed by this commit:
>>
>>   commit 3f65970414538063e38ada2a47cb4ef4f35b630e
>>   Author: Glenn Morris <rgm@gnu.org>
>>   Date:   Sun Oct 5 19:02:04 2014 -0700
>>
>>       Remove calendar code obsolete since at least version 23.1
>
> This was fixed in the upstream Org repo with 8b63dc9 (org.el: Fix
> bindings of < and > for calendar scrolling, 2014-10-20), which is
> included in version 8.3.

But not included in the version included with Emacs. Please could
someone port that fix to the emacs-25 branch.

(If simple fixes don't get propagated for over a year, the system isn't
working.)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#23725: 25.0.94; Org mode uses removed aliases to scroll the calendar
  2016-06-08  6:19 bug#23725: 25.0.94; Org mode uses removed aliases to scroll the calendar Ari Roponen
  2016-06-08 13:49 ` Kyle Meyer
@ 2016-06-08 23:05 ` Paul Eggert
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Eggert @ 2016-06-08 23:05 UTC (permalink / raw)
  To: 23725-done; +Cc: Kyle Meyer, Ari Roponen

I installed the patch and am marking this as done.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-08 23:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08  6:19 bug#23725: 25.0.94; Org mode uses removed aliases to scroll the calendar Ari Roponen
2016-06-08 13:49 ` Kyle Meyer
2016-06-08 15:42   ` Glenn Morris
2016-06-08 23:05 ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).