all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: VC's modeline
Date: Mon, 08 Feb 2016 23:02:49 +0100	[thread overview]
Message-ID: <87zivax3li.fsf@wanadoo.es> (raw)
In-Reply-To: jwvmvragaav.fsf-monnier+emacsdiffs@gnu.org

Stefan Monnier <monnier@IRO.UMontreal.CA> 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.




  reply	other threads:[~2016-02-08 22:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160208185311.9470.7389@vcs.savannah.gnu.org>
     [not found] ` <E1aSqvv-0002TM-Vt@vcs.savannah.gnu.org>
2016-02-08 19:55   ` [Emacs-diffs] master de76a16: Performance improvements for vc-hg Stefan Monnier
2016-02-08 20:11     ` Daniel Colascione
2016-02-08 20:21       ` Eli Zaretskii
2016-02-08 20:28         ` Daniel Colascione
2016-02-08 21:01           ` Eli Zaretskii
2016-02-08 21:09             ` Daniel Colascione
2016-02-08 21:39           ` VC's modeline (was: [Emacs-diffs] master de76a16: Performance improvements for vc-hg) Stefan Monnier
2016-02-08 22:02             ` Óscar Fuentes [this message]
2016-02-09 15:15               ` VC's modeline Stefan Monnier
2016-02-09 17:13                 ` Óscar Fuentes
2016-02-10 15:16                   ` Stefan Monnier
2016-02-13 20:01                     ` Dmitry Gutov
2016-02-13  9:33                 ` Markus Triska
2016-02-08 23:29             ` Daniel Colascione
2016-02-13  9:35               ` Markus Triska

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=87zivax3li.fsf@wanadoo.es \
    --to=ofv@wanadoo.es \
    --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.