unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tim Van Holder <tim.vanholder@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 7905@debbugs.gnu.org
Subject: bug#7905: 24.0.50; VC not updating file status properly anymore after commit from vc-dir
Date: Wed, 26 Jan 2011 11:07:37 +0100	[thread overview]
Message-ID: <AANLkTikgUO86-Emf0tGyKJHENdqLmqt+_2rXJnYCSLik@mail.gmail.com> (raw)
In-Reply-To: <AANLkTim880CWhUDDY+qQgPPJsjGb9C1us=Q-vyEeNp6X@mail.gmail.com>

On 26 January 2011 10:44, Tim Van Holder <tim.vanholder@gmail.com> wrote:
> On 26 January 2011 05:25, Glenn Morris <rgm@gnu.org> wrote:
>> Tim Van Holder wrote:
>>
>>> By a process of elimination, it turns out that the
>>>   '(display-time-mode t)
>>> line in (custom-set-variables) is the culprit. With that removed,
>>> things work, even without --no-splash.
>>>
>>> I'm attaching a tarball with a dummy CVS repos; my tests used:
>>
>> Thanks for the great test case, but I'm afraid I still cannot
>> reproduce it if I use a .emacs that just has a customized
>> display-time-mode (together with --no-site-file).
>>
>> Does anyone else see this problem?
>
> That's odd - using the testcase, if I do
>
>  $ emacs -Q
>  [C-x v d]sandbox
>  n
>  M
>  [M-x]display-time-mode
>  v
>  foo[C-c C-c]
>
> then the files go to "edited" for me (without the display-time-mode
> they become "up-to-date").
> Would it help for me to edebug particular VC defuns to see where
> exactly things go wrong?

It seems to run deeper than just commits. I'm seeing now that any
CVS-controlled file I visit is marked as "CVS:1.x" (i.e. edited), even
files in a freshly checked out sandbox. [C-x v u] clears that state,
but saving the file, closing it and then revisiting it puts it in
edited state again.
I'm reasonably sure that didn't happen before; however, files are only
showing up in vc-dir if they are actually changed, so I may just have
missed this. This behaviour does not go away when I disable
display-time-mode, however, so it could be a completely separate
issue.





  reply	other threads:[~2011-01-26 10:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-24 10:48 bug#7905: 24.0.50; VC not updating file status properly anymore after commit from vc-dir Tim Van Holder
2011-01-25  0:48 ` Glenn Morris
2011-01-25  8:00   ` Tim Van Holder
2011-01-25  9:44     ` Tim Van Holder
2011-01-25 11:30       ` Tim Van Holder
2011-01-26  4:25         ` Glenn Morris
2011-01-26  9:44           ` Tim Van Holder
2011-01-26 10:07             ` Tim Van Holder [this message]
2011-01-27  7:25               ` Glenn Morris
2011-01-27  9:51                 ` Tim Van Holder
2011-01-28 18:16                   ` Glenn Morris
2011-01-31  9:06                     ` Tim Van Holder
2011-01-31 10:31                       ` Andreas Schwab
2011-01-31 13:59                         ` Tim Van Holder
2011-01-31 14:10                           ` Andreas Schwab
2011-02-01 10:18                             ` Tim Van Holder
2011-02-01 21:45                               ` Glenn Morris
2011-02-02 11:40                                 ` Tim Van Holder

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=AANLkTikgUO86-Emf0tGyKJHENdqLmqt+_2rXJnYCSLik@mail.gmail.com \
    --to=tim.vanholder@gmail.com \
    --cc=7905@debbugs.gnu.org \
    --cc=rgm@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 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).