[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buffer is modified after commit

From: martin rudalics
Subject: Re: buffer is modified after commit
Date: Wed, 13 Feb 2008 19:45:28 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> 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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]