From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Newsgroups: gmane.emacs.help Subject: modtime out of sync with network drive Date: Tue, 08 Sep 2009 10:52:14 +0100 Message-ID: Reply-To: dave@remove-spam-stringlake.demon.co.uk NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252454430 12332 80.91.229.12 (9 Sep 2009 00:00:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2009 00:00:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 09 02:00:23 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MlAbm-0002ao-Gt for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Sep 2009 02:00:22 +0200 Original-Received: from localhost ([127.0.0.1]:58167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlAbl-0001Ml-Q9 for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Sep 2009 20:00:21 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!colt.net!feeder.news-service.com!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe10.ams2.POSTED!7564ea0f!not-for-mail User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 62.49.63.29 Original-X-Complaints-To: abuse@demon.net Original-X-Trace: newsfe10.ams2 1252403535 62.49.63.29 (Tue, 08 Sep 2009 09:52:15 UTC) Original-NNTP-Posting-Date: Tue, 08 Sep 2009 09:52:15 UTC Original-Xref: news.stanford.edu gnu.emacs.help:172816 X-Mailman-Approved-At: Tue, 08 Sep 2009 19:59:55 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67964 Archived-At: Hello, I am using emacs 22.2.1 on ubuntu 9.04. I have a network drive attached (Buffalo linkstation pro duo - I think it's a samba share) and I have the drive mounted automatically as a cifs filesystem. This works fine for everything I do in ubuntu - permissions, running commands, copying etc. The only problem I have is that when I'm editing a file on the drive in emacs, everytime I save the file the buffer recorded modtime and file attribute modtime get out of sync. This means the next mod I make to the buffer I get the 'file has changed on disc etc' message. This is a real hassle. As an example, immediately after a recent save, the modtime as given by visited-file-modtime was 9454, but by file-attribute was 9438. These are both different to the value before the save which was 9407 for both. Any help gratefully appreciated. thanks Dave