[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: In search for an emacs hacker
From: |
Emanuel Berg |
Subject: |
Re: In search for an emacs hacker |
Date: |
Fri, 24 Sep 2021 08:37:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Thibaut Verron wrote:
>>> Another major issue is that syntax highlighting becomes
>>> makes emacs so slow [...]
>>
>> It is known as font lock in the Emacs world and it
>> shouldn't make Emacs slow, again ask for help or do
>> `emacs-report-bug' to get help/hopefully have the
>> issue fixed.
>
> That's a bold statement.
No pun intended ...
> Font lock can involve arbitrarily complicated regular
> expressions (maybe even arbitrary code?), and depending on
> the major mode it can be slow. Typical examples are large
> latex [...] buffers.
>
> The advice to report occurrences as a bug is sound, but if
> it's not a core mode, the bug report should probably be
> addressed to the relevant developers.
There are several modes for LaTeX, I use `tex-mode' which is
"part of GNU Emacs" with "Maintainer: emacs-devel@gnu.org"
(tex-mode.el) and I have never experienced that that makes
Emacs slow.
But in general, put in crazy stuff and all bets are of with
the outcome - it can be crazy as well, even.
However here in particular, I've heard that font-lock is
carried out by the idle timer so in theory it shouldn't be
possible for it to slow down Emacs. But maybe in practice the
idle timer just _executes_ stuff when Emacs is idling and
cannot later preempt it once commenced ...
collaborative/cooperative after all.
--
underground experts united
https://dataswamp.org/~incal
Re: In search for an emacs hacker, Emanuel Berg, 2021/09/24
Re: In search for an emacs hacker, Daniel Fleischer, 2021/09/06
Re: In search for an emacs hacker, Eduardo Ochs, 2021/09/06
Re: In search for an emacs hacker, Vitus Schäfftlein, 2021/09/12
- Re: In search for an emacs hacker, Arash Esbati, 2021/09/13
- Re: In search for an emacs hacker, Emanuel Berg, 2021/09/24
- RE: [External] : Re: In search for an emacs hacker, Drew Adams, 2021/09/24
- Re: [External] : Re: In search for an emacs hacker, Emanuel Berg, 2021/09/24
- RE: [External] : Re: In search for an emacs hacker, Drew Adams, 2021/09/24
Re: In search for an emacs hacker, Vitus Schäfftlein, 2021/09/12
Re: In search for an emacs hacker, Vitus Schäfftlein, 2021/09/12