From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: reverting buffer from non-existent file Date: Tue, 07 Feb 2006 10:31:33 -0500 Message-ID: <87y80ndw6f.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139333531 1645 80.91.229.2 (7 Feb 2006 17:32:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2006 17:32:11 +0000 (UTC) Cc: Martin Rudalics , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 07 18:32:08 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 1F6Wgd-0001gN-E8 for ged-emacs-devel@m.gmane.org; Tue, 07 Feb 2006 18:31:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F6Wk0-0007ju-5S for ged-emacs-devel@m.gmane.org; Tue, 07 Feb 2006 12:35:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F6V18-0001pa-Ip for emacs-devel@gnu.org; Tue, 07 Feb 2006 10:44:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F6V15-0001ok-SY for emacs-devel@gnu.org; Tue, 07 Feb 2006 10:44:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F6Us3-0008M8-Fo for emacs-devel@gnu.org; Tue, 07 Feb 2006 10:35:12 -0500 Original-Received: from [209.226.175.184] (helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F6Urf-0001rR-W5; Tue, 07 Feb 2006 10:34:48 -0500 Original-Received: from alfajor ([67.71.25.142]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060207153133.VDSR16473.tomts22-srv.bellnexxia.net@alfajor>; Tue, 7 Feb 2006 10:31:33 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 75D49D73CA; Tue, 7 Feb 2006 10:31:33 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Tue, 07 Feb 2006 01:06:32 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:50158 Archived-At: > Thanks for fixing this problem. I think it is cleaner to bind > buffer-read-only and buffer-undo-list only once. Would you > please make that small alteration, then send the revised change > plus a suitable change log entry? They we will install it. While we're here: - it's probably better to bind inhibit-read-only than buffer-read-only. - IIRC buffer-undo-list doesn't need to be bound here since insert-file-contents does it for us anyway. Stefan