[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mysterious fontification/C++ context issue
From: |
Chong Yidong |
Subject: |
Re: Mysterious fontification/C++ context issue |
Date: |
Wed, 06 Dec 2006 11:31:29 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
address@hidden (Kim F. Storm) writes:
>> 3. All this is still awfully slow and expensive: Open a larger buffer
>> like xdisp.c, jump to its end, hit M-v a couple of times, and look at
>> CPU consumption.
>
> I can second that. Working on xdisp.c has become awfully slow lately.
> We definitely need to fix this before the release!
I'm third.
Could we set open-paren-in-column-0-is-defun-start to t for c mode?
This gives the old behavior, which, though incorrect in corner cases,
is at least usable. Individual users can set it back to nil if
slow-but-correct fontification is desired (and it's irrelevant for
anyone but Emacs hackers anyway).
As for RMS's suggestion of writing a beginning-of-defun-function, I
don't see any dramatic optimizations that we could employ to make that
a solution for this (apart from, well, assuming that open parens in
column zero are defun starts :-).
- Re: Mysterious fontification/C++ context issue, Alan Mackenzie, 2006/12/04
- Re: Mysterious fontification/C++ context issue, Richard Stallman, 2006/12/05
- Re: Mysterious fontification/C++ context issue, martin rudalics, 2006/12/06
- Re: Mysterious fontification/C++ context issue, Kim F. Storm, 2006/12/06
- Re: Mysterious fontification/C++ context issue,
Chong Yidong <=
- Re: Mysterious fontification/C++ context issue, Richard Stallman, 2006/12/06
- Re: Mysterious fontification/C++ context issue, Chong Yidong, 2006/12/09
- Re: Mysterious fontification/C++ context issue, Stefan Monnier, 2006/12/09
- Re: Mysterious fontification/C++ context issue, Richard Stallman, 2006/12/10
- Re: Mysterious fontification/C++ context issue, Stefan Monnier, 2006/12/10
- Re: Mysterious fontification/C++ context issue, Stefan Monnier, 2006/12/10
- Re: Mysterious fontification/C++ context issue, Chong Yidong, 2006/12/12
- Re: Mysterious fontification/C++ context issue, Stefan Monnier, 2006/12/12
- Re: Mysterious fontification/C++ context issue, Richard Stallman, 2006/12/09
- Re: Mysterious fontification/C++ context issue, Alan Mackenzie, 2006/12/09