|
From: | Daniel Colascione |
Subject: | Re: cc-mode fontification feels random |
Date: | Mon, 7 Jun 2021 17:06:18 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 6/7/21 6:37 AM, Eli Zaretskii wrote:
From: Stefan Monnier <monnier@iro.umontreal.ca> Cc: Eli Zaretskii <eliz@gnu.org>, acm@muc.de, dancol@dancol.org, emacs-devel@gnu.org Date: Mon, 07 Jun 2021 09:20:22 -0400Unless `open-paren-in-column-0-is-defun-start' is non-nil.We can use hacks like this one, indeed, but it's not in fashion nowadays.Yes, we prefer waiting forever for Emacs to respond to a TAB or RET, and are okay with "random" fontification which triggered this thread. The price of fashion, I guess.
If a modern machine you're waiting "forever" to syntactically scan the buffer from BOB, something is very wrong. There's just no reason to use hacks like open-paren-in-column-0-is-defun-start, especially if we can checkpoint parsing.
[Prev in Thread] | Current Thread | [Next in Thread] |