unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53265: 26.3; Doc of `with-output-to-temp-buffer' etc.: Say there's no undo.
@ 2022-01-14 18:01 Drew Adams
  2022-01-15  8:31 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2022-01-14 18:01 UTC (permalink / raw)
  To: 53265

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''






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#53265: 26.3; Doc of `with-output-to-temp-buffer' etc.: Say there's no undo.
  2022-01-14 18:01 bug#53265: 26.3; Doc of `with-output-to-temp-buffer' etc.: Say there's no undo Drew Adams
@ 2022-01-15  8:31 ` Lars Ingebrigtsen
  2022-01-15 21:19   ` bug#53265: [External] : " Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-15  8:31 UTC (permalink / raw)
  To: Drew Adams; +Cc: 53265

Drew Adams <drew.adams@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#53265: [External] : Re: bug#53265: 26.3; Doc of `with-output-to-temp-buffer' etc.: Say there's no undo.
  2022-01-15  8:31 ` Lars Ingebrigtsen
@ 2022-01-15 21:19   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2022-01-15 21:19 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 53265@debbugs.gnu.org

> > 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)






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-15 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 18:01 bug#53265: 26.3; Doc of `with-output-to-temp-buffer' etc.: Say there's no undo Drew Adams
2022-01-15  8:31 ` Lars Ingebrigtsen
2022-01-15 21:19   ` bug#53265: [External] : " Drew Adams

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).