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 <carsten.domi...@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 <be...@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.domi...@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.domi...@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
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode