From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.devel Subject: suggestion: reverting/notifying of files that no longer exist Date: Fri, 09 Jul 2004 08:47:17 -0700 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1089388089 25036 80.91.224.253 (9 Jul 2004 15:48:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jul 2004 15:48:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jul 09 17:47:56 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 1BixbQ-0006yX-00 for ; Fri, 09 Jul 2004 17:47:56 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BixbP-0003wZ-00 for ; Fri, 09 Jul 2004 17:47:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bixda-0001Bf-QK for emacs-devel@quimby.gnus.org; Fri, 09 Jul 2004 11:50:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BixdP-0001BY-2Z for emacs-devel@gnu.org; Fri, 09 Jul 2004 11:49:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BixdN-0001BM-BX for emacs-devel@gnu.org; Fri, 09 Jul 2004 11:49:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BixdN-0001BJ-8O for emacs-devel@gnu.org; Fri, 09 Jul 2004 11:49:57 -0400 Original-Received: from [128.32.47.228] (helo=hkn.eecs.berkeley.edu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Bixaq-0008KI-NR for emacs-devel@gnu.org; Fri, 09 Jul 2004 11:47:20 -0400 Original-Received: from quarl by hkn.eecs.berkeley.edu with local id 1Bixan-0006gH-00; Fri, 09 Jul 2004 08:47:17 -0700 Original-To: Emacs Developement List X-Quack-Archive: 1 X-Payment: hashcash 1.2 0:040709:emacs-devel@gnu.org:a7c4b57cdf537c0c62f24d40 X-Hashcash: 0:040709:emacs-devel@gnu.org:a7c4b57cdf537c0c62f24d40 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: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25557 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25557 I think Emacs (maybe as part of auto-revert-mode) should notify you when you edit files that no longer exist. Sometimes I rename or move a file in shell, but still have the old file open and accidentally edit buffer for the old file. It would be very useful if Emacs tells you when a file that used to exist vanishes: (1) when you edit its buffer (2) if (global-)auto-revert-mode or some customizable variable is enabled, as soon as the file vanishes -- Karl 2004-07-09 08:41