From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: save-query-if-deleted Date: Wed, 27 Sep 2006 21:12:34 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1159380790 5770 80.91.229.2 (27 Sep 2006 18:13:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Sep 2006 18:13:10 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 27 20:13:06 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 1GSdts-0002CC-Jz for ged-emacs-devel@m.gmane.org; Wed, 27 Sep 2006 20:12:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSdtr-00024x-LI for ged-emacs-devel@m.gmane.org; Wed, 27 Sep 2006 14:12:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GSdtg-00022I-AL for emacs-devel@gnu.org; Wed, 27 Sep 2006 14:12:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GSdte-000226-R2 for emacs-devel@gnu.org; Wed, 27 Sep 2006 14:12:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSdte-000223-Nz for emacs-devel@gnu.org; Wed, 27 Sep 2006 14:12:38 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GSdyZ-0003VQ-6s for emacs-devel@gnu.org; Wed, 27 Sep 2006 14:17:43 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-147-15.inter.net.il [80.230.147.15]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id ETN96439 (AUTH halo1); Wed, 27 Sep 2006 21:12:35 +0300 (IDT) Original-To: Karl Chen In-reply-to: (message from Karl Chen on Wed, 27 Sep 2006 01:37:24 -0700) 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:60275 Archived-At: > From: Karl Chen > Date: Wed, 27 Sep 2006 01:37:24 -0700 > > I propose the patch below which adds the variable > `save-query-if-deleted'. If non-nil, the `basic-save-buffer' will > query before saving if the file has been deleted, but existed > since last visited/saved. > > In this patch it defaults to nil, but I think it is a very useful > feature. Usually when a file no longer exists it's because I > renamed it in a shell window and forgot to re-open it in Emacs; in > these situations, saving it should require confirmation. > > What do you think? I think it should wait until after the release of Emacs 22, but please wait for Richard to give the definitive answer.