emacs-devel
[Top][All Lists]
Advanced

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

Re: Using different default-directory and relative paths in VC, Was: Re:


From: Stefan Monnier
Subject: Re: Using different default-directory and relative paths in VC, Was: Re: bug#21383
Date: Mon, 07 Sep 2015 21:31:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> Sorry, I didn't realize you were talking about vc-state.  No I guess
>> vc-state would have to keep working with absolute file names (tho it
>> could be extended to also accept relative file names).
> It was just an example.  Would vc-state keep working with absolute file
> names, but vc-working-revision start only accepting relative ones?

I guess all those functions which are part of the API exposed by VC to
external packages would need to preserve support for absolute file
names, yes.

>> I'd expect that the caller should be able to easily arrange for each
>> file in the list to *already* be relative to default-directory, so
>> there's no need to look for the common parent.
> If the relative file names start with "../", the result is pointless:

I explicitly ruled them out in my earlier definition of "relative file names".


        Stefan



reply via email to

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