all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Org Todo Keywords not recognized/treated as keywords
@ 2010-11-03 15:08 Kristina Spurgin
  2010-11-03 15:53 ` Giovanni Ridolfi
  0 siblings, 1 reply; 5+ messages in thread
From: Kristina Spurgin @ 2010-11-03 15:08 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I'm running into a problem with todo keywords.

Plain TODO works fine:
   * To do list
   ** TODO Do this thing

STARTED works as expected, as does DONE.

WAITING, DELEGATED, SOMEDAY, SKIPPED, and CANCELLED are the problematic 
ones. They all behave the same way. I'll use WAITING as an example.

It works fine when I switch to WAITING (it prompts for a note/comment):

   * To do list
   ** WAITING  Do this thing
      - State "WAITING "   from "TODO"       [2010-11-03 Wed 10:45] \\
        ...waiting... waiting...

The problem is when I switch to another status from WAITING (or 
DELEGATED, etc.):

   * To do list
   ** DONE WAITING  Do this thing
      - State "DONE"       from ""           [2010-11-03 Wed 10:46]
      - State "WAITING "   from "TODO"       [2010-11-03 Wed 10:45] \\
        ...waiting... waiting...

It is as though WAITING isn't recognized as a todo keyword. DONE is 
prepended to the item, but WAITING still appears. The state says "Done" 
from "".

Here is how my todo keywords are set up:

Org Todo Keywords:
INS DEL Cons-cell:
             Interpretation: Value Menu Sequence (cycling hits every state)
             Repeat:
             INS DEL Keyword: TODO(t)
             INS DEL Keyword: STARTED(a!)
             INS DEL Keyword: WAITING (w@)
             INS DEL Keyword: DELEGATED (D!)
             INS DEL Keyword: SOMEDAY (s)
             INS DEL Keyword: |
             INS DEL Keyword: SKIPPED (k@)
             INS DEL Keyword: CANCELLED (c@)
             INS DEL Keyword: DONE(d!)

I don't see any other variables/settings that look relevant.

Org version is 7.01h.

In the copy/pastes in this mail, you don't see the faces. I have noticed 
that:
- TODO and STARTED (which work fine) are highlighted red and bold
- DONE is highlighted blue (and works as expected -- if I switch back to 
STARTED from DONE, DONE is replaced with STARTED and the state is: State 
"STARTED"    from "DONE"
- WAITING, DELEGATED, SOMEDAY, SKIPPED, and CANCELLED do not work as 
expected, and are shown in the normal text face.

Faces customizations I have made:
Org Todo Keyword Faces = Standard
Org TODO = highlighted red, bold
Org Done = highlighted blue
Org Special Keyword = blue text, italic

Not sure if faces setting could be causing the problem somehow, or if 
the faces aren't being applied because for some reason these aren't 
being recognized as keywords at all.

Any ideas on what is going on here and how to fix it?

Thank you,
Kristina

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Org Todo Keywords not recognized/treated as keywords
  2010-11-03 15:08 Org Todo Keywords not recognized/treated as keywords Kristina Spurgin
@ 2010-11-03 15:53 ` Giovanni Ridolfi
  2010-11-03 16:26   ` Kristina Spurgin
  0 siblings, 1 reply; 5+ messages in thread
From: Giovanni Ridolfi @ 2010-11-03 15:53 UTC (permalink / raw)
  To: kristina; +Cc: emacs-orgmode

Kristina Spurgin <kristina@infomuse.net> writes:

 Hi, Kristina,
>
> I'm running into a problem with todo keywords.

what's the value of org-todo-keywords ?

C-h v org-todo-keywords

In my setup: Its value is 
((sequence "TODO" "DONE"))

You can change the value of the variable in 
a "per file" basis

#+TODO: TODO FEEDBACK VERIFY | DONE CANCELED

(manual: Setting up keywords for individual files)

or globally in  your .emacs

 (setq org-todo-keywords
           '((sequence "TODO" "|" "DONE")
             (sequence "REPORT" "BUG" "KNOWNCAUSE" "|" "FIXED")
             (sequence "|" "CANCELED")))

(manual: Multiple keyword sets in one file)

> It is as though WAITING isn't recognized as a todo keyword. 

Have you changed the value of TODO's and pressed C-c C-c on the 

#+TODO: 

line?

Did you run the command "M-x org-mode-restart" after changing
the value of TODO?

Could you, please, post a minimal file as an example of this strange
behaviour?,  
Please post a *complete file* with all the #+ lines, and also
the value of org-todo-keywords.

cheers,
Giovanni

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Org Todo Keywords not recognized/treated as keywords
  2010-11-03 15:53 ` Giovanni Ridolfi
@ 2010-11-03 16:26   ` Kristina Spurgin
  2010-11-03 16:47     ` Giovanni Ridolfi
  0 siblings, 1 reply; 5+ messages in thread
From: Kristina Spurgin @ 2010-11-03 16:26 UTC (permalink / raw)
  To: Giovanni Ridolfi, emacs-orgmode

Hi Giovanni,

Thanks for your response.

 > what's the value of org-todo-keywords ?
 >
 > C-h v org-todo-keywords

