[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37137: Setting font-lock-case-fold-search to t causes hangs on certa
bug#37137: Setting font-lock-case-fold-search to t causes hangs on certain types in c-mode
Sun, 25 Aug 2019 14:12:49 -0400
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
> I have in my .emacs file only these two lines:
> '(font-lock-keywords-case-fold-search t))
How did you end up with that?
font-lock-keywords-case-fold-search is not a customize variable, so you
should not set it with custom-set-variables.
> Then if I visit an empty or nonexistent C file and just type "LONG"
> (in all caps or with at least one letter being capital), Emacs will
> hang after typing the final G but before the G appears on screen
Clearly not a desirable behavior, indeed, but the above var setting is
clearly a pilot error. Of course
(setq-default font-lock-keywords-case-fold-search t)
would give the same result, but I'd also argue that it'd be
a pilot error.