From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: Re: undo bug? Date: Tue, 01 Apr 2008 20:55:34 +0900 Organization: Emacsen advocacy group Message-ID: References: <47F21FEB.401@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207051005 28907 80.91.229.12 (1 Apr 2008 11:56:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2008 11:56:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 01 13:57:14 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jgf6o-0006tv-PD for ged-emacs-devel@m.gmane.org; Tue, 01 Apr 2008 13:56:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jgf6C-0005aU-Ns for ged-emacs-devel@m.gmane.org; Tue, 01 Apr 2008 07:56:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jgf68-0005aI-6F for emacs-devel@gnu.org; Tue, 01 Apr 2008 07:56:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jgf63-0005ZK-OJ for emacs-devel@gnu.org; Tue, 01 Apr 2008 07:56:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jgf63-0005ZH-FV for emacs-devel@gnu.org; Tue, 01 Apr 2008 07:56:11 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jgf63-0004yY-6f for emacs-devel@gnu.org; Tue, 01 Apr 2008 07:56:11 -0400 Original-Received: from [66.225.201.151] (port=58976 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1Jgf5s-00068d-4H; Tue, 01 Apr 2008 06:56:00 -0500 X-Hashcash: 1:20:080401:rudalics@gmx.at::POrODlqKtzxDPa9d:009hKJ X-Hashcash: 1:20:080401:emacs-devel@gnu.org::JbBHStHTvyoIdyKp:0000000000000000000000000000000000000000004+8h X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:3g+K47KYkYtiEkqI/vEpL7vwGxM= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:94107 Archived-At: >>>>> martin rudalics wrote: > Can you please test with (CVS) Emacs 23 whether > (defun x3 () > (interactive) > (let ((undo-inhibit-record-point t)) > (delete-backward-char 3) > (setq buffer-undo-list nil) > (insert "A") > (message "%s" buffer-undo-list))) > does what you want here? If it solves your problem then we probably > should consider a solution like the one I sketched in > http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-03/msg00096.html Oh, it does the trick. I hope it is fixed in not only the Emacs trunk but also Emacs 22.3. Thanks!