From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#23276: 25.0.92; Crash in auto-revert when file no longer present Date: Sat, 16 Apr 2016 18:54:17 -0700 Message-ID: References: <87vb3hgzr1.fsf@gmx.de> <83fuulbcq7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1460858185 21390 80.91.229.3 (17 Apr 2016 01:56:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Apr 2016 01:56:25 +0000 (UTC) Cc: 23276@debbugs.gnu.org, Michael Albinus , andlind@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 17 03:56:13 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 1arbwZ-0005ye-4O for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Apr 2016 03:56:11 +0200 Original-Received: from localhost ([::1]:37237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arbwY-0003aH-O1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Apr 2016 21:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arbwV-0003YG-ER for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2016 21:56:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arbwQ-0007Uu-FA for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2016 21:56:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arbwQ-0007Uq-BV for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2016 21:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1arbwQ-0004cl-5g for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2016 21:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Apr 2016 01:56:02 +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.146085810217696 (code B ref 23276); Sun, 17 Apr 2016 01:56:02 +0000 Original-Received: (at 23276) by debbugs.gnu.org; 17 Apr 2016 01:55:02 +0000 Original-Received: from localhost ([127.0.0.1]:37695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arbvR-0004bI-Sj for submit@debbugs.gnu.org; Sat, 16 Apr 2016 21:55:02 -0400 Original-Received: from mail-pf0-f173.google.com ([209.85.192.173]:36614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arbvP-0004au-GM for 23276@debbugs.gnu.org; Sat, 16 Apr 2016 21:55:00 -0400 Original-Received: by mail-pf0-f173.google.com with SMTP id e128so68712354pfe.3 for <23276@debbugs.gnu.org>; Sat, 16 Apr 2016 18:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version; bh=zmTBOs/TcYMjl8APhnQ8wSOirGJslO9LvXsMMUZfRTQ=; b=IEaobqEOb5nOpvisdmGQI9ahw2S0alnonqK5qDuYnoK4dMtHMvDAaQFW1nycnRGbt6 2vWl92D5tMIZbG8yNqyMHb50lQucIgZtC2ilv6Of1MSe+b5cZgpY+FsBEZZnCrJT578+ WR2Ks1l9sVPgwoEH5+6XMoiYIs0lg02wnvF2IC6W3mvUWIgXPREQlNdKi/gWP5ppT1oR 7M/Kus64ouA6kUGtoXZVSp98tJ3ae52kcMqSk6XWDtdYHwqSk0hZOT5fywk7wRNXhLEl pwFexF5uuTV4rdkwWTklCDcyjGp+AkDtgUE6enDRAppx5gTCw4OgN7i6EZFPTI++BHv/ Trcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mime-version; bh=zmTBOs/TcYMjl8APhnQ8wSOirGJslO9LvXsMMUZfRTQ=; b=jrPSYkZFhsaOK06j0rRCszG4MEfABHBIvhzH2P7o4rs2SPk1kSTJx2YkHXA8Q/Ssui +As9UgQCgv5i7WL0jK3fMZ0PhdgQf8LdXrB5P5VxRI1outJlWC9r48hunAduL8o/xvRH 4neEpp+olbpckRX6p+aoUHKmqBQ4IBka/RLY2lo4Vq8hbhTV+dJdiGOxEJA5gn+/paTB x6qYlzQeWqSJUcQ3+VDN/rRUT0vv7z+kbDD8TyRHJghAufaGsTIRWlnyGhV3313FUadi hGgRzfNnxQ2CQcWgwYR0uvXbTJ4TWIWWVHbN+UbxIQlFjLZtOek4y6kmm2g/v0HtVztF wQKw== X-Gm-Message-State: AOPr4FVCmg7P9FpuXNqPe03MnQcg2+e+kqpzx0i7OL+k9Ej8EYzEH6baJKyAUKo2z7n+kg== X-Received: by 10.98.36.26 with SMTP id r26mr39861490pfj.99.1460858093751; Sat, 16 Apr 2016 18:54:53 -0700 (PDT) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id r17sm53164885pfj.39.2016.04.16.18.54.51 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 16 Apr 2016 18:54:51 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id CD64F14353245; Sat, 16 Apr 2016 18:54:50 -0700 (PDT) In-Reply-To: <83fuulbcq7.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 16 Apr 2016 22:00:32 +0300") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.92 (darwin) 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:116549 Archived-At: >>>>> 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. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2