From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: Set org-todo-keywords as file-local variables Date: Tue, 07 Oct 2014 09:29:03 +0100 Message-ID: References: <87d2a49y1y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbQ97-0005dc-HK for emacs-orgmode@gnu.org; Tue, 07 Oct 2014 04:29:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XbQ90-0005Xc-1b for emacs-orgmode@gnu.org; Tue, 07 Oct 2014 04:29:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:48288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbQ8z-0005XS-RF for emacs-orgmode@gnu.org; Tue, 07 Oct 2014 04:29:17 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XbQ8y-0007YF-IU for emacs-orgmode@gnu.org; Tue, 07 Oct 2014 10:29:16 +0200 Received: from vpn-2071.gwdg.de ([134.76.2.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Oct 2014 10:29:16 +0200 Received: from andreas.leha by vpn-2071.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Oct 2014 10:29:16 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Thorsten, Thorsten Jolitz 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