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: Ivan Shmakov
Subject: Re: vc-dir default directory: repository root?
Date: Wed, 21 Jan 2015 18:22:55 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Dmitry Gutov <address@hidden> writes:
>>>>> On 01/21/2015 07:33 PM, Dan Nicolaescu wrote:

[…]

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

 > That's not good.  'C-u' should mean "I want to choose", and no prefix
 > should mean "do the best possible thing", which is to use the
 > repository root, since there's no obvious other choice.

        The obvious other choice is, obviously, to use default-directory.

 > I'd propose a patch like that, but vc-dir already changes behavior
 > with prefix, and in a different way (allows to select the backend).
 > Not sure how best to combine the two.

        I’d rather support the addition of a separate vc-root-dir
        command (as per http://debbugs.gnu.org/12492), especially given
        that we already have vc-root-diff and vc-print-root-log.

-- 
FSF associate member #7257  Zybex (Moody Malongo Mix) — Ahriakin  … 230E 334A



reply via email to

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