From: Stefan Monnier <monnier@iro.umontreal.ca>
To: martin rudalics <rudalics@gmx.at>
Cc: Stephen Berman <Stephen.Berman@gmx.net>, emacs-devel@gnu.org
Subject: Re: Unrecoverable data loss
Date: Mon, 19 May 2008 21:33:42 -0400 [thread overview]
Message-ID: <jwv7idpiwud.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <48309ED3.3020701@gmx.at> (martin rudalics's message of "Sun, 18 May 2008 23:25:39 +0200")
> (defun help-buffer ()
> (buffer-name ;for with-output-to-temp-buffer
> (if help-xref-following
> (current-buffer)
> (get-buffer-create "*Help*"))))
> hence turning your current buffer into a help buffer thus clearing its
> contents and undo-list, making it read-only, ...
> Maybe `help-buffer' should refuse to return a buffer if it is not
> read-only, `buffer-undo-list' is not t, ...
Yes, I guess we should sanity-check before obeying help-xref-following.
Stefan
next prev parent reply other threads:[~2008-05-20 1:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-18 18:21 Unrecoverable data loss Stephen Berman
2008-05-18 21:25 ` martin rudalics
2008-05-20 1:33 ` Stefan Monnier [this message]
2008-05-19 6:40 ` Richard M Stallman
2008-05-19 8:34 ` Stephen Berman
2008-05-19 16:26 ` Drew Adams
2008-05-20 6:00 ` tomas
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv7idpiwud.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=Stephen.Berman@gmx.net \
--cc=emacs-devel@gnu.org \
--cc=rudalics@gmx.at \
/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.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).