From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: buffer is modified after commit Date: Wed, 13 Feb 2008 19:45:28 +0100 Message-ID: <47B33AC8.7090201@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202928459 27535 80.91.229.12 (13 Feb 2008 18:47:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Feb 2008 18:47:39 +0000 (UTC) Cc: Emacs Devel To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 13 19:48:02 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JPMdx-0003T8-Cv for ged-emacs-devel@m.gmane.org; Wed, 13 Feb 2008 19:47:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPMdT-00014g-8o for ged-emacs-devel@m.gmane.org; Wed, 13 Feb 2008 13:47:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPMdO-00014L-GU for emacs-devel@gnu.org; Wed, 13 Feb 2008 13:47:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPMdN-000149-M9 for emacs-devel@gnu.org; Wed, 13 Feb 2008 13:47:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPMdN-000146-JD for emacs-devel@gnu.org; Wed, 13 Feb 2008 13:47:05 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JPMdN-0000TL-B0 for emacs-devel@gnu.org; Wed, 13 Feb 2008 13:47:05 -0500 Original-Received: (qmail invoked by alias); 13 Feb 2008 18:46:58 -0000 Original-Received: from M3130P003.adsl.highway.telekom.at (EHLO [88.117.39.35]) [88.117.39.35] by mail.gmx.net (mp049) with SMTP; 13 Feb 2008 19:46:58 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/D1wUa6e7D12uVZJGkq9GjpjT3BGWdvsAk+bWdXG eLduiz6EDVc/qU 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88969 Archived-At: > Please try with this simple .emacs: > > ;;;;; .emacs ;;;;; > (global-highlight-changes 1) > ;;;;;;;;;;;;;;;;;; > > and then commit a file (I see the error with CVS and Mercurial > backends, I suppose it is generic but I haven't tested any other). > After the commit, the file is marked as modified. I suppose it's due to the way Highlight Changes mode adds and removes text properties. Could you save the values of `buffer-modified-tick' and `buffer-chars-modified-tick' before committing and compare the saved values with the actual ones after the commit?