From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Javier Oviedo" Newsgroups: gmane.emacs.help Subject: font-lock question Date: Mon, 9 Feb 2004 11:18:00 -0500 Organization: Texas Instruments Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1076344382 517 80.91.224.253 (9 Feb 2004 16:33:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2004 16:33:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 09 17:32:55 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AqEL8-0001Eh-00 for ; Mon, 09 Feb 2004 17:32:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AqEJd-0008AB-NB for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Feb 2004 11:31:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!attdl1!attdl2!ip.att.net!news.ti.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: gt64v7121.telogy.design.ti.com Original-X-Trace: home.itg.ti.com 1076343464 11926 158.218.103.164 (9 Feb 2004 16:17:44 GMT) Original-X-Complaints-To: usenet@news.ti.com Original-NNTP-Posting-Date: 9 Feb 2004 16:17:44 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Original-Xref: shelby.stanford.edu gnu.emacs.help:120780 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16728 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16728 Hello all: This will probably sound like a rather bizarre question but here goes... Is there a way to fontify a buffer based on a different mode but still retain all of the original/base modes attributes(expect for the face attributes, of course)? Example: I have c-file open in emacs and the buffer is using c-mode. I'd like to use the faces for emacs-lisp-mode(this just an example, so please humor me) but keep every other attribute of the c-mode. Can this be done? Is there some other way I could accomplish this? Perhaps using a minor mode and it's faces but keeping the attributes of the major mode? I'm open to any and all suggestions. Thanks in advance! -- Javier