all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Colascione <dancol@dancol.org>
Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master de76a16: Performance improvements for vc-hg
Date: Mon, 08 Feb 2016 23:01:01 +0200	[thread overview]
Message-ID: <83fux2q5ma.fsf@gnu.org> (raw)
In-Reply-To: <56B8FA6D.9070105@dancol.org> (message from Daniel Colascione on Mon, 8 Feb 2016 12:28:29 -0800)

> Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org
> From: Daniel Colascione <dancol@dancol.org>
> Date: Mon, 8 Feb 2016 12:28:29 -0800
> 
> >> I find the information useful, and we can now get it cheaply.
> > 
> > We are paying a non-trivial price as a project for that information,
> > see for example bug#21559.  Maybe it should be an option, off by
> > default?
> 
> bug#21559 is a corner case.

It could be the tip of an iceberg.

> vc has been in place for decades, and is one of the things that makes
> programming on Emacs pleasant. I'm not in favor of just removing the
> feature because there are a few unfixed bugs. There is nothing
> fundamentally wrong with the model.
> 
> Making vc itself an option that's off by default makes no sense.

I didn't suggest making VC an option.  I suggested to make running the
"status" command optional.

> Under what circumstances should a user enable the feature?

When she wants the mode line to display whatever it is that we display
there.

"When
> he's willing to pay the cost" is the answer I expect.


> How is he supposed to know the feature even exists?

How do users know about the existence of any other feature?  This one
is no different.

> There is no reason that vc integration can't work well and be on by
> default. It was working before my change; now it works better.

For a single VCS, and not the most important one.

The problem with calling "status" is that locks the repository, makes
changes in the filesystem, and interferes with Emacs features that are
sensitive to changes in the filesystem.  Making it optional could be
the only solution to that conundrum.

> A reasonable performance improvement should not be an occasion for
> discussing the removal of a feature made faster.

No one suggested removing the feature, this is a misunderstanding.



  reply	other threads:[~2016-02-08 21:01 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 [this message]
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             ` VC's modeline Óscar Fuentes
2016-02-09 15:15               ` 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=83fux2q5ma.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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.