unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Perry Smith <pedz@easesoftware.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: composing faces
Date: Fri, 17 Nov 2006 14:16:43 -0600	[thread overview]
Message-ID: <BA30B872-479C-47D3-97D5-36D4589CEDE9@easesoftware.com> (raw)
In-Reply-To: <87zmapdh6w.fsf@pereiro.luannocracy.com>


[-- Attachment #1.1: Type: text/plain, Size: 556 bytes --]

On Nov 17, 2006, at 1:08 PM, David Abrahams wrote:

>
> Is there a way to define a new face that's exactly like some other
> face, except for certain changes?  For example, I'd like to build a
> face that's exactly font-lock-variable-name-face, except that it's
> always italic.

(copy-face 'font-lock-variable-name-face 'my-new-face)
(set-face-attribute 'my-new-face nil :italic t)


HTH,
Perry Smith ( pedz@easesoftware.com )
Ease Software, Inc. ( http://www.easesoftware.com )

Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems



[-- Attachment #1.2: Type: text/html, Size: 4935 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2006-11-17 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-17 19:08 composing faces David Abrahams
2006-11-17 20:16 ` Perry Smith [this message]
     [not found] ` <mailman.767.1163794621.2155.help-gnu-emacs@gnu.org>
2006-11-17 20:32   ` David Kastrup

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=BA30B872-479C-47D3-97D5-36D4589CEDE9@easesoftware.com \
    --to=pedz@easesoftware.com \
    --cc=help-gnu-emacs@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.
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).