GNU bug report logs -
#1632
Org-menu "Set Items" not bound
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 1632 in the body.
You can then email your comments to 1632 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1632
; Package
emacs
.
(Thu, 18 Dec 2008 18:30:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Robert Goldman <rpgoldman <at> sift.info>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 18 Dec 2008 18:30:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Backgrond: I have been finding that the Set Tags menu command didn't
work for me (on aquamacs). I reported that to aquamacs-bugs, but David
Reitter there found that it was an org-mode bug. I don't believe he
reported it to orgmode list --- went to emacs-pretest-bug instead.
Here's the analysis and a proposed patch.
I just looked at the output of help-variable on org-org-menu
and I see:
(TAGS\ and\ Properties menu-item "TAGS and Properties"
(keymap "TAGS and Properties"
(Set\ Tags menu-item "Set Tags" menu-function-16
:key-sequence nil)
(Change\ tag\ in\ region menu-item "Change tag in region"
menu-function-17 :key-sequence nil :enable
(org-region-active-p))
(nil menu-item "--")
(Set\ property menu-item "Set property" menu-function-18
:key-sequence nil)
(Column\ view\ of\ properties menu-item "Column view of
properties" org-columns)
(Insert\ Column\ View\ DBlock menu-item "Insert Column View
DBlock" org-insert-columns-dblock)))
So I confirm what David reports, if you look about you'll see that the
keymap entries for "Set Tags" and "Set Property" aren't properly
initialized.
I find that the following are also not initialized:
Sparse\ trees\ open\ ARCHIVE\ trees
Cycling\ opens\ ARCHIVE\ trees
Set\ property
Record\ DONE\ time
Edit\ File\ List
Descriptive\ Links
Literal\ Links
Export\ LaTeX\ fragments\ as\ images
and all of the entries for my org agenda files.
Looking at the org.el code, I see that these correspond to entries in
the org-org-mode menu that are quoted. For example, I see:
["Set Tags" 'org-set-tags-command t]
which doesn't work, but we also see
["Priority Down" org-shiftdown t]
which does work.
When I cut out these quotes, the menu items work for me. I'm attaching
a patch file.
[menu.patch (text/plain, inline)]
diff --git a/lisp/org.el b/lisp/org.el
index 3df04e2..2461267 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -13342,10 +13342,10 @@ See the individual commands for more information."
["Priority Up" org-shiftup t]
["Priority Down" org-shiftdown t])
("TAGS and Properties"
- ["Set Tags" 'org-set-tags-command t]
- ["Change tag in region" 'org-change-tag-in-region (org-region-active-p)]
+ ["Set Tags" org-set-tags-command t]
+ ["Change tag in region" org-change-tag-in-region (org-region-active-p)]
"--"
- ["Set property" 'org-set-property t]
+ ["Set property" org-set-property t]
["Column view of properties" org-columns t]
["Insert Column View DBlock" org-insert-columns-dblock t])
("Dates and Scheduling"
bug reassigned from package `emacs' to `emacs,org-mode'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 18 Dec 2008 19:00:04 GMT)
Full text and
rfc822 format available.
Forcibly Merged 1612 1632.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 18 Dec 2008 19:00:04 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Fri, 16 Jan 2009 15:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 216 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.