|
From: | Stefan Monnier |
Subject: | Re: emacs rendering comparisson between emacs23 and emacs26.3 |
Date: | Mon, 06 Apr 2020 11:29:41 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> As long as we are not there (and IMO even after that) Emacs should be > able to do its SMIE parsing in a practical way: Restrict backward and > forward parsing to the smallest reasonable code fragment around point. > And reasonable would mean the smallest enclosing fragment delimited by > two parens in column zero it can find in either direction (which can be > still quite large when viewing functions like redisplay_internal). Could people refrain from "X should do Y" when they have no idea how X currently works? SMIE's indentation works by parsing backward, so that it stops parsing as soon as it found the info needed to determine the indentation to use. It almost always stops long before reaching the nearest "open paren in column 0". Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |