GNU bug report logs - #53265
26.3; Doc of `with-output-to-temp-buffer' etc.: Say there's no undo.

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 14 Jan 2022 18:03:01 UTC

Severity: minor

Found in version 26.3

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53265 in the body.
You can then email your comments to 53265 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#53265; Package emacs. (Fri, 14 Jan 2022 18:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 14 Jan 2022 18:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 26.3; Doc of `with-output-to-temp-buffer' etc.: Say there's no undo.
Date: Fri, 14 Jan 2022 18:01:05 +0000
Please document (in doc strings and (if mentioned there) in Elisp
manual) that `with-output-to-temp-buffer' and the like have no undo.

This applies to anything that sets `buffer-undo-list' to t and leaves it
with that value.  It applies to function `temp-buffer-window-setup' and
macros and functions that use it.

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.19043
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53265; Package emacs. (Sat, 15 Jan 2022 08:32:01 GMT) Full text and rfc822 format available.

Message #8 received at 53265 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 53265 <at> debbugs.gnu.org
Subject: Re: bug#53265: 26.3; Doc of `with-output-to-temp-buffer' etc.: Say
 there's no undo.
Date: Sat, 15 Jan 2022 09:31:10 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> Please document (in doc strings and (if mentioned there) in Elisp
> manual) that `with-output-to-temp-buffer' and the like have no undo.

I've now done this in Emacs 29.

(These macros all have unfortunate names -- they sound much more general
than they are, like variations on `with-temp-buffer', but have much more
specific use cases.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 53265 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 15 Jan 2022 08:32:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53265; Package emacs. (Sat, 15 Jan 2022 21:20:02 GMT) Full text and rfc822 format available.

Message #13 received at 53265 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "53265 <at> debbugs.gnu.org" <53265 <at> debbugs.gnu.org>
Subject: RE: [External] : Re: bug#53265: 26.3; Doc of
 `with-output-to-temp-buffer' etc.: Say there's no undo.
Date: Sat, 15 Jan 2022 21:19:20 +0000
> > Please document (in doc strings and (if mentioned there) in Elisp
> > manual) that `with-output-to-temp-buffer' and the like have no undo.
> 
> I've now done this in Emacs 29.

Thanks.

> (These macros all have unfortunate names -- they sound much more general
> than they are, like variations on `with-temp-buffer', but have much more
> specific use cases.)

Agreed.  Hysterical raisins.

See this:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=16038#113,

which in turn points to bugs 8368, 17109,
17397, 17146 (and 16038)





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 13 Feb 2022 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.