[Top][All Lists]

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

Re: vc-state and unregistered

From: Michael Albinus
Subject: Re: vc-state and unregistered
Date: Sun, 24 Apr 2016 21:41:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Dmitry Gutov <address@hidden> writes:

>> See the docstring of vc-state:
>> "A return of nil from this function means we have no information on the
>> status of this file."
>> I would expect this for files which are located in a directory not under
>> version control. None of the tests in vc-tests.el cover this case.
> And if buffer-file-name is outside of any version control, does your
> version of vc-state return nil?

No. I didn't test this. As said, the tests must be improved, that's what
they are good for. And bugs must be fixed.

But for the other cases, files under version control, my last commits
have shown improvements I believe. That's why I find your reaction to
revert everything ... annoying.

reply via email to

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