all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org, wohler@newt.com,
	Luc Teirlinck <teirllm@dms.auburn.edu>,
	emacs-devel@gnu.org
Subject: Re: with-temp-buffer and undo
Date: Fri, 12 May 2006 09:56:23 -0400	[thread overview]
Message-ID: <87fyjftkim.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4464686F.7050101@soem.dk> (Lars Hansen's message of "Fri, 12 May 2006 12:50:23 +0200")

> !     `(let ((,temp-buffer (generate-new-buffer " *temp*"))
> !            (buffer-undo-list t))

Buffer whose name start with a space have their undo disabled by default.
I.e. someone thought of that years ago already,


        Stefan

  parent reply	other threads:[~2006-05-12 13:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <24090.1146238861@olgas.newt.com>
     [not found] ` <E1FZupW-00010U-IX@fencepost.gnu.org>
     [not found]   ` <87slngh3wu.fsf@olgas.newt.com>
     [not found]     ` <E1FeP3s-0002OD-U0@fencepost.gnu.org>
     [not found]       ` <200605120450.k4C4ovkM019797@jane.dms.auburn.edu>
     [not found]         ` <44643259.3050302@soem.dk>
2006-05-12 10:50           ` with-temp-buffer and undo [was: Big desktop undo buffer crashes Emacs] Lars Hansen
2006-05-12 11:28             ` Eli Zaretskii
2006-05-12 11:41             ` Andreas Schwab
2006-05-12 12:03               ` Lars Hansen
2006-05-12 13:56             ` Stefan Monnier [this message]
2006-05-12 17:30               ` with-temp-buffer and undo Lars Hansen
2006-05-12 17:47               ` Lars Hansen
2006-05-12 17:50                 ` Bill Wohler
2006-05-21 20:36                   ` Bill Wohler
2006-05-13  4:53                 ` Richard Stallman
2006-05-13  4:52             ` with-temp-buffer and undo [was: Big desktop undo buffer crashes Emacs] 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=87fyjftkim.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=teirllm@dms.auburn.edu \
    --cc=wohler@newt.com \
    /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.