From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: find-file-noselect-1 bug Date: Tue, 25 May 2004 12:47:23 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405251747.i4PHlN409063@raven.dms.auburn.edu> References: <40B35309.1010001@wanadoo.fr> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1085509883 6152 80.91.224.253 (25 May 2004 18:31:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 May 2004 18:31:23 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 25 20:31:09 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BSghg-00061d-00 for ; Tue, 25 May 2004 20:31:08 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BSghg-0002yR-00 for ; Tue, 25 May 2004 20:31:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSg3u-0003Vx-EL for emacs-devel@quimby.gnus.org; Tue, 25 May 2004 13:50:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BSg2Z-0003Jb-7z for emacs-devel@gnu.org; Tue, 25 May 2004 13:48:39 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BSg21-0003AB-7r for emacs-devel@gnu.org; Tue, 25 May 2004 13:48:36 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSg1w-00039s-HT for emacs-devel@gnu.org; Tue, 25 May 2004 13:48:00 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i4PHlxuE020451; Tue, 25 May 2004 12:47:59 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i4PHlN409063; Tue, 25 May 2004 12:47:23 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: david.ponce@wanadoo.fr In-reply-to: <40B35309.1010001@wanadoo.fr> (message from David Ponce on Tue, 25 May 2004 16:07:05 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23928 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23928 David Ponce wrote: Since this change: 2004-05-20 Luc Teirlinck * files.el (find-file-noselect-1): Limit the scope of the `inhibit-read-only' binding. Make sure that `inhibit-read-only' is, by default, nil during the execution of `find-file-not-found-functions' and `find-file-hook'. `find-file-noselect-1' fails with error "Cannot do file visiting in a non-empty buffer" when the RAWFILE argument is non-nil. Yes, I messed this up. I will install a fix soon. Sincerely, Luc.