[Top][All Lists]

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

Re: CC Mode troubles and Emacs 29

From: Alan Mackenzie
Subject: Re: CC Mode troubles and Emacs 29
Date: Tue, 10 Jan 2023 17:05:55 +0000

Hello, Gregory.

On Tue, Jan 10, 2023 at 10:06:32 +0000, Gregory Heytings wrote:

> >> That's not a tree-sitter problem per se, it's "only" a matter of 
> >> someone taking the time to define a tree-sitter grammar for these 
> >> variants of the C language.  What is not possible is to define "one 
> >> grammar to rule them all", IOW, one grammar that would magically 
> >> recognize in which variant of the C language a given file is written.

> > CC Mode happens to do that fine.

> I fear you contradict yourself.  You cannot say, in a thread which you 
> started to explain that CC Mode fontification is broken (it "fills the 
> buffer with green splotches (making fontification useless)"), that CC Mode 
> fontification works fine.

There is no contradiction in what Po said.  The fact that CC Mode
fontification has bugs in no way contradicts its ability to parse older
variants of C as well as newer ones.

Alan Mackenzie (Nuremberg, Germany).

reply via email to

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