GNU bug report logs -
#74281
30.0.91; font-lock mode hangs on scrolling large Scheme file
Previous Next
Reported by: Divya Ranjan <divya <at> subvertising.org>
Date: Sat, 9 Nov 2024 16:06:01 UTC
Severity: normal
Found in version 30.0.91
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
Message #77 received at 74281 <at> debbugs.gnu.org (full text, mbox):
> Apologies, I mistyped during travelling, the file I was referring to was the
> original file of the bug report. `tex.scm` is the file from the Guix source
> tree: /gnu/packages/tex.scm
Hmm... on my tests, I can reproduce in `emacs-30` the very slow
font-locking you described when we're at the end of the buffer, but not
on `master`. Just to confirm that you're running the "right" code, can
you do `M-: font-lock--syntax-table-affects-ppss RET` from within that
`tex.scm` buffer? It should return nil if my fix was applied. If it
returns t then you're presumably still using the old code (or there's
something else amiss). If it returns something else than nil or t then
there's something else amiss.
FWIW, even with the fix, Emacs is not quite able to keep up with `M-v`
with an auto-repeat of 40/s when done from the end of the buffer, but:
- When I release the key it catches up fairly quickly (hence the "not
quite"). So I wouldn't describe it as "hangs".
- This is on my 16 years old 2.5GHz Core 2 Duo (Thinkpad T61).
- It's an Emacs compiled with `-Og` and with `--enable-checking`.
Stefan
This bug report was last modified 140 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.