From: Drew Adams <drew.adams@oracle.com>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>,
Leo Liu <sdl.web@gmail.com>
Cc: 17109@debbugs.gnu.org
Subject: bug#17109: 24.4.50; REGRESSION: `with-output-to-temp-buffer' is broken
Date: Fri, 28 Mar 2014 14:45:35 -0700 (PDT) [thread overview]
Message-ID: <d19bdae0-cca1-4da3-a640-7fb790ed71aa@default> (raw)
In-Reply-To: <b4dceacc-6dca-42ce-a29f-28fd8902d74e@default>
> 5. What you must NOT do is change the behavior of the existing macro,
> so that any code that uses it breaks.
I *really* hope that someone please takes this regression seriously.
I have lots of code that defines help functions of different kinds,
and it all uses `with-output-to-temp-buffer'. And it all needs to
work across multiple Emacs versions.
For example, Bookmark+ has a command `bmkp-describe-bookmark'.
It does various things, but the first thing it does is this:
(with-output-to-temp-buffer "*Help*" (princ help-text))
That's a standard Emacs idiom, and has been so for decades.
Now it is broken. Buffer *Help* ends up in Fundamental mode.
This should not be so.
I do not understand why anyone would change the behavior of
a macro such as `with-output-to-temp-buffer'. There are plenty
of other ways to get whatever new behavior you want, without
doing that.
next prev parent reply other threads:[~2014-03-28 21:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-26 20:08 bug#17109: 24.4.50; REGRESSION: `with-output-to-temp-buffer' is broken Drew Adams
2014-03-27 0:05 ` Leo Liu
2014-03-27 1:52 ` Drew Adams
2014-03-27 9:55 ` Nicolas Richard
2014-03-27 15:09 ` Drew Adams
2014-03-28 21:45 ` Drew Adams [this message]
2014-03-29 0:58 ` Leo Liu
2014-03-29 1:39 ` Drew Adams
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=d19bdae0-cca1-4da3-a640-7fb790ed71aa@default \
--to=drew.adams@oracle.com \
--cc=17109@debbugs.gnu.org \
--cc=sdl.web@gmail.com \
--cc=theonewiththeevillook@yahoo.fr \
/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).