Przeglądaj źródła

Cleanup and typo fixes.

Carsten Dominik 18 lat temu
rodzic
commit
32a2b5712f
2 zmienionych plików z 23 dodań i 15 usunięć
  1. 0 5
      org.el
  2. 23 10
      org.texi

+ 0 - 5
org.el

@@ -21966,11 +21966,6 @@ HH:MM."
 	      (insert (format org-agenda-todo-keyword-format s)))))
 	      (insert (format org-agenda-todo-keyword-format s)))))
       (setq re (concat (get-text-property 0 'org-todo-regexp x))
       (setq re (concat (get-text-property 0 'org-todo-regexp x))
 	    pl (get-text-property 0 'prefix-length x))
 	    pl (get-text-property 0 'prefix-length x))
-;      (and re (equal (string-match (concat "\\(\\.*\\)" re) x (or pl 0)) pl)
-;	   (add-text-properties
-;	    (or (match-end 1) (match-end 0)) (match-end 0)
-;	    (list 'face (org-get-todo-face (match-string 2 x)))
-;	    x))
       (when (and re
       (when (and re
 		 (equal (string-match (concat "\\(\\.*\\)" re "\\( +\\)")
 		 (equal (string-match (concat "\\(\\.*\\)" re "\\( +\\)")
 				      x (or pl 0)) pl))
 				      x (or pl 0)) pl))

+ 23 - 10
org.texi

@@ -1015,6 +1015,12 @@ If you would like to have a special ARCHIVE location for a single entry
 or a (sub)tree, give the entry an @code{:ARCHIVE:} property with the
 or a (sub)tree, give the entry an @code{:ARCHIVE:} property with the
 location as the value (@pxref{Properties and columns}).
 location as the value (@pxref{Properties and columns}).
 
 
+When a subtree is moved, it receives a number of special properties that
+record context information like the file from where the entry came, it's
+outline path the archiving time etc.  Configure the variable
+@code{org-archive-save-context-info} to adjust the amount of information
+added.
+
 @node Sparse trees, Plain lists, Archiving, Document structure
 @node Sparse trees, Plain lists, Archiving, Document structure
 @section Sparse trees
 @section Sparse trees
 @cindex sparse trees
 @cindex sparse trees
@@ -2735,10 +2741,12 @@ With this setup, the command @kbd{C-c C-t} will cycle an entry from TODO
 to FEEDBACK, then to VERIFY, and finally to DONE and DELEGATED.  You may
 to FEEDBACK, then to VERIFY, and finally to DONE and DELEGATED.  You may
 also use a prefix argument to quickly select a specific state.  For
 also use a prefix argument to quickly select a specific state.  For
 example @kbd{C-3 C-c C-t} will change the state immediately to VERIFY.
 example @kbd{C-3 C-c C-t} will change the state immediately to VERIFY.
-If you define many keywords, you can use in-buffer completion (see
-@ref{Completion}) to insert these words into the buffer.  Changing a
-todo state can be logged with a timestamp, see @ref{Tracking TODO state
-changes} for more information.
+Or you can use @kbd{S-left} to go backward through the sequence.  If you
+define many keywords, you can use in-buffer completion
+(@pref{Completion}) or even a special one-key selection scheme
+(@pxref{Fast access to TODO states}) to insert these words into the
+buffer.  Changing a todo state can be logged with a timestamp, see
+@ref{Tracking TODO state changes} for more information.
 
 
 @node TODO types, Multiple sets in one file, Workflow states, TODO extensions
 @node TODO types, Multiple sets in one file, Workflow states, TODO extensions
 @subsection TODO keywords as types
 @subsection TODO keywords as types
@@ -2902,6 +2910,10 @@ special faces for some of them.  This can be done using the variable
         ("CANCELED"  . (:foreground "blue" :weight bold))))
         ("CANCELED"  . (:foreground "blue" :weight bold))))
 @end lisp
 @end lisp
 
 
+While using a list with face properties as shown for CANCELED
+@emph{should} work, this does not aways seem to be the case.  If
+necessary, define a special face and use that.
+
 @page
 @page
 @node Progress logging, Priorities, TODO extensions, TODO items
 @node Progress logging, Priorities, TODO extensions, TODO items
 @section Progress Logging
 @section Progress Logging
@@ -2965,7 +2977,7 @@ after each keyword.  For example, with the setting
 
 
 @lisp
 @lisp
 (setq org-todo-keywords
 (setq org-todo-keywords
-      '((sequence "TODO(t)" "WAIT(w@@/!)" "|" "DONE(d!)" "CANCELED(c@@)")))
+  '((sequence "TODO(t)" "WAIT(w@@/!)" "|" "DONE(d!)" "CANCELED(c@@)")))
 @end lisp
 @end lisp
 
 
 @noindent
 @noindent
@@ -2977,12 +2989,13 @@ However, it will never prompt for two notes - if you have configured
 both, the state change recording note will take precedence and cancel
 both, the state change recording note will take precedence and cancel
 the @samp{Closing Note}.}, and that a special note is recorded when
 the @samp{Closing Note}.}, and that a special note is recorded when
 switching to WAIT or CANCELED.  The setting for WAIT is even more
 switching to WAIT or CANCELED.  The setting for WAIT is even more
-special: The @samp{!} after the slash means that a time stamp should be
-recorded when @i{leaving} the WAIT state.  This allows you to get a
-record when switching from WAIT back to TODO, without getting one when
-first turning an entry into a TODO.
+special: The @samp{!} after the slash means that in addition to the note
+taken when entering the state, a time stamp should be recorded when
+@i{leaving} the WAIT state.  This allows you to get a record when
+switching from WAIT back to TODO, without getting one when first turning
+an entry into a TODO.
 
 
-You can use the exact same syntax for setting logging preferencs local
+You can use the exact same syntax for setting logging preferences local
 to a buffer:
 to a buffer:
 @example
 @example
 #+SEQ_TODO: TODO(t) WAIT(w@@/!) | DONE(d!) CANCELED(c@@)
 #+SEQ_TODO: TODO(t) WAIT(w@@/!) | DONE(d!) CANCELED(c@@)