[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emac
From: |
Alan Mackenzie |
Subject: |
bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang |
Date: |
Wed, 19 Dec 2018 19:20:08 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Hello, Glenn.
On Tue, Dec 18, 2018 at 17:05:22 -0500, Glenn Morris wrote:
> > Maybe the solution would be not to start with-temp-buffer names with
> > a space.
> This sounds totally wrong to me.
> > Maybe the documentation for with-temp-buffer should be amended to
> > recommend Lisp programmers not to use it for buffers holding user
> > text.
> This also sounds wrong to me.
> I confess I have no idea what problem you are trying to solve here.
I have lost the clear overview I had of the problem yesterday, I'm
afraid.
There is an assemblage of confusing features around this bug which seem
to be contributing to the reported bug:
(i) A temporary buffer is created and made a C++ Mode buffer.
(ii) Font Lock Mode isn't enabled.
(iii) Although font lock isn't enabled, font-lock-ensure is called.
This hangs.
(iv) An attempt to enable Font Lock Mode on this buffer fails silently,
because the buffer name begins with a space.
(v) It is unclear whether font-lock-ensure is intended to work when Font
Lock Mode is disabled.
(vi) The spiking of Font Lock Mode to fail on "space buffers" is not
documented, and 23 years later, the reason for it is obscure.
Hope that helps, if only a little.
--
Alan Mackenzie (Nuremberg, Germany).
- bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang, xh yang, 2018/12/17
- Message not available
- bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang, Alan Mackenzie, 2018/12/18
- bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang, Eli Zaretskii, 2018/12/18
- bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang, Alan Mackenzie, 2018/12/18
- bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang, Eli Zaretskii, 2018/12/18
- bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang, Alan Mackenzie, 2018/12/18
- bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang, Glenn Morris, 2018/12/18
- bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang,
Alan Mackenzie <=
- bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang, Eli Zaretskii, 2018/12/19
bug#33784:, xh yang, 2018/12/20