From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Timur Aydin Newsgroups: gmane.emacs.devel Subject: global-auto-revert-mode and file time stamps Date: Tue, 21 May 2013 16:40:44 +0300 Message-ID: <519B795C.9030105@taydin.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1369143699 21722 80.91.229.3 (21 May 2013 13:41:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 May 2013 13:41:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 21 15:41:38 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Uemor-0008U6-HN for ged-emacs-devel@m.gmane.org; Tue, 21 May 2013 15:41:37 +0200 Original-Received: from localhost ([::1]:37044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uemor-0007hZ-41 for ged-emacs-devel@m.gmane.org; Tue, 21 May 2013 09:41:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uemoj-0007hE-TX for emacs-devel@gnu.org; Tue, 21 May 2013 09:41:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uemof-00085m-8T for emacs-devel@gnu.org; Tue, 21 May 2013 09:41:29 -0400 Original-Received: from oproxy12-pub.bluehost.com ([50.87.16.10]:46220) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Uemod-000838-CS for emacs-devel@gnu.org; Tue, 21 May 2013 09:41:25 -0400 Original-Received: (qmail 6624 invoked by uid 0); 21 May 2013 13:40:58 -0000 Original-Received: from unknown (HELO box401.bluehost.com) (69.89.31.201) by oproxy12.bluehost.com with SMTP; 21 May 2013 13:40:58 -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=BAtfDyDJ5VVRmX9DRVRGhL/QTGJtSFdOoh/neOubmuM=; b=rf0lSrUJmYo/26dSkd1QmdOmfsRJGgJ6S9Dk79T0jJCy3Jpq72hyDv/ZfHQM/enb98xXcx7epLhh3Q4XfMlPDOf5jWE2MfYJYZuSSF6tk1gy+GTADkkvfwNPVziW9WoJ; Original-Received: from [176.41.233.165] (port=54332 helo=[10.2.1.100]) by box401.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1UemoD-0005qI-RI for emacs-devel@gnu.org; Tue, 21 May 2013 07:40:58 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159708 Archived-At: Hi, I have sent this message to help-gnu-emacs, but I thought maybe development list is better, because I am using a development version. Here it goes: 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