GNU bug report logs -
#20383
25.0.50; c-mode: incorrect fontification of function arguments
Previous Next
Reported by: Dima Kogan <dima <at> secretsauce.net>
Date: Mon, 20 Apr 2015 16:34:02 UTC
Severity: normal
Tags: confirmed
Found in version 25.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20383 in the body.
You can then email your comments to 20383 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#20383
; Package
emacs
.
(Mon, 20 Apr 2015 16:34:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dima Kogan <dima <at> secretsauce.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 20 Apr 2015 16:34:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi. This is very similar to
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19669
but with different input.
I'm running an emacs built from 65ac8bc (master branch as of 2015/4/18)
Recipe:
1. emacs -nw -Q tst.c (open attached source)
2. C-n C-o // (navigate to next line, start a new comment)
At this point, the buffer looks like the attached image. Note that at
step 2, the coloration of the 3rd and 5th arguments changed. This is
wrong. In normal use I see this popping up in response to various
inputs, not just starting a comment in some arbitrary place.
Thanks
[tst.c (text/x-csrc, inline)]
// X xxx xxx x 2xx-xxxxx xxxx xxx xxxx X xx, X xxx'x
void xxxx_xxxxxx_xxx_xxxxx( // xxxxx, xxxxxx
// xxxxxxx xxxxx xx xxxxx
struct xxxxx_x* x,
// xxxxxx
long xxxx_xxxx,
// xxxxxxxxx xxxx xxxxxx xx xxxxxxx
T (*x )(const struct xxxxx_x* x),
void (*x) ( struct xxxxx_x* xxxxxx,
const struct xxxxx_x* x),
T (*x_xxx_x) ( struct xxxxx_x* xxxxxx,
const struct xxxxx_x* x),
void (*Xx)( struct xxxxx_x* xxxxxx,
const struct xxxxx_x* x))
{
}
[bad_fontification.png (image/png, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#20383
; Package
emacs,cc-mode
.
(Thu, 03 Dec 2020 11:37:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 20383 <at> debbugs.gnu.org (full text, mbox):
Dima Kogan <dima <at> secretsauce.net> writes:
> 1. emacs -nw -Q tst.c (open attached source)
> 2. C-n C-o // (navigate to next line, start a new comment)
>
> At this point, the buffer looks like the attached image. Note that at
> step 2, the coloration of the 3rd and 5th arguments changed. This is
> wrong. In normal use I see this popping up in response to various
> inputs, not just starting a comment in some arbitrary place.
(This bug report unfortunately got no response at the time.)
I can confirm that this bug is still present in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) confirmed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 03 Dec 2020 11:37:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#20383
; Package
emacs,cc-mode
.
(Tue, 13 Jul 2021 18:03:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 20383 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> I can confirm that this bug is still present in Emacs 28.
Uhm... I think I did it wrong. That is, I can see the described
behaviour after one "/", but after two slashes, the fontification is, as
far as I can tell, totally correct.
So I'm closing this bug report. If there's more to be done here, please
respond to the debbugs address, and we'll reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
20383 <at> debbugs.gnu.org and Dima Kogan <dima <at> secretsauce.net>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 13 Jul 2021 18:03:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 11 Aug 2021 11:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 317 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.