emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug-reference-prog-mode slows down CC Mode's scrolling by ~7%


From: Eli Zaretskii
Subject: Re: bug-reference-prog-mode slows down CC Mode's scrolling by ~7%
Date: Fri, 03 Sep 2021 15:38:20 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Alan Mackenzie <acm@muc.de>,  emacs-devel@gnu.org
> Date: Fri, 03 Sep 2021 08:30:28 -0400
> 
> > More importantly, this cannot hide in a comment, it must be clearly
> > documented, both in doc strings and in the ELisp manual.  (Assuming
> > this is the change we will go with, of course.)
> 
> I don't understand why you think so.  It's a detail that should be
> purely internal to jit-lock.el (and which should have no impact other
> than in terms of performance).
> 
> E.g. it shouldn't affect those people writing packages which rely on
> jit-lock (it doesn't change the rules of what to return in
> `jit-lock-bounds`, for instance).

But it does change the result.  Users of jit-lock-bounds should
definitely know the importance of being "the first function".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]