From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: with-temp-buffer and undo Date: Sun, 21 May 2006 13:36:01 -0700 Organization: Newt Software Message-ID: <87odxr9kum.fsf@olgas.newt.com> References: <24090.1146238861@olgas.newt.com> <87slngh3wu.fsf@olgas.newt.com> <200605120450.k4C4ovkM019797@jane.dms.auburn.edu> <44643259.3050302@soem.dk> <4464686F.7050101@soem.dk> <87fyjftkim.fsf-monnier+emacs@gnu.org> <4464CA37.3020208@soem.dk> <2147.1147456252@olgas.newt.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1148244957 28803 80.91.229.2 (21 May 2006 20:55:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 May 2006 20:55:57 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 21 22:55:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fhuxm-0008ID-KZ for ged-emacs-devel@m.gmane.org; Sun, 21 May 2006 22:55:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fhuxk-0007JV-Me for ged-emacs-devel@m.gmane.org; Sun, 21 May 2006 16:55:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fhuxa-0007JP-Is for emacs-devel@gnu.org; Sun, 21 May 2006 16:55:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FhuxX-0007In-A9 for emacs-devel@gnu.org; Sun, 21 May 2006 16:55:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FhuxX-0007Ik-6b for emacs-devel@gnu.org; Sun, 21 May 2006 16:55:31 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fhuiw-0001Vo-Ff for emacs-devel@gnu.org; Sun, 21 May 2006 16:40:26 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.52) id 1Fhuf2-0004O9-D4 for emacs-devel@gnu.org; Sun, 21 May 2006 16:36:24 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Fhuer-0005hf-MZ for emacs-devel@gnu.org; Sun, 21 May 2006 22:36:13 +0200 Original-Received: from h-68-166-189-198.snvacaid.dynamic.covad.net ([68.166.189.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 May 2006 22:36:13 +0200 Original-Received: from wohler by h-68-166-189-198.snvacaid.dynamic.covad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 May 2006 22:36:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: h-68-166-189-198.snvacaid.dynamic.covad.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:nOAyDWHmA6yo5YrKiVLGTcaeLWk= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54972 gmane.emacs.pretest.bugs:12138 Archived-At: Bill Wohler writes: > Lars Hansen wrote: > >> Stefan Monnier wrote: >> >> >>! `(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, >> > >> > >> Then my previous patch can be simplified. >> Any objections? > > None from me. I've applied it and will let you know how it goes. Thanks. So far so good. Thanks. -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.