From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Question about tracking TODO state changes and M-S-ENTER Date: Thu, 28 May 2009 07:25:54 +0200 Message-ID: <81325F73-4291-4D8E-88E7-3185EF14A37F@gmail.com> References: <4A17321F.7040806@oneroad.com> <3EBA2E79-B1BD-482D-A925-89DAB32A572F@gmail.com> <4A1CFD4A.2010202@oneroad.com> <87ws82hdc4.fsf@gollum.intra.norang.ca> <4A1D9CD8.2070105@oneroad.com> <68944439-4297-490C-A911-62BF6E0FC257@gmail.com> <878wkifdvy.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9Y7z-0007FQ-7D for emacs-orgmode@gnu.org; Thu, 28 May 2009 01:26:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9Y7u-0007DI-1o for emacs-orgmode@gnu.org; Thu, 28 May 2009 01:26:06 -0400 Received: from [199.232.76.173] (port=56453 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9Y7t-0007D7-OZ for emacs-orgmode@gnu.org; Thu, 28 May 2009 01:26:01 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:59940) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9Y7t-0001rR-7x for emacs-orgmode@gnu.org; Thu, 28 May 2009 01:26:01 -0400 Received: by ewy6 with SMTP id 6so5484608ewy.42 for ; Wed, 27 May 2009 22:26:00 -0700 (PDT) In-Reply-To: <878wkifdvy.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: Keith Swartz , emacs-orgmode@gnu.org Applied, thanks (but I had trouble accessing your git repo this morning.... ------------------------- | [org-mode] Sir? git fetch bernt for-carsten | git.norang.ca[0: 99.239.148.180]: errno=Connection refused | fatal: unable to connect a socket (Connection refused) | [org-mode] Sir? ------------------------ - Carsten On May 27, 2009, at 11:13 PM, Bernt Hansen wrote: > Carsten Dominik writes: > >> Therefore, just so that you hate it more (:-) I have also introduced >> yet another variable >> `org-treat-S-cursor-todo-seletion-as-state-change', and I will set it >> (personally) to nil. Then I can use S-right to flip through states >> without taking notes, and C-c C-t to switch to a state with taking a >> note. >> >> I call this not inconsistency or a bug, I'd call it choice :-) > > \o/ > > I'll use this right away! Thanks Carsten! Sometimes when creating a > subtask under another subtask that is in a PROJECT/WAITING/SOMEDAY > state > the new task gets the same todo state keyword as the task above. > Changing the keyword to TODO prompts for a note which I want to avoid. > This will work great! > > I've attached a patch that fixes a typo in the new variable name. > > -Bernt > > ------------------------------------------------------------------------ > > From dd2382a293a8980dbb23685568b31eab36ae5772 Mon Sep 17 00:00:00 2001 > From: Bernt Hansen > Date: Wed, 27 May 2009 17:11:15 -0400 > Subject: [PATCH] Fix typo: seletion -> selection in variable name > > --- > This patch is available at git://git.norang.ca/org-mode.git for- > carsten > > doc/org.texi | 4 ++-- > lisp/ChangeLog | 4 ++-- > lisp/org.el | 6 +++--- > 3 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/doc/org.texi b/doc/org.texi > index 5211fa1..61c0210 100644 > --- a/doc/org.texi > +++ b/doc/org.texi > @@ -3195,14 +3195,14 @@ more information. > > @kindex S-@key{right} > @kindex S-@key{left} > -@vindex org-treat-S-cursor-todo-seletion-as-state-change > +@vindex org-treat-S-cursor-todo-selection-as-state-change > @item S-@key{right} > @itemx S-@key{left} > Select the following/preceding TODO state, similar to cycling. Useful > mostly if more than two TODO states are possible (@pxref{TODO > extensions}). See also @ref{Conflicts} for a discussion of the > interaction > with @code{shift-selection-mode}. See also the variable > -@code{org-treat-S-cursor-todo-seletion-as-state-change}. > +@code{org-treat-S-cursor-todo-selection-as-state-change}. > @kindex C-c C-v > @kindex C-c / t > @cindex sparse tree, for TODO > diff --git a/lisp/ChangeLog b/lisp/ChangeLog > index 39fd869..7ac6578 100755 > --- a/lisp/ChangeLog > +++ b/lisp/ChangeLog > @@ -1,12 +1,12 @@ > 2009-05-27 Carsten Dominik > > * org.el (org-treat-insert-todo-heading-as-state-change) > - (org-treat-S-cursor-todo-seletion-as-state-change): New > + (org-treat-S-cursor-todo-selection-as-state-change): New > variables. > (org-insert-todo-heading): Honor > `org-treat-insert-todo-heading-as-state-change'. > (org-shiftright, org-shiftleft): Honor > - `org-treat-S-cursor-todo-seletion-as-state-change'. > + `org-treat-S-cursor-todo-selection-as-state-change'. > (org-inhibit-logging): New variable. > > 2009-05-23 Carsten Dominik > diff --git a/lisp/org.el b/lisp/org.el > index 256b5b2..bc81a95 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -1825,7 +1825,7 @@ be inserted directly, and no logging will take > place." > :group 'org-todo > :type 'boolean) > > -(defcustom org-treat-S-cursor-todo-seletion-as-state-change t > +(defcustom org-treat-S-cursor-todo-selection-as-state-change t > "Non-nil means, switching TODO states with S-cursor counts as > state change. > This is the default behavior. However, setting this to nil allows a > convenient way to select a TODO state and bypass any logging > associated > @@ -14533,7 +14533,7 @@ Depending on context, this does one of the > following: > ((and (not (eq org-support-shift-select 'always)) > (org-on-heading-p)) > (let ((org-inhibit-logging > - (not org-treat-S-cursor-todo-seletion-as-state-change))) > + (not org-treat-S-cursor-todo-selection-as-state-change))) > (org-call-with-arg 'org-todo 'right))) > ((or (and org-support-shift-select > (not (eq org-support-shift-select 'always)) > @@ -14565,7 +14565,7 @@ Depending on context, this does one of the > following: > ((and (not (eq org-support-shift-select 'always)) > (org-on-heading-p)) > (let ((org-inhibit-logging > - (not org-treat-S-cursor-todo-seletion-as-state-change))) > + (not org-treat-S-cursor-todo-selection-as-state-change))) > (org-call-with-arg 'org-todo 'left))) > ((or (and org-support-shift-select > (not (eq org-support-shift-select 'always)) > -- > 1.6.3.9.g6345 >