From: Eli Zaretskii <eliz@gnu.org>
To: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
Cc: 12774@debbugs.gnu.org
Subject: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing
Date: Sun, 04 Nov 2012 18:22:34 +0200 [thread overview]
Message-ID: <83k3u149th.fsf@gnu.org> (raw)
In-Reply-To: <80k3u1oiml.fsf@gmail.com>
> From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> Cc: 12774@debbugs.gnu.org
> Date: Sun, 04 Nov 2012 09:52:02 +0100
>
> Debugger entered--Lisp error: (void-function org-mode-p)
> (org-mode-p)
> (if (org-mode-p) (setq bl nil))
> (while bl (set-buffer (car (prog1 bl (setq bl (cdr bl))))) (if (org-mode-p) (setq bl nil)))
> (save-excursion (while bl (set-buffer (car (prog1 bl (setq bl (cdr bl))))) (if (org-mode-p) (setq bl nil))) (if (org-mode-p) (progn (easy-menu-change (quote ("Org")) "File List for Agenda" (append (list ["Edit File List" (org-edit-agenda-file-list) t] ["Add/Move Current File to Front of List" org-agenda-file-to-front t] ["Remove Current File from List" org-remove-file t] ["Cycle through agenda files" org-cycle-agenda-files t] ["Occur in all agenda files" org-occur-in-agenda-files t] "--") (mapcar (quote org-file-menu-entry) (org-agenda-files t)))))))
> (let ((bl (buffer-list))) (save-excursion (while bl (set-buffer (car (prog1 bl (setq bl (cdr bl))))) (if (org-mode-p) (setq bl nil))) (if (org-mode-p) (progn (easy-menu-change (quote ("Org")) "File List for Agenda" (append (list ["Edit File List" ... t] ["Add/Move Current File to Front of List" org-agenda-file-to-front t] ["Remove Current File from List" org-remove-file t] ["Cycle through agenda files" org-cycle-agenda-files t] ["Occur in all agenda files" org-occur-in-agenda-files t] "--") (mapcar (quote org-file-menu-entry) (org-agenda-files t))))))))
> org-install-agenda-files-menu()
Do you have some old org.el on your system? The current version
doesn't have a call to org-mode-p inside
org-install-agenda-files-menu, it does this:
(defun org-install-agenda-files-menu ()
(let ((bl (buffer-list)))
(save-excursion
(while bl
(set-buffer (pop bl))
(if (derived-mode-p 'org-mode) (setq bl nil)))
(when (derived-mode-p 'org-mode)
(easy-menu-change
'("Org") "File List for Agenda"
(append
(list
["Edit File List" (org-edit-agenda-file-list) t]
As you see, it uses (derived-mode-p 'org-mode), not (org-mode-p).
next prev parent reply other threads:[~2012-11-04 16:22 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-01 5:23 bug#12774: 24.2.50; EMACS 24.2.50.1 crashing Vincent Belaïche
2012-11-01 14:57 ` Eli Zaretskii
[not found] ` <DUB102-W598866A2386D9F5F9BE37384600@phx.gbl>
2012-11-01 20:09 ` bug#12774: " Eli Zaretskii
2012-11-01 20:37 ` Vincent Belaïche
2012-11-01 20:40 ` bug#12774: " Eli Zaretskii
2012-11-01 20:47 ` Vincent Belaïche
2012-11-01 21:11 ` bug#12774: " Eli Zaretskii
2012-11-01 21:17 ` Eli Zaretskii
2012-11-03 13:47 ` Vincent Belaïche
2012-11-03 14:16 ` bug#12774: " Eli Zaretskii
2012-11-03 17:20 ` Vincent Belaïche
2012-11-03 17:21 ` Vincent Belaïche
2012-11-03 17:41 ` Vincent Belaïche
2012-11-03 20:07 ` bug#12774: " Eli Zaretskii
[not found] ` <DUB102-W4349F77D26F50F97BC2D7184660@phx.gbl>
2012-11-04 3:46 ` Eli Zaretskii
2012-11-04 16:44 ` Eli Zaretskii
2012-11-01 20:51 ` Vincent Belaïche
2012-11-01 21:00 ` Vincent Belaïche
2012-11-04 8:52 ` bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing Vincent Belaïche
2012-11-04 16:22 ` Eli Zaretskii [this message]
2012-11-04 19:50 ` Vincent Belaïche
2012-11-05 17:14 ` Eli Zaretskii
2012-11-07 20:40 ` Vincent Belaïche
2012-11-07 21:14 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83k3u149th.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=12774@debbugs.gnu.org \
--cc=vincent.b.1@hotmail.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.