[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 15:23:11 +0300 |
> From: Sam Halliday <sam.halliday@gmail.com>
> Date: Sat, 29 Jun 2019 13:14:01 +0100
>
> SMIE (via a `indent-for-tab-command') does not request forward tokens
> from the lexer when point is at `point-max'.
>
> This might sound like a strange bug report: why should smie expect
> there to be any tokens when it is already at point-max? The answer is:
> virtual tokens. For example, Haskell may have many closing curly
> brackets that live at the end of the buffer.
??? 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?
bug#36432: 26.2; SMIE does not request forward tokens when point is at point-max, Stefan Monnier, 2019/06/29