From: Stefan Monnier <monnier@iro.umontreal.ca>
To: esr@thyrsus.com
Cc: Juanma Barranquero <lekktu@gmail.com>,
Richard Stallman <rms@gnu.org>,
emacs-devel@gnu.org
Subject: Re: vc-diff in non-VC buffer
Date: Thu, 11 Oct 2007 10:39:22 -0400 [thread overview]
Message-ID: <jwvmyupd8nn.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20071011120005.GD6804@thyrsus.com> (Eric S. Raymond's message of "Thu\, 11 Oct 2007 08\:00\:05 -0400")
> So, for example, you can go to a top-level project directory and just
> do C-x v = to look at the state of all changes beneath it, regardless
> of whether you're actually visiting a controlled file. This is useful,
> and I think many VC users would be (rightly) annoyed if they lost it.
I don't know of such a feature, so I doubt many users would "miss it".
The above scenario to me has the following problem: when you say "go to
a top-level project directory", this can mean to do it by opening some
arbitrary file in that top-level dir or by opening the dir with dired or
with vc-dired.
Of those 3 cases, I think the first case should not be supported. C-v x =
from a file buffer should only apply to that file. The third should of
course be supported and the one I expect people to use.
The second doesn't matter: if it works, it's harmless and if it doesn't it's
not serious either because the user could have used vc-dired instead.
But it should only work if the corresponding dir is under some kind of
version control, of course.
> I'm testing code that errors out if you (a) have an empty fileset, and
> (b) no files are registered immediately under default-directory. Juanma
> thinks this will cover his use case.
Don't check files: it should work in a BACKEND-controlled directory even if no
files are currently registered in BACKEND yet. Check `responsible-p' or
something like that (applied to the directory) instead.
Stefan
next prev parent reply other threads:[~2007-10-11 14:39 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-10 17:19 vc-diff in non-VC buffer Juanma Barranquero
2007-10-10 17:38 ` Eric S. Raymond
2007-10-10 21:31 ` Juanma Barranquero
2007-10-10 21:49 ` Eric S. Raymond
2007-10-10 21:58 ` Juanma Barranquero
2007-10-10 22:13 ` Eric S. Raymond
2007-10-10 22:23 ` Juanma Barranquero
2007-10-10 22:57 ` Eric S. Raymond
2007-10-10 23:06 ` Juanma Barranquero
2007-10-14 16:29 ` Richard Stallman
2007-10-10 22:30 ` Andreas Schwab
2007-10-10 22:57 ` Eric S. Raymond
2007-10-11 5:20 ` Richard Stallman
2007-10-11 12:00 ` Eric S. Raymond
2007-10-11 14:39 ` Stefan Monnier [this message]
2007-10-11 17:40 ` Richard Stallman
2007-10-13 6:40 ` Richard Stallman
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=jwvmyupd8nn.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=esr@thyrsus.com \
--cc=lekktu@gmail.com \
--cc=rms@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).