GNU bug report logs -
#25473
26.0.50; org-agenda tries to invoke insert-diary-entry, which does not exist
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25473 in the body.
You can then email your comments to 25473 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25473
; Package
emacs
.
(Wed, 18 Jan 2017 08:30:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jens Lechtenboerger <lechten <at> wi.uni-muenster.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 18 Jan 2017 08:30:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi there,
I cannot create new diary entries from the org agenda view.
Recipe from 'emacs -Q':
M-x org-agenda
Press 'a' (agenda for current week)
Press 'i' (create diary entry)
Press 'd' (choose daily entry)
Observe message: "org-agenda-diary-entry: Wrong type argument:
commandp, insert-diary-entry"
Note that in diary-lib.el there is a function diary-insert-entry,
not insert-diary-entry.
Best wishes
Jens
In GNU Emacs 26.0.50.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2017-01-18 built on D-3140W11
Repository revision: dbb29d7eb428dd53617d31a9cc159d889deb1e8e
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25473
; Package
emacs
.
(Wed, 18 Jan 2017 16:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 25473 <at> debbugs.gnu.org (full text, mbox):
Jens Lechtenboerger <lechten <at> wi.uni-muenster.de> writes:
> I cannot create new diary entries from the org agenda view.
>
> Recipe from 'emacs -Q':
>
> M-x org-agenda
> Press 'a' (agenda for current week)
> Press 'i' (create diary entry)
> Press 'd' (choose daily entry)
>
> Observe message: "org-agenda-diary-entry: Wrong type argument:
> commandp, insert-diary-entry"
>
> Note that in diary-lib.el there is a function diary-insert-entry,
> not insert-diary-entry.
685d3ba4a (Replace obsolete aliases of calendar functions, 2014-11-15)
in the Org mode repo switched the commands over to the diary prefix.
Here's the patch for that, with the paths adjusted so that it can be
applied to the Emacs repo without using -p<n>.
--8<---------------cut here---------------start------------->8---
From: Florian Beck <fb <at> miszellen.de>
Date: Sat, 15 Nov 2014 19:14:27 +0100
Subject: [PATCH] Replace obsolete aliases of calendar functions
* lisp/org/org-agenda.el (org-agenda-diary-entry): Replace obsolete functions.
---
lisp/org/org-agenda.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el
index 7632e1b17..b4b0a24de 100644
--- a/lisp/org/org-agenda.el
+++ b/lisp/org/org-agenda.el
@@ -9473,13 +9473,13 @@ (defun org-agenda-diary-entry ()
(message "Diary entry: [d]ay [w]eekly [m]onthly [y]early [a]nniversary [b]lock [c]yclic")
(read-char-exclusive)))
(cmd (cdr (assoc char
- '((?d . insert-diary-entry)
- (?w . insert-weekly-diary-entry)
- (?m . insert-monthly-diary-entry)
- (?y . insert-yearly-diary-entry)
- (?a . insert-anniversary-diary-entry)
- (?b . insert-block-diary-entry)
- (?c . insert-cyclic-diary-entry)))))
+ '((?d . diary-insert-entry)
+ (?w . diary-insert-weekly-entry)
+ (?m . diary-insert-monthly-entry)
+ (?y . diary-insert-yearly-entry)
+ (?a . diary-insert-anniversary-entry)
+ (?b . diary-insert-block-entry)
+ (?c . diary-insert-cyclic-entry)))))
(oldf (symbol-function 'calendar-cursor-to-date))
;; (buf (get-file-buffer (substitute-in-file-name diary-file)))
(point (point))
--
2.11.0
--8<---------------cut here---------------end--------------->8---
--
Kyle
Information forwarded
to
bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org
:
bug#25473
; Package
emacs,org-mode
.
(Wed, 18 Jan 2017 18:39:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 25473 <at> debbugs.gnu.org (full text, mbox):
Kyle Meyer wrote:
> 685d3ba4a (Replace obsolete aliases of calendar functions, 2014-11-15)
> in the Org mode repo switched the commands over to the diary prefix.
There is a clear problem if Org changes aren't being synced to Emacs for
over 2 years.
Added indication that bug 25473 blocks24655
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 18 Jan 2017 18:45:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Tue, 15 Aug 2017 23:26:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jens Lechtenboerger <lechten <at> wi.uni-muenster.de>
:
bug acknowledged by developer.
(Tue, 15 Aug 2017 23:26:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 25473-done <at> debbugs.gnu.org (full text, mbox):
Version: 26.1
This was fixed in 5cecd27.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 13 Sep 2017 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 285 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.