[Top][All Lists]

[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 19:22:57 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Dmitry Gutov <address@hidden> writes:
>>>>> On 01/21/2015 08:22 PM, Ivan Shmakov wrote:

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

 > Why default-directory and not any of its parents?

        Are there any other Emacs commands applying read-directory-name
        to something other than default-directory?

        Anyway, the ‘default-dirname’ argument to read-directory-name
        can be a list; the first two elements would be default-directory
        and vc-root (preferably in a customizable order; but personally,
        – I can live up with either), with the rest being the
        intermediates.  All win, no?

 > If the repository root is not the right choice, we now have to guess
 > which subtree of the repository the user is currently working on.

        Or the user can specify it explicitly; in particular, – by
        choosing the right one from the ‘default-dirname’ list.

FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A

reply via email to

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