From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23276: 25.0.92; Crash in auto-revert when file no longer present Date: Sun, 17 Apr 2016 05:39:36 +0300 Message-ID: <83d1pparh3.fsf@gnu.org> References: <87vb3hgzr1.fsf@gmx.de> <83fuulbcq7.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1460860883 25464 80.91.229.3 (17 Apr 2016 02:41:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Apr 2016 02:41:23 +0000 (UTC) Cc: 23276@debbugs.gnu.org, michael.albinus@gmx.de, andlind@gmail.com To: John Wiegley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 17 04:41:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1arce6-00019v-VP for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Apr 2016 04:41:11 +0200 Original-Received: from localhost ([::1]:37749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arce6-0002SZ-Fo for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Apr 2016 22:41:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arce2-0002PI-G7 for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2016 22:41:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arcdx-0007qB-U7 for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2016 22:41:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arcdx-0007q7-QX for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2016 22:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1arcdx-0005dL-JP for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2016 22:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Apr 2016 02:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23276-submit@debbugs.gnu.org id=B23276.146086080721582 (code B ref 23276); Sun, 17 Apr 2016 02:41:01 +0000 Original-Received: (at 23276) by debbugs.gnu.org; 17 Apr 2016 02:40:07 +0000 Original-Received: from localhost ([127.0.0.1]:37699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arcd5-0005c2-GF for submit@debbugs.gnu.org; Sat, 16 Apr 2016 22:40:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arcd3-0005bU-8a for 23276@debbugs.gnu.org; Sat, 16 Apr 2016 22:40:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arccx-0007h3-Bg for 23276@debbugs.gnu.org; Sat, 16 Apr 2016 22:40:00 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arccs-0007fq-9o; Sat, 16 Apr 2016 22:39:54 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4240 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1arccr-00008q-De; Sat, 16 Apr 2016 22:39:53 -0400 In-reply-to: (message from John Wiegley on Sat, 16 Apr 2016 18:54:17 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116550 Archived-At: > From: John Wiegley > Cc: Michael Albinus , 23276@debbugs.gnu.org, andlind@gmail.com > Date: Sat, 16 Apr 2016 18:54:17 -0700 > > >>>>> Eli Zaretskii writes: > > > And I still am not convinced that deleting a file under auto-revert > > shouldn't erase its buffer. Otherwise, it sounds like just half-auto-revert > > to me. Would we keep the buffer non-empty if the file existed but was empty? > > I would not want it to erase the buffer. Countless have been the times that > I've been working on a project, and an unbridled rm took away code from the > disk which I was very grateful to find was still in a buffer. How is it different from clobbering a file by making it empty? Don't we have a variant of auto-revert that never shrinks the buffer?