[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36432: 26.2; SMIE does not request forward tokens when point is at p
From: |
Eli Zaretskii |
Subject: |
bug#36432: 26.2; SMIE does not request forward tokens when point is at point-max |
Date: |
Sat, 29 Jun 2019 16:43:25 +0300 |
> From: Sam Halliday <sam.halliday@gmail.com>
> Date: Sat, 29 Jun 2019 14:13:16 +0100
> Cc: 36432@debbugs.gnu.org
>
> On 29/06/2019, Eli Zaretskii <eliz@gnu.org> wrote:
> > It should be easier to modify SMIE to take characters from a string,
> > then you could put whatever you want into that string. Or maybe SMIE
> > already supports reading from strings, I don't know.
>
> I agree. SMIE should be operating on a list of tokens and a lookup
> from those tokens to the original buffer (and content). In most cases
> SMIE is written this way but I suspect there are a few lapses.
In any case, I'm CC'ing Stefan who knows much more about SMIE than I
do. Apologies in advance if Stefan says my fears have no basis.
bug#36432: 26.2; SMIE does not request forward tokens when point is at point-max, Stefan Monnier, 2019/06/29