[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: |
Sat, 06 Jan 2018 10:26:43 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Can you describe a practical situation where an Elisp coder could use
> the new text to some practical benefit, i.e. to change her
> implementation to be better/more resilient (as opposed to just
> enhancing her understanding of this stuff)? I guess I don't see how
> such practical benefits would be possible with the new text.
In CC-mode, Alan wants to store information about the state of the
buffer before a change and then use this info after the change (IIUC
this is mostly to try and avoid recomputing parsing info about the rest
of the buffer). With the current description, all he can say is "in
practice my hack works 99% of the time, and the doc says that
I basically can't bring it to 100%". With the new description, it
should be possible for him to bring it to 100% (as you know I think he'd
be better off using an approach like that of syntax-ppss, but that
doesn't mean we shouldn't try to make it possible to do it reliably his
way).
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/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, Eli Zaretskii, 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, Eli Zaretskii, 2018/01/06
- Re: Lisp primitives and their calling of the change hooks,
Stefan Monnier <=