GNU bug report logs -
#4515
23.1.50; Reverting changes on versioned file does not revert vc modeline status
Previous Next
Reported by: ofv <at> wanadoo.es (Óscar Fuentes)
Date: Tue, 22 Sep 2009 02:35:03 UTC
Severity: normal
Done: Juanma Barranquero <lekktu <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #29 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Dan Nicolaescu wrote:
> Óscar Fuentes <ofv <at> wanadoo.es> writes:
>
> > Dan Nicolaescu <dann <at> ics.uci.edu> writes:
...
> > > Checking for this condition after each save is prohibitively expensive,
> > > and it's an extremely rare event, so it's not worth optimizing for.
> >
> > Automatically checking the VC state after each save is actually
> > performed if there is a vc-dired buffer for the working copy where the
> > file resides. That check updates the vc-dired with the correct state of
> > the saved file.
...
> > > So this is neither a bug, not something worth improving.
> >
> > Well, the vc status on the modeline is showing the wrong state.
>
> > Would you accept a patch that implements an option for checking after
> > every save and updating the vc state on the modeline accordingly?
>
> Although I've done a lot of work on VC, I am not an official maintainer
> of VC, so I am in no position to do that. But I don't think such a
> change is a good idea.
Should that feature be removed from vc-dired, so that it is consistent with the
buffer's mode line?
(No, I'm not serious.)
--
Kevin Rodgers
Denver, Colorado, USA
This bug report was last modified 15 years and 212 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.