From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: insert-file-contents disables undo Date: Thu, 24 Jul 2008 19:25:39 +0900 Message-ID: References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216895695 10376 80.91.229.12 (24 Jul 2008 10:34:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2008 10:34:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Katsumi Yamaoka Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 24 12:35:42 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 1KLyAY-0002u1-Ns for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2008 12:35:35 +0200 Original-Received: from localhost ([127.0.0.1]:34922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLy9e-0006Cw-KH for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2008 06:34:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLy1J-0003hp-Rn for emacs-devel@gnu.org; Thu, 24 Jul 2008 06:26:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLy1F-0003gg-Ch for emacs-devel@gnu.org; Thu, 24 Jul 2008 06:26:00 -0400 Original-Received: from [199.232.76.173] (port=50645 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLy1E-0003gO-Uo for emacs-devel@gnu.org; Thu, 24 Jul 2008 06:25:57 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:36555) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLy17-0005gf-HN; Thu, 24 Jul 2008 06:25:50 -0400 Original-Received: from relay31.aps.necel.com ([10.29.19.54]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m6OAPaSL023628; Thu, 24 Jul 2008 19:25:40 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay31.aps.necel.com with ESMTP; Thu, 24 Jul 2008 19:25:40 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay11.aps.necel.com with ESMTP; Thu, 24 Jul 2008 19:25:40 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id B3D605B5; Thu, 24 Jul 2008 19:25:39 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: (Katsumi Yamaoka's message of "Thu, 24 Jul 2008 18:52:55 +0900") Original-Lines: 19 X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:101377 Archived-At: Katsumi Yamaoka writes: > When performing `insert-file-contents' at the end of a buffer, > which is not empty, buffer's undo is disabled. It happens only > with Emacs 23. Ahhhh, so _that's_ why my mail buffers have undo turned off! I thought it must be my bug, but apparently not... Thanks for finding that! I don't immediately see the reason for the bug in `insert-file-contents'; that function's handling of the undo list is a huge festering pile of hair... -Miles -- x y Z!