From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Keith Swartz <gnu@oneroad.com>, emacs-orgmode@gnu.org
Subject: Re: Question about tracking TODO state changes and M-S-ENTER
Date: Wed, 27 May 2009 17:13:21 -0400 [thread overview]
Message-ID: <878wkifdvy.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: 68944439-4297-490C-A911-62BF6E0FC257@gmail.com
Carsten Dominik <carsten.dominik@gmail.com> 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 <bernt@norang.ca>
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 <carsten.dominik@gmail.com>
* 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 <carsten.dominik@gmail.com>
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
next prev parent reply other threads:[~2009-05-27 21:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-22 23:15 Question about tracking TODO state changes and M-S-ENTER Keith Swartz
2009-05-26 8:23 ` Manish
2009-05-26 8:46 ` Keith Swartz
2009-05-26 13:51 ` Carsten Dominik
2009-05-26 14:18 ` Manish
2009-05-27 8:43 ` Keith Swartz
2009-05-27 13:42 ` Bernt Hansen
2009-05-27 14:54 ` Sebastian Rose
2009-05-27 20:04 ` Keith Swartz
2009-05-27 20:59 ` Carsten Dominik
2009-05-27 21:13 ` Bernt Hansen [this message]
2009-05-28 5:25 ` Carsten Dominik
2009-05-28 13:39 ` Bernt Hansen
2009-05-27 22:48 ` Keith Swartz
2009-05-27 19:18 ` Carsten Dominik
2009-05-27 20:10 ` Keith Swartz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878wkifdvy.fsf@gollum.intra.norang.ca \
--to=bernt@norang.ca \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=gnu@oneroad.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).