unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Javier Oviedo" <email_joviedo@yahoo.com>
Subject: font-lock question
Date: Mon, 9 Feb 2004 11:18:00 -0500	[thread overview]
Message-ID: <c08br8$bkm$1@home.itg.ti.com> (raw)

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

             reply	other threads:[~2004-02-09 16:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-09 16:18 Javier Oviedo [this message]
2004-02-09 18:12 ` font-lock question Alan Mackenzie
2004-02-09 20:50   ` Javier Oviedo
2004-02-10 13:49     ` Javier Oviedo
2004-02-12 15:46     ` Kai Grossjohann
2004-02-12 18:47       ` Javier Oviedo
2004-02-14 18:47         ` Kai Grossjohann

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='c08br8$bkm$1@home.itg.ti.com' \
    --to=email_joviedo@yahoo.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).