From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Emacs does not detect a buffered file got deleted Date: Mon, 08 Aug 2016 10:02:45 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1470643450 3706 195.159.176.226 (8 Aug 2016 08:04:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 08:04:10 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cc: Emacs developers To: =?utf-8?B?6Lev5a6i?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 08 10:04:05 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWfXJ-0007LU-RA for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2016 10:03:49 +0200 Original-Received: from localhost ([::1]:55552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWfXG-0003S7-LP for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2016 04:03:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWfWP-0003R1-Fx for emacs-devel@gnu.org; Mon, 08 Aug 2016 04:02:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWfWK-0004QL-HE for emacs-devel@gnu.org; Mon, 08 Aug 2016 04:02:53 -0400 Original-Received: from mx2.suse.de ([195.135.220.15]:52390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWfWK-0004Q4-AL for emacs-devel@gnu.org; Mon, 08 Aug 2016 04:02:48 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id ACEE7AAD1; Mon, 8 Aug 2016 08:02:45 +0000 (UTC) X-Yow: Is the EIGHTIES when they had ART DECO and GERALD McBOING-BOING lunch boxes?? In-Reply-To: (=?utf-8?B?Iui3r+WuoiIncw==?= message of "Mon, 8 Aug 2016 11:33:26 +0800") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206475 Archived-At: On Mo, Aug 08 2016, =E8=B7=AF=E5=AE=A2 wrote: > When editing a file in Emacs and switching git branches, sometimes > a file will be removed but Emacs won't detect it. Unlike modified > files it will ask me to revert, deleted files are not. Is it > intentional? There is nothing to revert from. A buffer visiting a non-existing file isn't an error condition, saving it will not lose anything. Andreas. --=20 Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint =3D 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D= 7 "And now for something completely different."