[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer
From: |
Juanma Barranquero |
Subject: |
bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook |
Date: |
Wed, 17 Jul 2013 17:16:15 +0200 |
On Wed, Jul 17, 2013 at 5:04 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> If we must always
> run this from weird --eval arguments on the command line
Using --eval from the command line is not required, just makes timing
it all easier. But if you want a reproducible case without eval:
;; .emacs starts here
(add-hook 'prog-mode-hook 'font-lock-fontify-buffer)
;; .emacs ends here
emacs [/path/to/]xdisp.c
That's it. I don't know how to make it simpler.
> and on top
> of that call fontification from an obscure mode hook
prog-mode-hook isn't "obscure", We've spent time making all
programming modes derive from prog-mode, so running things on it is
nothing strange.
Also, I do not choose where I will hit a bug :-)
J
- bug#14886: Fwd: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, (continued)
- bug#14886: Fwd: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, Stefan Monnier, 2013/07/24
- bug#14886: Fwd: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, Juanma Barranquero, 2013/07/25
- bug#14886: Fwd: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, Alan Mackenzie, 2013/07/26
- bug#14886: Fwd: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, Juanma Barranquero, 2013/07/26
- bug#14886: Fwd: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, Alan Mackenzie, 2013/07/27
- bug#14886: Fwd: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, martin rudalics, 2013/07/27
- bug#14886: Fwd: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, Stefan Monnier, 2013/07/27
- bug#14886: Fwd: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, Alan Mackenzie, 2013/07/28
- bug#14886: Fwd: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, Juanma Barranquero, 2013/07/27
- bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook, Eli Zaretskii, 2013/07/17
- bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook,
Juanma Barranquero <=