bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24271: 25.1; font-lock problem of c++-mode


From: Lars Ingebrigtsen
Subject: bug#24271: 25.1; font-lock problem of c++-mode
Date: Sun, 17 Nov 2019 08:08:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Jiajian Huang <wherejoystarts@gmail.com> writes:

> This is a more serious example. As you can see, I normally input such
> a short line “using std::string”, the color have change 6 times !  I
> don’s think any of them is a “valid” C++ program except the last one.
>
> I’ve not seen any other major mode has such a “feature”. This is my
> first time get into c++-mode. Because of this mechanism, the current
> input area keep “flashing” too much when keep typing fast within a
> buffer full of words even under such a light color theme.  I feel that
> it’s so different from other major mode(python-mode etc.) soon as I
> switch to c++-mode. Maybe it’s not a bug, but I don’t think it’s a
> good feature.

I tried the recipe in Emacs 27, and it seems like c++ mode is much
calmer these days.  There are one three changes I see to the
fontification while typing that line, and none of them are very
attention-grabbing (i.e., none of them flash red bold at me), so I'm
going to go ahead and guess that this has been tweaked in the years
since this was reported, and I'm closing this bug report.

Please reopen if it's still an issue.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]