From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: Set org-todo-keywords as file-local variables
Date: Tue, 07 Oct 2014 09:29:03 +0100 [thread overview]
Message-ID: <olulhosfflc.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: 87d2a49y1y.fsf@gmail.com
Hi Thorsten,
Thorsten Jolitz <tjolitz@gmail.com> writes:
> 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?
I have some files with locally set todo keywords. I use a different
interface through:
--8<---------------cut here---------------start------------->8---
#+TODO: TODO(t) WAITING(w!) | DONE(d!) CANCELED(c@/!)
--8<---------------cut here---------------end--------------->8---
Does that help?
Andreas
next prev parent reply other threads:[~2014-10-07 8:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-07 6:46 Set org-todo-keywords as file-local variables Thorsten Jolitz
2014-10-07 8:29 ` Andreas Leha [this message]
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=olulhosfflc.fsf@med.uni-goettingen.de \
--to=andreas.leha@med.uni-goettingen.de \
--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).