From: Glenn Morris <rgm@gnu.org>
To: rms@gnu.org
Cc: "Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>,
emacs-devel@gnu.org
Subject: Re: The *Warnings* buffer and undo
Date: Tue, 27 Mar 2007 20:47:20 -0400 [thread overview]
Message-ID: <ndfy7qmbxj.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <E1HVWVR-0006Ii-8I@fencepost.gnu.org> (Richard Stallman's message of "Sun, 25 Mar 2007 13:27:49 -0400")
Richard Stallman wrote:
> Does the *Warnings* buffer really need to save undo info? Why not set
> buffer-undo-list to t in this buffer?
>
> I agree completely. Would someone please do that?
Do you mean this:
*** warnings.el 21 Jan 2007 02:44:23 -0000 1.11
--- warnings.el 28 Mar 2007 00:47:05 -0000
***************
*** 237,242 ****
--- 237,243 ----
(level-info (assq level warning-levels))
start end)
(with-current-buffer buffer
+ (let ((buffer-undo-list t))
(goto-char (point-max))
(when (and warning-series (symbolp warning-series))
(setq warning-series
***************
*** 260,266 ****
(setq end (point))
(when (and (markerp warning-series)
(eq (marker-buffer warning-series) buffer))
! (goto-char warning-series)))
(if (nth 2 level-info)
(funcall (nth 2 level-info)))
(if noninteractive
--- 261,267 ----
(setq end (point))
(when (and (markerp warning-series)
(eq (marker-buffer warning-series) buffer))
! (goto-char warning-series))))
(if (nth 2 level-info)
(funcall (nth 2 level-info)))
(if noninteractive
Maybe you want this too, I don't know:
*** bytecomp.el 26 Mar 2007 03:30:53 -0000 2.196
--- bytecomp.el 28 Mar 2007 00:48:18 -0000
***************
*** 1011,1016 ****
--- 1011,1017 ----
(set-buffer (get-buffer-create "*Compile-Log*"))
(goto-char (point-max))
(let* ((inhibit-read-only t)
+ (buffer-undo-list t)
(dir (and
byte-compile-current-file
(file-name-directory
byte-compile-current-file)))
(was-same (equal
default-directory dir))
next prev parent reply other threads:[~2007-03-28 0:47 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-24 20:01 The *Warnings* buffer and undo Lennart Borgman (gmail)
2007-03-25 17:27 ` Richard Stallman
2007-03-28 0:47 ` Glenn Morris [this message]
2007-03-28 19:36 ` David Kastrup
2007-03-28 20:52 ` Glenn Morris
2007-03-29 17:59 ` Richard Stallman
2007-03-29 18:35 ` David Kastrup
2007-03-30 12:42 ` Richard Stallman
2007-03-30 19:18 ` Glenn Morris
2007-03-30 19:53 ` Lennart Borgman (gmail)
2007-03-31 7:20 ` Richard Stallman
2007-03-31 19:41 ` Glenn Morris
2007-03-31 23:21 ` Richard Stallman
2007-03-29 22:07 ` Miles Bader
2007-03-30 21:23 ` Richard Stallman
2007-03-30 21:45 ` Glenn Morris
2007-03-30 22:50 ` Miles Bader
2007-03-31 20:43 ` Richard Stallman
2007-04-01 0:22 ` Miles Bader
2007-04-01 0:44 ` Miles Bader
2007-03-29 15:32 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ndfy7qmbxj.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
--cc=rms@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.