From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46397: 27.1; Cannot delete buffer pointing to a file in a path that includes a file Date: Sun, 14 Feb 2021 21:22:48 +0200 Message-ID: <83zh06a1yv.fsf@gnu.org> References: <87h7mllgin.fsf@nexoid.at> <83a6scj745.fsf@gnu.org> <39d0e035-27b6-e2bd-daa2-747dda2c1a35@cs.ucla.edu> <83tuqhg3j9.fsf@gnu.org> <83czx4e5h5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4741"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46397@debbugs.gnu.org, eggert@cs.ucla.edu, craven@gmx.net To: Matt Armstrong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 14 20:26:38 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBN2T-00018l-Nj for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 20:26:37 +0100 Original-Received: from localhost ([::1]:56122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBN2S-000762-Pe for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 14:26:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBMz0-0004Ul-RV for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2021 14:23:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBMz0-0007Rr-J6 for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2021 14:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lBMz0-0004a0-F4 for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2021 14:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Feb 2021 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46397 X-GNU-PR-Package: emacs Original-Received: via spool by 46397-submit@debbugs.gnu.org id=B46397.161333057617579 (code B ref 46397); Sun, 14 Feb 2021 19:23:02 +0000 Original-Received: (at 46397) by debbugs.gnu.org; 14 Feb 2021 19:22:56 +0000 Original-Received: from localhost ([127.0.0.1]:36763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBMyu-0004ZS-IZ for submit@debbugs.gnu.org; Sun, 14 Feb 2021 14:22:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBMys-0004ZF-Q2 for 46397@debbugs.gnu.org; Sun, 14 Feb 2021 14:22:55 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43764) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBMym-0007O8-Tu; Sun, 14 Feb 2021 14:22:48 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2544 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lBMyl-0003Z2-3P; Sun, 14 Feb 2021 14:22:48 -0500 In-Reply-To: (message from Matt Armstrong on Sat, 13 Feb 2021 16:49:43 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200031 Archived-At: > From: Matt Armstrong > Cc: 46397@debbugs.gnu.org, eggert@cs.ucla.edu, craven@gmx.net > Date: Sat, 13 Feb 2021 16:49:43 -0800 > > I think auto-save issues messages and warnings, but never prompts ("asks > about"). > > Auto save can call `display-warning' (see auto_save_error in fileio.c) > or `message' (see message1() and message_with_string() calls in same). I > can't find any prompts. > > So let's settle a question before going further. Would you be okay if > lock errors were reported in the same way(s) auto-save errors are? I'm okay with doing the same as auto-save does when Emacs is shutting down, yes. As for other situations, I'm not sure we should just display a warning. Were you asking only about what to do during shutdown?