From: Erik <sigra@home.se>
Subject: C++-mode: Syntax highlighting: wrong color for function identifier depending on the kind of whitespace that follows
Date: Fri, 21 Jan 2005 18:44:19 +0100 [thread overview]
Message-ID: <200501211844.19456.sigra@home.se> (raw)
In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
In C++-mode, type:
void function(int x);
The string "function" is blue, which is correct. Now type:
void function (int x);
The color is still correct. But type:
void function
(int x);
The color is suddenly yellow. This is clearly a bug. It seems to happen when
the whitespace between the function identifier th and argument list includes a
newline. The color of function identifiers should always be the same, and not
depend on what kind of whitespace follows it.
reply other threads:[~2005-01-21 17:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200501211844.19456.sigra@home.se \
--to=sigra@home.se \
/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).