From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: log on state change Date: Mon, 03 Sep 2007 20:56:54 +0100 Message-ID: References: <87abs6j0av.fsf@myhost.localdomain> <0ae951a333c90e9d17ccadcfb9e172ee@science.uva.nl> <8e4043639cf71fc8b0ea77cfff4c9a58@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISI31-0002yy-ST for emacs-orgmode@gnu.org; Mon, 03 Sep 2007 15:57:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISI30-0002yF-3S for emacs-orgmode@gnu.org; Mon, 03 Sep 2007 15:57:22 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISI2z-0002yA-Sp for emacs-orgmode@gnu.org; Mon, 03 Sep 2007 15:57:21 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ISI2z-0006z7-6V for emacs-orgmode@gnu.org; Mon, 03 Sep 2007 15:57:21 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ISI2m-0006rq-9I for emacs-orgmode@gnu.org; Mon, 03 Sep 2007 21:57:08 +0200 Received: from accountslaptop.gradunion.cam.ac.uk ([193.60.92.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Sep 2007 21:57:08 +0200 Received: from sdl.web by accountslaptop.gradunion.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Sep 2007 21:57:08 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 2007-09-03 19:32 +0100, Carsten Dominik wrote: >>> Yes, since 5.07, you can mis-use the TAGS interface to directly >>> switch to TODO states. Check the release notes. >> >> Is this temporary until a better solution is found? > > Not at all, I really cannot think of a better solution. > The only thing preliminary about this would be the setup > using Emacs Lisp. I guess the in-buffer setup like > > #+SEQ_TODO: TODO(t).... > > is nice and similar to TAGS, so that will stay. Using tags to setup todo looks unclean to me. However it is very nice to be able to set up todo using an interface similar to tags. And since the argument to org-todo has become completely useless because of this feature. I propose the following: C-c C-t (`org-todo') brings up an interface similar to the one for org-set-tags but only for todos (C-c C-c only for tags) C-u C-c C-t cycle through todo states i.e. the old behavior. make an user option to swap C-c C-t and C-u C-c C-t i.e. C-c C-t cycle through todo states automatically shortcut for todos: - if it is specified by user then use it - otherwise, use the first letter of the name of the todos - if the first letter has been taken, use the subsequent letter - continue until a unique letter is found For example, When `C-c C-t', a buffer shows up: -*- buffer -*- => (T)odo (W)aiting (D)elegated (C)ancelled (M)aybe (D)one -*- buffer -*- 'C-n' and 'C-p' can move to the next/previous todo state The arrow indicates the current state. Only shortcut in the row indicated by the 'arrow' is in effect thus allows (D)one to (D)elegated to co-exist. Some of the points might be also helpful for tags. HTH, -- Leo (GPG Key: 9283AA3F) Gnus is one component of the Emacs operating system.