emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Org-mode agenda and category text-property.


From: Matt Hodges
Subject: Org-mode agenda and category text-property.
Date: Fri, 09 Feb 2007 14:39:52 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

In GNU Emacs 22.0.93.3 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-02-09 on escpc40
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--with-gtk''

I tried to use `C-u C-x =' on some propertised text in an *Org Agenda*
buffer (a TODO note), and this resulted in an error with the following
backtrace:

    Debugger entered--Lisp error: (wrong-type-argument symbolp "Notes")
      symbol-name("Notes")
      describe-property-list((org-agenda-type agenda day 732718 fontified nil 
category "Notes" tags nil prefix-length 26 time-of-day nil dotime 
#("<2007-02-11 Sun>" 0 16 (fontified nil)) face org-warning org-not-done-regexp 
"\\<\\(TODO\\)\\>" mouse-face highlight keymap (keymap (mouse-3 . 
org-agenda-show-mouse) (mouse-2 . org-agenda-goto-mouse) (left . 
org-agenda-earlier) (right . org-agenda-later) (S-down . 
org-agenda-priority-down) (S-up . org-agenda-priority-up) (45 . 
org-agenda-priority-down) (88 . org-clock-cancel) (79 . org-clock-out) (73 . 
org-agenda-clock-in) (43 . org-agenda-priority-up) (72 . org-agenda-holidays) 
(104 . org-agenda-holidays) (83 . org-agenda-sunrise-sunset) (77 . 
org-agenda-phases-of-moon) (109 . org-agenda-phases-of-moon) (67 . 
org-agenda-convert-date) (99 . org-agenda-goto-calendar) (105 . 
org-agenda-diary-entry) (44 . org-agenda-priority) (16 . 
org-agenda-previous-date-line) (14 . org-agenda-next-date-line) (112 . 
previous-line) (110 . next-line) (84 . org-agenda-show-tags) (80 . 
org-agenda-show-priority) (115 . org-save-all-org-buffers) (120 . 
org-agenda-exit) (113 . org-agenda-quit) (114 . org-agenda-redo) (103 . 
org-agenda-toggle-time-grid) (68 . org-agenda-toggle-diary) (108 . 
org-agenda-log-mode) (102 . org-agenda-follow-mode) (48 . digit-argument) (57 . 
digit-argument) (56 . digit-argument) (55 . digit-argument) (54 . 
digit-argument) (53 . digit-argument) (52 . digit-argument) (51 . 
digit-argument) (50 . digit-argument) (49 . digit-argument) (62 . 
org-agenda-date-prompt) (S-left . org-agenda-date-earlier) (S-right . 
org-agenda-date-later) (119 . org-agenda-week-view) (100 . org-agenda-day-view) 
...) help-echo "mouse-2 or RET jump to org file ~/Org/Notes.org" org-marker 
#<marker at 271 in Notes.org> org-hd-marker #<marker at 229 in Notes.org> 
undone-face org-warning done-face org-done priority 1100))
      describe-text-properties-1(304 #<buffer  *text-props*>)
      describe-text-properties(304 #<buffer  *text-props*>)
      describe-char(304)
      what-cursor-position((4))
      call-interactively(what-cursor-position)

This is due to the `category' key with value "Notes", which trips up
on symbol-name in describe-property-list:

      (cond ((eq key 'category)
             (insert-text-button
              (symbol-name value)

Since category is documented as special:

    `category'
         If a character has a `category' property, we call it the
         "category" of the character.  It should be a symbol.  The
         properties of the symbol serve as defaults for the properties of
         the character.

I guess it's an Org-mode bug.

Thanks,

Matt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]