* anomalous colours in size_t f()
@ 2011-12-27 23:50 Duarte Fusco
0 siblings, 0 replies; only message in thread
From: Duarte Fusco @ 2011-12-27 23:50 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-27 23:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-27 23:50 anomalous colours in size_t f() Duarte Fusco
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.