* Re: apply multiple faces using propertize [not found] <mailman.19.1283571204.27953.help-gnu-emacs@gnu.org> @ 2010-09-04 8:40 ` Stefan Monnier 2010-09-04 12:15 ` Richard Riley 2010-09-04 13:22 ` Richard Riley 0 siblings, 2 replies; 4+ messages in thread From: Stefan Monnier @ 2010-09-04 8:40 UTC (permalink / raw) To: help-gnu-emacs > 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: apply multiple faces using propertize 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 1 sibling, 0 replies; 4+ messages in thread From: Richard Riley @ 2010-09-04 12:15 UTC (permalink / raw) To: help-gnu-emacs 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 > Ah, very good thanks. In my case since the face name is dynamically generated it was of the form (propertize str 'face (list (genFace "base") (genFace "base" y)) 'gnus-face t) where genFace uses (intern) to convert a string name to its internal symbol. thanks a lot. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: apply multiple faces using propertize 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 1 sibling, 0 replies; 4+ messages in thread From: Richard Riley @ 2010-09-04 13:22 UTC (permalink / raw) To: help-gnu-emacs 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* apply multiple faces using propertize @ 2010-09-04 3:33 Richard Riley 0 siblings, 0 replies; 4+ messages in thread From: Richard Riley @ 2010-09-04 3:33 UTC (permalink / raw) To: help-gnu-emacs 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? ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-04 13:22 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [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 2010-09-04 3:33 Richard Riley
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.