Hi, I noticed the following error while playing with task priorities. If you are in an org-file and use C-c , on a headline it works fine.
If you try this after the headline (anywhere in the body of the task) you get a "Not on a heading" error but it still seems to work (it puts the appropriate priority in the heading of the task.) I like the idea of allowing the task priority to change while anywhere in the task and other than signalling the error this seems to work fine. I've attached the debug backtrace. A patch to fix this is in the following email. -Bernt Debugger entered--Lisp error: (error "Not on a heading") signal(error ("Not on a heading")) error("Not on a heading") (if (org-on-heading-p t) nil (error "Not on a heading")) (unless (org-on-heading-p t) (error "Not on a heading")) org-get-tags-string() (let* ((re ...) (current ...) (col ...) (org-setting-tags t) table current-tags inherited-tags tags p0 c0 c1 rpl) (if arg (save-excursion ... ... ...) (if just-align ... ... ...) (if org-tags-sort-function ...) (if ... ... ... ...) (beginning-of-line 1) (cond ... ... ...) (org-move-to-column col) (unless just-align ...))) org-set-tags(nil align) (progn (org-set-tags nil (quote align))) (unwind-protect (progn (org-set-tags nil ...)) (goto-line _line) (org-move-to-column _col)) (let ((_line ...) (_col ...)) (unwind-protect (progn ...) (goto-line _line) (org-move-to-column _col))) (org-preserve-lc (org-set-tags nil (quote align))) (let (current new news have remove) (save-excursion (org-back-to-heading t) (if ... ... ...) (cond ... ... ... ...) (if ... ...) (setq news ...) (if have ... ...)) (org-preserve-lc (org-set-tags nil ...)) (if remove (message "Priority removed") (message "Priority of current item set to %s" news))) org-priority() call-interactively(org-priority) _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode