From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Question about tracking TODO state changes and M-S-ENTER Date: Wed, 27 May 2009 17:13:21 -0400 Message-ID: <878wkifdvy.fsf@gollum.intra.norang.ca> 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> 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 1M9QRN-0004Yr-Pg for emacs-orgmode@gnu.org; Wed, 27 May 2009 17:13:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9QRJ-0004Ya-LE for emacs-orgmode@gnu.org; Wed, 27 May 2009 17:13:36 -0400 Received: from [199.232.76.173] (port=52222 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9QRJ-0004YO-GL for emacs-orgmode@gnu.org; Wed, 27 May 2009 17:13:33 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:63337) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M9QRJ-0002In-5m for emacs-orgmode@gnu.org; Wed, 27 May 2009 17:13:33 -0400 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: Carsten Dominik Cc: Keith Swartz , emacs-orgmode@gnu.org 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