[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Don't complain about changed file when it hasn't changed
From: |
Clément Pit--Claudel |
Subject: |
Re: Don't complain about changed file when it hasn't changed |
Date: |
Tue, 30 Aug 2016 11:23:31 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 2016-08-30 11:01, Stefan Monnier wrote:
>> Also, why not just introduce a function buffer-min, instead of the
>> (save-restriction) + (widen) dance?
>
> We could, yes.
>
> Note that it wouldn't help us in the present case, since we will look
> (via compare-buffer-substring) at the whole buffer's text, so we need to
> widen anyway.
I see, thanks! I didn't realize that these functions needed widening. Its
documentation doesn't seem to mention it, nor its docstring. What about the
attached patch?
0001-Mention-that-compare-buffer-substrings-can-throw-arg.patch
Description: Text Data
signature.asc
Description: OpenPGP digital signature
Re: Don't complain about changed file when it hasn't changed, Stefan Monnier, 2016/08/30
Re: Don't complain about changed file when it hasn't changed, Clément Pit--Claudel, 2016/08/30
Re: Don't complain about changed file when it hasn't changed, Stefan Monnier, 2016/08/30
Re: Don't complain about changed file when it hasn't changed,
Clément Pit--Claudel <=
Re: Don't complain about changed file when it hasn't changed, Eli Zaretskii, 2016/08/30
Re: Don't complain about changed file when it hasn't changed, Clément Pit--Claudel, 2016/08/30
Re: Don't complain about changed file when it hasn't changed, Stefan Monnier, 2016/08/30
Re: Don't complain about changed file when it hasn't changed, Eli Zaretskii, 2016/08/30
Re: Don't complain about changed file when it hasn't changed, Eli Zaretskii, 2016/08/29
Re: Don't complain about changed file when it hasn't changed, Davis Herring, 2016/08/29