emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-dir default directory: repository root?


From: Dan Nicolaescu
Subject: Re: vc-dir default directory: repository root?
Date: Wed, 21 Jan 2015 12:33:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> It looks like root is a personal preference, there's still not much in
>> terms of solid arguments of why to change a long time default, and the
>> patch doesn't even give a way to get the current behavior, which most
>> people like.
>
> We don't really know what "most people like".  What we do know is that
> the world of revision control has changed a lot since that code was
> written: back then, there was simply no notion of "project root".

That's not quite true, I wrote vc-dir.el in 2007, mostly to deal better
with git and hg project, "project root" was quite well known at a time.

> And since many operations in recent VCSes operate on the whole project,
> I think it's very reasonable to assume that users will generally want to
> see the whole project.

That suffers from the same problem in our first paragraph...

> It's at least my case and Daniel's case.
>
> We can provide the default-directory in M-n or something like that, but
> Daniel's patch is good.

I strongly disagree.
I provided an alternative suggestion: make C-u C-x v d default to the
root directory, or something to put it in history.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]