all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Neil Baylis <neil.baylis@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Elisp: How to set multiple text properties.
Date: Sat, 15 Jan 2011 08:19:40 -0800 (PST)	[thread overview]
Message-ID: <9c06c829-c35e-4af8-beec-726fa5f66e11@32g2000yqz.googlegroups.com> (raw)
In-Reply-To: jwvfwsv5ce3.fsf-monnier+gnu.emacs.help@gnu.org

On Jan 14, 2:49 pm, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > I think I'm missing something obvious. What's the correct way to set
> > multiple properties on text from within an elisp function?
>
> The `face' text-property can be a list of faces rather than
> a single face.
>
>         Stefan

OK, cool. That lets me specify bold and italic at the same time. Is
there a way to use the 'face property to specify colors?

Neil


  reply	other threads:[~2011-01-15 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 19:19 Elisp: How to set multiple text properties Neil Baylis
2011-01-14 22:49 ` Stefan Monnier
2011-01-15 16:19   ` Neil Baylis [this message]
2011-01-15 18:53     ` Neil Baylis
2011-01-15 19:45       ` Mirko

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=9c06c829-c35e-4af8-beec-726fa5f66e11@32g2000yqz.googlegroups.com \
    --to=neil.baylis@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.