From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: find-file for file that was deleted, when visiting buffer still exists Date: Sun, 4 Mar 2007 20:57:36 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173070770 31617 80.91.229.12 (5 Mar 2007 04:59:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Mar 2007 04:59:30 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 05 05:59:24 2007 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 1HO5IB-0005uD-VB for ged-emacs-devel@m.gmane.org; Mon, 05 Mar 2007 05:59:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HO5IB-0005u6-HR for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 23:59:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HO5Hy-0005u0-Kw for emacs-devel@gnu.org; Sun, 04 Mar 2007 23:59:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HO5Hu-0005pN-Jl for emacs-devel@gnu.org; Sun, 04 Mar 2007 23:59:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HO5Hu-0005ow-D6 for emacs-devel@gnu.org; Sun, 04 Mar 2007 23:59:06 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HO5Ht-0001D4-Uz for emacs-devel@gnu.org; Sun, 04 Mar 2007 23:59:06 -0500 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l254x39f019407 for ; Sun, 4 Mar 2007 21:59:03 -0700 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l253W52p024127 for ; Sun, 4 Mar 2007 21:59:03 -0700 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-80-236.vpn.oracle.com by rcsmt251.oracle.com with ESMTP id 2494599991173070656; Sun, 04 Mar 2007 21:57:36 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Importance: Normal X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 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:67347 Archived-At: > 1. Visit a file `foo' in a buffer. Close the window, but > don't kill the buffer. > > 2. Delete file `foo' (e.g. `delete-file' or some other way > that doesn't also kill the buffer). > > 3. `C-x C-f foo' > > Perhaps it should visit the buffer foo, and give a warning that the > file no longer exists. That seems better to me. Does anyone > disagree? Yes, that sounds good. Should find-file-noselect do that directly? Always, or only when called from a command initiated interactively?