GNU bug report logs - #62339
cc-mode fontifies variables incorrectly when const follows type

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Tue, 21 Mar 2023 15:17:02 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 62339 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: 62339 <at> debbugs.gnu.org, Alan Mackenzie <acm <at> muc.de>,
 Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#62339: cc-mode fontifies variables incorrectly when const
 follows type
Date: Thu, 23 Mar 2023 13:45:21 +0800
Daniel Colascione <dancol <at> dancol.org> writes:

> Yes, we can  We lived with the old behavior for decades. We can live with it a few weeks longer.

I reported this bug because I saw such code in use.

> Give me a break. No, you don't.

I do.  I *see* code making use of implicit int every day.

> Practically nobody uses this obscure and deprecated C feature. If
> people did, we'd have addressed the problem years ago.

Who does ``we'' refer to?

Put bluntly, you have no right to decide what C code I see or write, or
what C code Alan wants to support.  Declarations consisting of only a
storage class specifier are part of the 1989 C Standard.

This bug is no more important than bug#59267, and both will have to be
fixed and stay fixed.




This bug report was last modified 2 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.