From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: merging per-file (or heading) TODO sequences Date: Sun, 21 Apr 2013 09:22:17 -0700 Message-ID: <87zjwram6e.fsf@berkeley.edu> References: <8761zgxnda.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTwzV-0000dj-Em for emacs-orgmode@gnu.org; Sun, 21 Apr 2013 12:19:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTwzU-0006gW-9d for emacs-orgmode@gnu.org; Sun, 21 Apr 2013 12:19:49 -0400 Received: from plane.gmane.org ([80.91.229.3]:57337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTwzU-0006gP-3S for emacs-orgmode@gnu.org; Sun, 21 Apr 2013 12:19:48 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UTwzT-0000xb-2t for emacs-orgmode@gnu.org; Sun, 21 Apr 2013 18:19:47 +0200 Received: from c-67-164-33-170.hsd1.ca.comcast.net ([67.164.33.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Apr 2013 18:19:47 +0200 Received: from richard.lawrence by c-67-164-33-170.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Apr 2013 18:19:47 +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 Eric, Eric Abrahamsen writes: > I could have sworn I've done this successfully before, but... > > I need a special sequence of TODO keywords for one file -- actually just > one headline in particular. I thought I remembered this used to be > possible, but it doesn't seem to be anymore. > > Setting #+SEQ_TODO: FOO | BAR at the top of the file actually > overwrites the existing value of `org-todo-keywords' for that file. In > this case I'd like to either: > > 1. Create this sequence for a single subtree (it's okay if it clobbers > the global value of `org-todo-keywords', so long as it's *only* for this > subtree), or > > 2. Set the new sequence at the top of the file, but merge this sequence > with the global value of `org-todo-keywords'. > Not sure if this is exactly what you want, but you can have multiple #+SEQ_TODO lines at the top of your file, e.g.: #+SEQ_TODO: TODO INPROGRESS WAITING | DONE CANCELED #+SEQ_TODO: FIND PRINT READ NOTES | DONE CANCELED Then trees will use the different sequences depending on which state you place them in initially. Best, Richard