[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs rewrite in a maintainable language
From: |
Tassilo Horn |
Subject: |
Re: Emacs rewrite in a maintainable language |
Date: |
Tue, 13 Oct 2015 21:45:44 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> Yes, they are all a bit logy in general but there's one thing which
>> they (and any other editors I know of, say Vim, JEdit, gedit) do
>> orders of magnitude faster than Emacs: syntax highlighting. Of
>> course, Emacs' font-lock is better and much more flexible because
>> it's implemented in Lisp but it's painfully slow anyway.
>
> In which major modes is font-lock "painfully slow", in your
> experience? I only see with in C-derived languages.
Yes, C-derived modes are definitely the worst in that respect but I also
experience this problem with AUCTeX font-latex.el. There the
fontification rules aren't that complex but there are a simply a lot of
rules.
I sometimes also have slowdowns in elisp-mode and clojure-mode but there
I think it's not the fault of font-lock but rather some minor-mode
hooking into `post-command-hook'. I likely suspect could be
`aggressive-indent-mode' but I haven't profiled that yet because it
happens only sporadically.
So what I intended to say in the "performance matters or not" debate is
that it probably doesn’t matter too much except for evaluating Elisp.
Bye,
Tassilo
- Re: Emacs rewrite in a maintainable language, (continued)
- Re: Emacs rewrite in a maintainable language, Ludovic Courtès, 2015/10/16
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/17
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Przemysław Wojnowski, 2015/10/13
- Re: Emacs rewrite in a maintainable language, Gian Uberto Lauri, 2015/10/13
- Re: Emacs rewrite in a maintainable language, Tassilo Horn, 2015/10/13
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/13
- Re: Emacs rewrite in a maintainable language,
Tassilo Horn <=
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/13
- Re: Emacs rewrite in a maintainable language, Przemysław Wojnowski, 2015/10/13
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/15
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/13
- Re: Emacs rewrite in a maintainable language, Przemysław Wojnowski, 2015/10/15
- emacs IDE features (was: Emacs rewrite in a maintainable language), Andrés Ramírez, 2015/10/13
- Re: emacs IDE features, John Wiegley, 2015/10/13
- Re: emacs IDE features, Phillip Lord, 2015/10/15
- Re: emacs IDE features, John Wiegley, 2015/10/16
- Re: emacs IDE features, Eli Zaretskii, 2015/10/17