From: Alex Bochannek <alexb@juniper.net>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: org-add-planning missing a save-restriction.
Date: Tue, 31 Oct 2006 00:17:20 -0800 [thread overview]
Message-ID: <uzmbc527j.fsf@juniper.net> (raw)
$ 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.
next reply other threads:[~2006-10-31 8:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-31 8:17 Alex Bochannek [this message]
2006-10-31 8:26 ` org-add-planning missing a save-restriction Alex Bochannek
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=uzmbc527j.fsf@juniper.net \
--to=alexb@juniper.net \
--cc=emacs-orgmode@gnu.org \
/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).