* bug#11986: 24.1; cc-mode not font lock objc methods with leading _
@ 2012-07-19 10:25 Leo
2012-07-20 5:14 ` Leo
0 siblings, 1 reply; 3+ messages in thread
From: Leo @ 2012-07-19 10:25 UTC (permalink / raw)
To: 11986
Put the following objc method declaration¹ in an objc-mode buffer:
- (DDMathStringToken *)_parseNumberWithError:(NSError **)error;
You can see _parseNumberWithError not highlighted in
font-lock-function-name-face. This may be due to c-symbol-start not
containing _.
Leo
Footnotes:
¹ Taken from https://github.com/davedelong/DDMathParser
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#11986: 24.1; cc-mode not font lock objc methods with leading _
2012-07-19 10:25 bug#11986: 24.1; cc-mode not font lock objc methods with leading _ Leo
@ 2012-07-20 5:14 ` Leo
2012-07-20 12:16 ` Leo
0 siblings, 1 reply; 3+ messages in thread
From: Leo @ 2012-07-20 5:14 UTC (permalink / raw)
To: 11986
I plan to install the following fix later day.
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 493f3db0..78be8ac2 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -578,7 +578,7 @@ (c-lang-defconst c-symbol-start
operator at the top level."
t (concat "[" c-alpha "_]")
java (concat "[" c-alpha "_@]")
- objc (concat "[" c-alpha "@]")
+ objc (concat "[" c-alpha "_@]")
pike (concat "[" c-alpha "_`]"))
(c-lang-defvar c-symbol-start (c-lang-const c-symbol-start))
Leo
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#11986: 24.1; cc-mode not font lock objc methods with leading _
2012-07-20 5:14 ` Leo
@ 2012-07-20 12:16 ` Leo
0 siblings, 0 replies; 3+ messages in thread
From: Leo @ 2012-07-20 12:16 UTC (permalink / raw)
To: 11986-done
Installed in emacs-24.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-20 12:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19 10:25 bug#11986: 24.1; cc-mode not font lock objc methods with leading _ Leo
2012-07-20 5:14 ` Leo
2012-07-20 12:16 ` Leo
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.