From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Bochannek Subject: Re: org-add-planning missing a save-restriction. Date: Tue, 31 Oct 2006 00:26:07 -0800 Message-ID: References: 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 1Geown-0007RJ-4I for emacs-orgmode@gnu.org; Tue, 31 Oct 2006 03:26:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Geowl-0007Qz-5d for emacs-orgmode@gnu.org; Tue, 31 Oct 2006 03:26:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Geowk-0007Qw-W4 for emacs-orgmode@gnu.org; Tue, 31 Oct 2006 03:26:11 -0500 Received: from [207.17.137.64] (helo=colo-dns-ext2.juniper.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1Geowk-00032S-Om for emacs-orgmode@gnu.org; Tue, 31 Oct 2006 03:26:11 -0500 Received: from magenta.juniper.net (magenta.juniper.net [172.17.28.122]) by colo-dns-ext2.juniper.net (8.12.3/8.12.3) with ESMTP id k9V8Q81Z058588 for ; Tue, 31 Oct 2006 00:26:09 -0800 (PST) (envelope-from alexb@juniper.net) Received: from ALEXB-LT ([172.23.1.114]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id k9V8Q7E49070 for ; Tue, 31 Oct 2006 00:26:08 -0800 (PST) (envelope-from alexb@juniper.net) In-Reply-To: (Alex Bochannek's message of "Tue\, 31 Oct 2006 00\:17\:20 -0800") 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: emacs-orgmode Yes, yes, I did the diff backwards - it's late here :-) Alex. Alex Bochannek writes: > $ 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.