From: Yevgeniy Makarov <emakarov@cs.indiana.edu>
Subject: Re: Can a face have different attributes in different buffers?
Date: Sun, 23 Jan 2005 00:09:05 -0500 [thread overview]
Message-ID: <csvbhi$r98$1@rainier.uits.indiana.edu> (raw)
In-Reply-To: yoijekgc6g4w.fsf@helm.dd.chalmers.se
Johan Bockgård wrote:
> The standard font lock faces are referenced through variables.
That's a great idea. I created a new face called mail-quotation-face after the
example of font-lock-comment-face, and then put the following code in .emacs:
(add-hook 'mail-mode-hook
'(lambda ()
(make-local-variable 'font-lock-comment-face)
(setq font-lock-comment-face 'mail-quotation-face)))
This makes quotation one color, and the comments in other buffers are another
color.
Thank you again,
Yevgeniy
next prev parent reply other threads:[~2005-01-23 5:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-22 23:22 Can a face have different attributes in different buffers? Yevgeniy Makarov
2005-01-23 0:02 ` Pascal Bourguignon
2005-01-23 2:19 ` Johan Bockgård
2005-01-23 5:09 ` Yevgeniy Makarov [this message]
2005-01-24 17:31 ` Kevin Rodgers
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='csvbhi$r98$1@rainier.uits.indiana.edu' \
--to=emakarov@cs.indiana.edu \
/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.