$ diff -bu org.el ../org-4.52/org.el --- org.el 2006-10-31 00:12:14.075793700 -0800 +++ ../org-4.52/org.el 2006-10-04 02:14:17.000000000 -0700 @@ -5487,7 +5487,6 @@ (format-time-string (car org-time-stamp-formats) time)) (setq what nil)) (save-excursion - (save-restriction (let (col list elt ts buffer-invisibility-spec) (org-back-to-heading t) (looking-at (concat outline-regexp "\\( *\\)[^\r\n]*")) @@ -5537,7 +5536,7 @@ (widen) (if (looking-at "[ \t]+\r?\n") (replace-match "")) - ts)))) + ts))) (defvar org-log-note-marker (make-marker)) (defvar org-log-note-purpose nil)
This will make changing TODO states or assigining deadlines work in narrowed buffers, e.g., on a project list. Alex. _______________________________________________ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode