all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrg@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: apply multiple faces using propertize
Date: Sat, 04 Sep 2010 15:22:57 +0200	[thread overview]
Message-ID: <i5th7k$6vf$1@quimby.gnus.org> (raw)
In-Reply-To: jwv8w3h297o.fsf-monnier+gnu.emacs.help@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Could some kind soul give me an example of stacking faces in elisp using
>> "propertize" please e.g the system display will use the second face if
>> the first is not defined?
>
> (propertize "foo" 'face '(face1 face2)) ?
>
>         Stefan
>

Hi Stefan

I have been digging around and cant find a way to set an existing face
:inherit property programmatically. Is it possible or only when I
defined the face to start with?

r.


  parent reply	other threads:[~2010-09-04 13:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.19.1283571204.27953.help-gnu-emacs@gnu.org>
2010-09-04  8:40 ` apply multiple faces using propertize Stefan Monnier
2010-09-04 12:15   ` Richard Riley
2010-09-04 13:22   ` Richard Riley [this message]
2010-09-04  3:33 Richard Riley

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='i5th7k$6vf$1@quimby.gnus.org' \
    --to=rileyrg@gmail.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.
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.