[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC's modeline
From: |
Óscar Fuentes |
Subject: |
Re: VC's modeline |
Date: |
Mon, 08 Feb 2016 23:02:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> What I think is wrong the level of detail expected in the status line.
> E.g. I think it'd be fine for VC to just display "Bzr" (or "Hg", or
> "Git", or what have you) instead. I think it'd even be fine to do that
> without checking whether the file is really under that VCS's control or
> not (i.e. without checking whether the file is ignored). IOW, a file
> opened in a directory with a ".git" somewhere in the parents could just
> say "Git", without any other check.
Saying that the file is on a directory that also has a .git (or .bzr, or
whatever) directory is almost meaningless. You don't know if the file is
actually versioned, nor if it is edited, nor the branch that is
currently checked out (this last piece of information is specially
important on workflows that uses colocated branches.)
Personally, I find having that information on the modeline a very worthy
investment. In practice, the only problem I experience is when working
on MS Windows, where calling git is much slower than on GNU/Linux and it
is annoying to wait until all buffers refreshes the VC info after some
operation with Magit.
If you wish to add a customization for disabling the modeline VC info
(all or part) I know that some users will appreciate the feature. But
reducing the information to a meaningless label is not a sane default.
- Re: [Emacs-diffs] master de76a16: Performance improvements for vc-hg, Stefan Monnier, 2016/02/08
- Re: [Emacs-diffs] master de76a16: Performance improvements for vc-hg, Daniel Colascione, 2016/02/08
- Re: [Emacs-diffs] master de76a16: Performance improvements for vc-hg, Eli Zaretskii, 2016/02/08
- VC's modeline (was: [Emacs-diffs] master de76a16: Performance improvements for vc-hg), Stefan Monnier, 2016/02/08
- Re: VC's modeline,
Óscar Fuentes <=
- Re: VC's modeline, Stefan Monnier, 2016/02/09
- Re: VC's modeline, Óscar Fuentes, 2016/02/09
- Re: VC's modeline, Stefan Monnier, 2016/02/10
- Re: VC's modeline, Dmitry Gutov, 2016/02/13
- Re: VC's modeline, Markus Triska, 2016/02/13
- Re: VC's modeline, Daniel Colascione, 2016/02/08
- Re: VC's modeline, Markus Triska, 2016/02/13