From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Timur Aydin Newsgroups: gmane.emacs.help Subject: global-auto-revert-mode and file time stamps Date: Tue, 21 May 2013 16:36:32 +0300 Message-ID: <519B7860.5050805@taydin.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1369143590 20279 80.91.229.3 (21 May 2013 13:39:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 May 2013 13:39:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 21 15:39:48 2013 Return-path: Envelope-to: geh-help-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 1Uemmz-0007Ty-C9 for geh-help-gnu-emacs@m.gmane.org; Tue, 21 May 2013 15:39:41 +0200 Original-Received: from localhost ([::1]:36142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uemmy-00070i-Ui for geh-help-gnu-emacs@m.gmane.org; Tue, 21 May 2013 09:39:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uemmi-00070M-W7 for help-gnu-emacs@gnu.org; Tue, 21 May 2013 09:39:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uemme-0007ET-91 for help-gnu-emacs@gnu.org; Tue, 21 May 2013 09:39:24 -0400 Original-Received: from [50.87.16.10] (port=44862 helo=oproxy12-pub.bluehost.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1UemmU-0006xK-VN for help-gnu-emacs@gnu.org; Tue, 21 May 2013 09:39:20 -0400 Original-Received: (qmail 24301 invoked by uid 0); 21 May 2013 13:37:56 -0000 Original-Received: from unknown (HELO box401.bluehost.com) (69.89.31.201) by oproxy12.bluehost.com with SMTP; 21 May 2013 13:37:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=taydin.org; s=default; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=rsOTKN78bcbgzEqMa8Aj2Xy1Nc4KReXvvMokDg9mo8s=; b=rxFohtmQV9eI7uM/dHnL2bXEWyto9V3b9A6w4z+E4iKLTSdxRV1UeEOfco3HkJs53YE+ghJNVE6vxj7g3TJ8SNPUHeqqoIBkWRKv1ufBWk/oYKSOovpxcW5+KD2+GJLE; Original-Received: from [176.41.233.165] (port=44257) by box401.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1UemlH-0003F0-Hf for help-gnu-emacs@gnu.org; Tue, 21 May 2013 07:37:55 -0600 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130409 Thunderbird/17.0.5 X-Identified-User: {1590:box401.bluehost.com:taydinor:taydin.org} {sentby:smtp auth 176.41.233.165 authed with ta@taydin.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 50.87.16.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90944 Archived-At: When a file's timestamp has been changed, but the contents are still the same, what should be the behavior of emacs be? With the emacs that I am using (development version): GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.6.3) of 2013-05-01 on bonsai It thinks the file is changed. Here is what I do: - Open a file, edit it and then save. - use the "touch" command to update the time stamp of this file. - Wait way more than the auto revert interval (which is set to 5 seconds in my case). - Try to make a change to the buffer corresponding to this file. At this point, emacs says that the file has changed and asks whether I really want to edit it. I was expecting emacs to auto revert this buffer and allow me to edit it without further questions. So my question is, am I looking at a bug, or a feature? -- Timur Aydin