[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp primitives and their calling of the change hooks
From: |
Stefan Monnier |
Subject: |
Re: Lisp primitives and their calling of the change hooks |
Date: |
Sun, 07 Jan 2018 23:29:33 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Yes, that's what I've done. Each zlib-decompress-region now has two
> separate pairs of b/a-c-f, one for insert, then the other for delete.
> This is the way that other "coding" primitives, like
> base64-encode-region work.
LGTM.
>> In practice, I'd also expect both b-c-f and a-c-f to be nil (or
>> equivalent) when we call zlib-decompress-region.
> Yes. But it's nice to have things consistent. :-)
Agreed. There's no justification for inconsistency here.
> Anyhow, here's the patch, which appears to work as described above. Any
> comments? Otherwise I'll commit it.
The subsequent patch which tries to reduce the number of calls to
bcf/acf seems worse because it's more complex (and the marginal benefit
doesn't seem to justify the complexity).
Stefan
- Re: Lisp primitives and their calling of the change hooks, (continued)
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/12
- Re: Lisp primitives and their calling of the change hooks, Clément Pit-Claudel, 2018/01/10
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/10
- Re: Lisp primitives and their calling of the change hooks,
Stefan Monnier <=
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/07
- Re: Lisp primitives and their calling of the change hooks, Eli Zaretskii, 2018/01/07
- Re: Lisp primitives and their calling of the change hooks, Eli Zaretskii, 2018/01/05
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/05
- Re: Lisp primitives and their calling of the change hooks, Eli Zaretskii, 2018/01/05
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/05
- Re: Lisp primitives and their calling of the change hooks, Eli Zaretskii, 2018/01/05
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/05
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/05
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/05