From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Baylis Newsgroups: gmane.emacs.help Subject: Re: Elisp: How to set multiple text properties. Date: Sat, 15 Jan 2011 08:19:40 -0800 (PST) Organization: http://groups.google.com Message-ID: <9c06c829-c35e-4af8-beec-726fa5f66e11@32g2000yqz.googlegroups.com> References: <4b20c8e7-806b-427c-b814-72523c0232eb@s9g2000vby.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1295109647 23225 80.91.229.12 (15 Jan 2011 16:40:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 15 Jan 2011 16:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 15 17:40:43 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pe9BC-0000zV-Ug for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Jan 2011 17:40:43 +0100 Original-Received: from localhost ([127.0.0.1]:47081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pe9BB-0006Iq-Nw for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Jan 2011 11:40:41 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!32g2000yqz.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 76.208.141.253 Original-X-Trace: posting.google.com 1295108380 14884 127.0.0.1 (15 Jan 2011 16:19:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 15 Jan 2011 16:19:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 32g2000yqz.googlegroups.com; posting-host=76.208.141.253; posting-account=dNm1mAoAAADEStfarqbdhwZIMTNBGDT8 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.231 Safari/534.10, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:184299 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78473 Archived-At: On Jan 14, 2:49=A0pm, Stefan Monnier 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. > > =A0 =A0 =A0 =A0 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