From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: Re: changed on disk; really edit the buffer? Date: Wed, 31 Oct 2007 19:34:07 +0100 Message-ID: <4728CA9F.7060101@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1193855632 10905 80.91.229.12 (31 Oct 2007 18:33:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2007 18:33:52 +0000 (UTC) Cc: Bug-Gnu-Emacs To: Stephan Lukits Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 19:33:54 2007 Return-path: Envelope-to: geb-bug-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 1InINs-00024D-7P for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2007 19:33:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InINi-0002AJ-11 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2007 14:33:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1InINa-00025q-K7 for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2007 14:33:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1InINV-00020b-AJ for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2007 14:33:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InINU-00020R-Oj for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2007 14:33:20 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1InINU-0002bR-BA for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2007 14:33:20 -0400 Original-Received: (qmail invoked by alias); 31 Oct 2007 18:33:16 -0000 Original-Received: from N833P001.adsl.highway.telekom.at (EHLO [62.47.48.1]) [62.47.48.1] by mail.gmx.net (mp044) with SMTP; 31 Oct 2007 19:33:16 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18+0jZZO5Y+wmDYvW+LvcPkcWL10nrRlSHBJiEkn/ 4y4cAhT5sCnZYN User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16883 Archived-At: > Hm. I couldn't find this file attribute within the Windows Explorer. I never use the Explorer, most file managers allow doing that easily. You could also try a GNU port like touch.exe. > Within dired I found the operation "Change Timestamp ... (T)". I tried > it but it didn't help. Could you please be a bit more detailed about > what I should do exactly. Experiment with the functions in section 27.6 Buffer Modification Time of the Elisp manual. `verify-visited-file-modtime' is probably the one causing the complaints, if it returns nil you get the message. `clear-visited-file-modtime' (this should be done when you open a file) and `set-visited-file-modtime' (usually done when you save a file) should both assert that the message is not issued, hence if you do either of these and afterwards get the message for that buffer, something is wrong with Emacs' way of handling modification times. Hence you can, for example, do M-: (clear-visited-file-modtime) after opening a file that usually throws the messages and see what M-: (verify-visited-file-modtime (current-buffer)) returns.