all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Emacs Devel" <emacs-devel@gnu.org>
Subject: Re: buffer is modified after commit
Date: Wed, 13 Feb 2008 17:04:22 +0100	[thread overview]
Message-ID: <f7ccd24b0802130804o157b9d46o56cd7f9f4364d381@mail.gmail.com> (raw)
In-Reply-To: <f7ccd24b0802050831r309ada98v2c478dec91e1d42b@mail.gmail.com>

Well, after digging in my .emacs for a while, and several false
starts, I've finally been able to isolate the "buffer is modified
after commit" bug that was driving me crazy. Or, at least, I can now
repeat it at will.

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.

The thing is, it does not happen in EMACS_22_BASE, but hilit-chg.el in
the branch is identical to the trunk version, so I suspect the bug is
somehow triggered by the recent VC changes.

Could someone with VC experience please take a look at it?

(BTW, the heisenbug nature of the bug was caused by desktop.el kindly
saving the highlight-change-mode value without me being aware of
it...)

Thanks,

             Juanma




  reply	other threads:[~2008-02-13 16:04 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 [this message]
2008-02-13 18:45   ` martin rudalics
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ccd24b0802130804o157b9d46o56cd7f9f4364d381@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.