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: Mon, 19 Nov 2007 10:13:34 +0100 Message-ID: <474153BE.2010702@gmx.at> References: <456ca33a-316c-4dbe-9598-f9e37dfb250e@w34g2000hsg.googlegroups.com> <79f3d1c1-c2d7-4400-96b6-b1877e0972f7@l1g2000hsa.googlegroups.com> NNTP-Posting-Host: lo.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 1195463586 31935 80.91.229.12 (19 Nov 2007 09:13:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 09:13:06 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: mdaily2002@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 10:13:13 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 1Iu2gp-0007np-1L for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2007 10:13:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu2gb-00074M-9c for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2007 04:12:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iu2fp-0006az-Jg for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2007 04:12:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iu2fn-0006aW-CW for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2007 04:12:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu2fn-0006aR-5B for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2007 04:12:07 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Iu2fm-0001vt-MA for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2007 04:12:07 -0500 Original-Received: (qmail invoked by alias); 19 Nov 2007 09:12:05 -0000 Original-Received: from N880P004.adsl.highway.telekom.at (EHLO [62.47.53.228]) [62.47.53.228] by mail.gmx.net (mp058) with SMTP; 19 Nov 2007 10:12:05 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/D8XY1SErDOcj8QWyDXGGfRXLDHeA3MguPt26Np1 yMp3+ysICJJVzc User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <79f3d1c1-c2d7-4400-96b6-b1877e0972f7@l1g2000hsa.googlegroups.com> X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:17016 Archived-At: > Actually it didn't work. The only solution I found that seems to work > is to turn auto-save-default to nil, with the caveat that that gets > rid of auto-saving. It looks like emacs auto-saves every 300 > characters you type into the file; hence this is why it thinks the > file has changed on disk. Please do two things: (1) Emacs should not try to overwrite the actual file when autosaving. For Stephan it was sufficient to leave `auto-save-visited-file-name' at its default value nil. Hence, make sure that the value of this variable is nil. If Emacs still overwrites the file you're editing there must be some other reason. Also, tell us all your customizations containing an `auto-save-...' prefix. (2) Post here the values of (file-attributes file) where file is the name of the file visited by your buffer, and (visited-file-modtime) and (verify-visited-file-modtime (current-buffer)) bothe evaluated in that buffer. Please evaluate these expressions twice: Once immediately after visiting the file and a second time when Emacs asks you about autosaving.