GNU bug report logs -
#59215
CC Mode 5.35.2 (C/*l); x_io_error_quitter not fontified as such
Previous Next
Reported by: Po Lu <luangruo <at> yahoo.com>
Date: Sat, 12 Nov 2022 13:00:02 UTC
Severity: normal
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 59215 <at> debbugs.gnu.org (full text, mbox):
Alan Mackenzie <acm <at> muc.de> writes:
> Hello, Po.
>
> On Sat, Nov 12, 2022 at 20:59:19 +0800, Po Lu via CC-Mode-help wrote:
>> Package: cc-mode
>
>> Go to line 25895 of xterm.c in Emacs's source code. Around that
>> location, there should be:
>
>> static int NO_INLINE
>> x_io_error_quitter (Display *display)
>> {
>> char buf[256];
>
>> snprintf (buf, sizeof buf, "Connection lost to X server '%s'",
>> DisplayString (display));
>> x_connection_closed (display, buf, true);
>
>> return 0;
>> }
>
>> There, "x_io_error_quitter" is not fontified as a function!
>> Thanks.
>
> All that is needed here is to define NO_INLINE as a "noise keyword" in
> the C entry in .dir-locals.el. I'll do this this afternoon/evening.
Thanks, it works now.
This bug report was last modified 2 years and 247 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.