From: martin rudalics <rudalics@gmx.at>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: buffer is modified after commit
Date: Wed, 13 Feb 2008 19:45:28 +0100 [thread overview]
Message-ID: <47B33AC8.7090201@gmx.at> (raw)
In-Reply-To: <f7ccd24b0802130804o157b9d46o56cd7f9f4364d381@mail.gmail.com>
> 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?
next prev parent reply other threads:[~2008-02-13 18:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-05 16:31 buffer is modified after commit Juanma Barranquero
2008-02-13 16:04 ` Juanma Barranquero
2008-02-13 18:45 ` martin rudalics [this message]
2008-02-13 19:50 ` Stefan Monnier
2008-02-13 21:39 ` martin rudalics
2008-02-13 22:01 ` Stefan Monnier
2008-02-14 1:56 ` Juanma Barranquero
2008-02-14 7:53 ` martin rudalics
2008-02-14 14:57 ` Stefan Monnier
2008-02-14 22:46 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47B33AC8.7090201@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).