From: Duarte Fusco <duarte.fusco@qip.ru>
To: help-gnu-emacs@gnu.org
Subject: anomalous colours in size_t f()
Date: Wed, 28 Dec 2011 03:50:04 +0400 [thread overview]
Message-ID: <9f25b7aba1d7c95157a4445f6e8ec11c87def3f1@mail.qip.ru> (raw)
Hello
A fragment of C code like the following:
int main(void) {
f1(void);
}
int f2(void) {
}
is usually displayed in emacs in a way such that:
the types are displayed in green colour: int, void
the functions being defined are displayed in blue colour: main, f2
the functions being called are displayed in white colour: f1
Now, when I write this:
int main(void) {
f1(void);
}
size_tf2(void) {
}
size_tf2 is displayed in blue colour, which is all right. Then I type a space between size_t and f2:
int main(void) {
f1(void);
}
size_t f2(void) {
}
Now, I was expecting to get size_t in green colour and f2 in blue colour, but the fact is I always get size_t in blue colour and f2 in white colour.
Is this anomaly a bug in emacs?
Duarte
reply other threads:[~2011-12-27 23:50 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=9f25b7aba1d7c95157a4445f6e8ec11c87def3f1@mail.qip.ru \
--to=duarte.fusco@qip.ru \
--cc=help-gnu-emacs@gnu.org \
/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.
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).