[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vc-state and unregistered (was: bug#20637: incompatible, undocumented ch
From: |
Michael Albinus |
Subject: |
vc-state and unregistered (was: bug#20637: incompatible, undocumented change to vc-working-revision) |
Date: |
Mon, 18 Apr 2016 16:55:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Dmitry Gutov <address@hidden> writes:
Hi Dmitry,
> I don't really see a point in returning `unregistered' from
> `vc-state'. When would the caller treat it differently from nil? And
> returning nil seems like an easier choice, implementation-wise, and
> well as a more conservative one from the backward compatibility
> perspective.
I've checked a little bit more. If we use nil instead of unregistered as
result from vc-state, we cannot use file properties for this function
anymore. nil is meant as "no property set". This would be a regression.
Best regards, Michael.
- vc-state and unregistered (was: bug#20637: incompatible, undocumented change to vc-working-revision),
Michael Albinus <=
- Re: vc-state and unregistered, Dmitry Gutov, 2016/04/18
- Re: vc-state and unregistered, Michael Albinus, 2016/04/19
- Re: vc-state and unregistered, Dmitry Gutov, 2016/04/19
- Re: vc-state and unregistered, Michael Albinus, 2016/04/19
- Re: vc-state and unregistered, Dmitry Gutov, 2016/04/19
- Re: vc-state and unregistered, Michael Albinus, 2016/04/24
- Re: vc-state and unregistered, Dmitry Gutov, 2016/04/24
- Re: vc-state and unregistered, Michael Albinus, 2016/04/24
- Re: vc-state and unregistered, Dmitry Gutov, 2016/04/24
- Re: vc-state and unregistered, Michael Albinus, 2016/04/24