From: Masatake YAMATO <jet@gyve.org>
Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org
Subject: Re: C preprocessor directives in asm-mode and ld-script-mode
Date: Tue, 15 Nov 2005 00:45:33 +0900 (JST) [thread overview]
Message-ID: <20051115.004533.104053326.jet@gyve.org> (raw)
In-Reply-To: <E1Eb2pg-00036J-20@fencepost.gnu.org>
> In order to fontificate C preprocessor directives well in asm-mode and
> ld-script-mode, I'd like to make c-font-lock-keywords-1 in GNU Emacs
> 21.2 revive as `cpp-font-lock-keywords'.
>
> Why was that deleted in the first place?
>
> If we do bring it back, it seems strange not to use it in C mode.
> Is there any reason not to use it in C mode as well?
> Can you see how to do that?
`c-font-lock-keywords-1' of cc-mode is accurate, but tightly integrated
to cc-mode itself. I cannot find an easy way to reuse the
`c-font-lock-keywords-1' at the outside of cc-mode.
Masatake YAMATO
next prev parent reply other threads:[~2005-11-14 15:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-12 4:45 C preprocessor directives in asm-mode and ld-script-mode Masatake YAMATO
2005-11-12 21:22 ` Richard M. Stallman
2005-11-14 15:45 ` Masatake YAMATO [this message]
2005-12-29 17:11 ` Richard M. Stallman
2006-01-05 19:00 ` Masatake YAMATO
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051115.004533.104053326.jet@gyve.org \
--to=jet@gyve.org \
--cc=bug-cc-mode@gnu.org \
--cc=emacs-devel@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.
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.