emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Set org-todo-keywords as file-local variables
Date: Tue, 07 Oct 2014 08:46:49 +0200	[thread overview]
Message-ID: <87d2a49y1y.fsf@gmail.com> (raw)


Hi List,

I set 'org-todo-keywords' as file-local variables in a file, and 'C-h v
org-todo-keywords' in that file's buffer suggests I was successfull:

,----
| org-todo-keywords is a variable defined in `org.el'.
| Its value is shown below.
| 
|   This variable's value is file-local.
| 
| Documentation: [...]
| Value:
| ((sequence "|" "E(e)" "X(x)" "C(c)" "R(r)" "M(m)"))
| 
| Original value was 
| ((sequence "TODO" "DONE"))
| 
| Local in buffer foo-test.org; global value is 
| ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!/!)")
|  (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE"))
| 
| [back]
`----

but when doing C-c C-t in that buffer, 'org-todo' still offers me the
usual selection menu based on the variable's global value.

Am I missing something here?

-- 
cheers,
Thorsten

             reply	other threads:[~2014-10-07  6:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-07  6:46 Thorsten Jolitz [this message]
2014-10-07  8:29 ` Set org-todo-keywords as file-local variables Andreas Leha
2014-10-07  8:43   ` Thorsten Jolitz

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2a49y1y.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).