emacs-devel
[Top][All Lists]
Advanced

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

Re: cc-mode fontification feels random


From: Alan Mackenzie
Subject: Re: cc-mode fontification feels random
Date: Sat, 19 Jun 2021 09:25:30 +0000

Hello, Daniel.

On Wed, Jun 09, 2021 at 19:21:20 -0700, Daniel Colascione wrote:


> On June 9, 2021 1:20:32 PM Alan Mackenzie <acm@muc.de> wrote:

[ .... ]

> > You could instead try to specify which tokens should get
> > font-lock-type-face and which shouldn't, thus giving something
> > concrete to discuss.  I think this will be difficult to do well, and
> > may lead to the result which I alluded to above.

> Sure. To be more precise: what I propose is not applying 
> font-lock-type-face to symbols when we think that symbol is a type solely 
> because it's been entered into cc-mode's table of dynamically discovered 
> types for the current buffer.

OK, I'll make a trial implementation of this, controlled by a user option
to switch it on and off.  Give me just a little time.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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