org-todo-keywords is a variable defined in `org.el'.
Its value is
((sequence "TODO(t)" "STARTED(a!)" "WAITING (w@)" "DELEGATED (D!)" 
"SOMEDAY (s)" "|" "SKIPPED (k@)" "CANCELLED (c@)" "DONE(d!)"))

 > You can change the value of the variable in
 > a "per file" basis
 >
 > #+TODO: TODO FEEDBACK VERIFY | DONE CANCELED

I do not have any per-file variables set except for archive locations, 
like:
#+ARCHIVE: %s_archive::* Log

 > Did you run the command "M-x org-mode-restart" after changing
 > the value of TODO?

I've had the problem for months---just now getting around to asking 
about it, since I can manually correct the weirdness. :-) Emacs and 
Orgmode have been restarted many times while the problem persists.

 > Could you, please, post a minimal file as an example of this strange
 > behaviour?,
 > Please post a *complete file* with all the #+ lines, and also
 > the value of org-todo-keywords.

I have put a full .org file here:
http://www.infomuse.net/download/example.org

I have copied the entire contents of that file between the -=-= lines below.

Thanks,
Kristina

-=-=-=-=-=-=-=-

* To do
#+ARCHIVE: %s_archive::* Todo
** TODO [#A] Check proxy on b62875036
    DUE: <2010-11-04 Thu>
** DELEGATED  OSO Law 856$c --> 856$x
     - State "DELEGATED " from "TODO"       [2010-08-02 Mon 12:54] \\
       to wanda
Range b63604358 -- b63605454
856 |c is not ""
Change |c to |x
** DONE WAITING  [#A] MyiLibrary audiobooks - fix 856 text
    - State "DONE"       from ""           [2010-07-21 Wed 14:42]
    - State "WAITING "   from "TODO"       [2010-07-13 Tue 13:21] \\
      Requested from Wanda

-=-=-=-=-=-=-=-

On 11/3/2010 11:53 AM, Giovanni Ridolfi wrote:
> Kristina Spurgin<kristina@infomuse.net>  writes:
>
>   Hi, Kristina,
>>
>> I'm running into a problem with todo keywords.
>

>
> In my setup: Its value is
> ((sequence "TODO" "DONE"))
>
> You can change the value of the variable in
> a "per file" basis
>
> #+TODO: TODO FEEDBACK VERIFY | DONE CANCELED
>
> (manual: Setting up keywords for individual files)
>
> or globally in  your .emacs
>
>   (setq org-todo-keywords
>             '((sequence "TODO" "|" "DONE")
>               (sequence "REPORT" "BUG" "KNOWNCAUSE" "|" "FIXED")
>               (sequence "|" "CANCELED")))
>
> (manual: Multiple keyword sets in one file)
>
>> It is as though WAITING isn't recognized as a todo keyword.
>
> Have you changed the value of TODO's and pressed C-c C-c on the
>
> #+TODO:
>
> line?
>
> Did you run the command "M-x org-mode-restart" after changing
> the value of TODO?
>
> Could you, please, post a minimal file as an example of this strange
> behaviour?,
> Please post a *complete file* with all the #+ lines, and also
> the value of org-todo-keywords.
>
> cheers,
> Giovanni

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Org Todo Keywords not recognized/treated as keywords
  2010-11-03 16:26   ` Kristina Spurgin
@ 2010-11-03 16:47     ` Giovanni Ridolfi
  2010-11-03 17:09       ` Kristina Spurgin
  0 siblings, 1 reply; 5+ messages in thread
From: Giovanni Ridolfi @ 2010-11-03 16:47 UTC (permalink / raw)
  To: kristina; +Cc: emacs-orgmode

Kristina Spurgin <kristina@infomuse.net> writes:

Hi, Kristina

> org-todo-keywords is a variable defined in `org.el'.
> Its value is
> ((sequence "TODO(t)" "STARTED(a!)" "WAITING (w@)" "DELEGATED (D!)"
> "SOMEDAY (s)" "|" "SKIPPED (k@)" "CANCELLED (c@)" "DONE(d!)"))

The list has a blank space after WAITING [1], so the list is incorrect ;-)

This works: 

 (setq org-todo-keywords
         ' ((sequence "TODO(t)" "STARTED(a!)" "WAITING(w@)" "DELEGATED(D!)"
"SOMEDAY(s)" "|" "SKIPPED(k@)" "CANCELLED(c@)" "DONE(d!)")))


cheers,

Giovanni

[1] and also after delegated, someday skipped cancelled

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Org Todo Keywords not recognized/treated as keywords
  2010-11-03 16:47     ` Giovanni Ridolfi
@ 2010-11-03 17:09       ` Kristina Spurgin
  0 siblings, 0 replies; 5+ messages in thread
From: Kristina Spurgin @ 2010-11-03 17:09 UTC (permalink / raw)
  To: emacs-orgmode

Giovanni,

Ha! I knew it was going to be something obvious but apparently invisible 
to me.

Yes, this works.

Thanks a bunch. One less minor annoyance in life. :-)

-Kristina

On 11/3/2010 12:47 PM, Giovanni Ridolfi wrote:
> Kristina Spurgin<kristina@infomuse.net>  writes:
>
> Hi, Kristina
>
>> org-todo-keywords is a variable defined in `org.el'.
>> Its value is
>> ((sequence "TODO(t)" "STARTED(a!)" "WAITING (w@)" "DELEGATED (D!)"
>> "SOMEDAY (s)" "|" "SKIPPED (k@)" "CANCELLED (c@)" "DONE(d!)"))
>
> The list has a blank space after WAITING [1], so the list is incorrect ;-)
>
> This works:
>
>   (setq org-todo-keywords
>           ' ((sequence "TODO(t)" "STARTED(a!)" "WAITING(w@)" "DELEGATED(D!)"
> "SOMEDAY(s)" "|" "SKIPPED(k@)" "CANCELLED(c@)" "DONE(d!)")))
>
>
> cheers,
>
> Giovanni
>
> [1] and also after delegated, someday skipped cancelled

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-03 17:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-03 15:08 Org Todo Keywords not recognized/treated as keywords Kristina Spurgin
2010-11-03 15:53 ` Giovanni Ridolfi
2010-11-03 16:26   ` Kristina Spurgin
2010-11-03 16:47     ` Giovanni Ridolfi
2010-11-03 17:09       ` Kristina Spurgin

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.