From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#17148: 23.1; Revert Buffer Date: Tue, 01 Apr 2014 11:54:08 -0400 Message-ID: References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1396367715 19574 80.91.229.3 (1 Apr 2014 15:55:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2014 15:55:15 +0000 (UTC) Cc: 17148@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 01 17:55:09 2014 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 1WV11o-0002oy-IH for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Apr 2014 17:55:08 +0200 Original-Received: from localhost ([::1]:32892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV11o-0004pu-6I for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Apr 2014 11:55:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV11k-0004n9-GF for bug-gnu-emacs@gnu.org; Tue, 01 Apr 2014 11:55:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WV11j-0006gi-Jz for bug-gnu-emacs@gnu.org; Tue, 01 Apr 2014 11:55:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV11j-0006gL-H1 for bug-gnu-emacs@gnu.org; Tue, 01 Apr 2014 11:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WV11i-00011s-KX for bug-gnu-emacs@gnu.org; Tue, 01 Apr 2014 11:55:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Apr 2014 15:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17148 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 17148-submit@debbugs.gnu.org id=B17148.13963676543896 (code B ref 17148); Tue, 01 Apr 2014 15:55:02 +0000 Original-Received: (at 17148) by debbugs.gnu.org; 1 Apr 2014 15:54:14 +0000 Original-Received: from localhost ([127.0.0.1]:59551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV10u-00010k-LO for submit@debbugs.gnu.org; Tue, 01 Apr 2014 11:54:13 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:32912) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV10s-00010d-RQ for 17148@debbugs.gnu.org; Tue, 01 Apr 2014 11:54:11 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WV10q-00087p-P8; Tue, 01 Apr 2014 11:54:08 -0400 X-Spook: 64 Vauxhall Cross underground Venezuela Perl-RSA Semtex X-Ran: !`?.8#%}B*E4H%_YF]&xSNr?XRPr~&$@y0i?%u;-^pE(\%l+BhCKt@W$-EXvYu@/;n~&Z% X-Hue: black X-Attribution: GM In-Reply-To: <87ppl1v893.fsf@gmx.de> (Michael Albinus's message of "Tue, 01 Apr 2014 09:06:32 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:87598 Archived-At: Michael Albinus wrote: > Emacs is not notified, when a file changes its state outside Emacs. Only > prior to writing to a file Emacs checks, whether a file has changed on disk. Why can't the revert-buffer menu-item check the file mode bits match, the same way it verifies the modtime? IMO it should just call file-attributes once, and use that to check time and permissions.