From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Masatake YAMATO Newsgroups: gmane.emacs.devel Subject: Re: C preprocessor directives in asm-mode and ld-script-mode Date: Tue, 15 Nov 2005 00:45:33 +0900 (JST) Message-ID: <20051115.004533.104053326.jet@gyve.org> References: <20051112.134524.155831738.jet@gyve.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131983366 17722 80.91.229.2 (14 Nov 2005 15:49:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2005 15:49:26 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 14 16:49:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EbgWi-0004r2-9x for ged-emacs-devel@m.gmane.org; Mon, 14 Nov 2005 16:45:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbgWh-0000eY-Ok for ged-emacs-devel@m.gmane.org; Mon, 14 Nov 2005 10:45:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EbgWa-0000di-2f for emacs-devel@gnu.org; Mon, 14 Nov 2005 10:45:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EbgWY-0000bb-HK for emacs-devel@gnu.org; Mon, 14 Nov 2005 10:45:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbgWY-0000bS-Er for emacs-devel@gnu.org; Mon, 14 Nov 2005 10:45:38 -0500 Original-Received: from [210.130.136.40] (helo=r-maa.spacetown.ne.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EbgWT-0004mu-UL; Mon, 14 Nov 2005 10:45:34 -0500 Original-Received: from localhost (h219-110-074-001.catv01.itscom.jp [219.110.74.1]) by r-maa.spacetown.ne.jp (8.11.6) with ESMTP id jAEFjT615104; Tue, 15 Nov 2005 00:45:29 +0900 (JST) Original-To: rms@gnu.org In-Reply-To: X-Mailer: Mew version 4.2.53 on Emacs 22.0.51 / Mule 5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45958 Archived-At: > 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