From: Eli Zaretskii <eliz@gnu.org>
To: Alan Mackenzie <acm@muc.de>
Cc: 56841@debbugs.gnu.org, sacks@ucar.edu
Subject: bug#56841: Emacs-28 C Mode: Fontification errors when arglist closing ) is on next line
Date: Sat, 30 Jul 2022 17:14:43 +0300 [thread overview]
Message-ID: <83a68q6624.fsf@gnu.org> (raw)
In-Reply-To: <YuUslA75KBw1sXOc@ACM> (message from Alan Mackenzie on Sat, 30 Jul 2022 13:05:24 +0000)
> Cc: Bill Sacks <sacks@ucar.edu>
> Date: Sat, 30 Jul 2022 13:05:24 +0000
> From: Alan Mackenzie <acm@muc.de>
>
> 1. Start emacs -Q.
> 2. Insert the following file in C Mode:
>
> void myfunc(
>
> ) {
>
> }
>
> 3. In line 2 (the first blank line) type "<TAB>int somevar".
> 4. Note that somevar is not fontified. This is a bug, given that the
> arglist to myfunc is terminated with a ) on line 3.
> 5. Do something (e.g. typing M-x) to cause a redisplay. somevar gets
> its correct face.
> 6. Note that any insertion or deletion in L2 causes somevar to lose its
> fontification. This is a bug.
> 7. (After 6). Move point onto somevar and do C-u C-x =. This shows
> that the face text property is set on the character despite the face
> not appearing on the screen.
Are you saying this is not a bug in CC mode but somewhere else? Or
are you saying that you don't yet know what is the culprit and will
investigate?
next prev parent reply other threads:[~2022-07-30 14:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-30 13:05 bug#56841: Emacs-28 C Mode: Fontification errors when arglist closing ) is on next line Alan Mackenzie
2022-07-30 14:14 ` Eli Zaretskii [this message]
2022-07-30 14:27 ` Alan Mackenzie
2022-07-30 15:10 ` Eli Zaretskii
2022-07-31 15:48 ` Alan Mackenzie
2022-07-31 15:53 ` Eli Zaretskii
2022-08-02 19:30 ` Alan Mackenzie
2022-08-22 16:08 ` Bill Sacks
2022-08-24 15:10 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83a68q6624.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=56841@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=sacks@ucar.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).