GNU bug report logs -
#36432
26.2; SMIE does not request forward tokens when point is at point-max
Previous Next
Full log
View this message in rfc822 format
> From: Sam Halliday <sam.halliday <at> gmail.com>
> Date: Sat, 29 Jun 2019 13:34:06 +0100
> Cc: 36432 <at> debbugs.gnu.org
>
> > ??? There can be noting at point-max, as that position is beyond the
> > last buffer position. Did you mean the position just before that? Or
> > am I missing something here?
> >
>
> I mean at point-max.
>
> Consider this layout algorithm
>
> https://gitlab.com/tseenshe/haskell-tng.el/blob/tng/haskell-tng-layout.el
>
> and this lexer
>
> https://gitlab.com/tseenshe/haskell-tng.el/blob/tng/haskell-tng-lexer.el
>
> that can continue to produce tokens even when the point is at the very
> end of the buffer.
So you create an illusion of characters beyond the EOB?
How would Emacs know this is the case? Why don't you also override
point-max to make it consistent with those illusory characters?
This bug report was last modified 5 years and 353 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.