[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: enriched-mode and switching major modes.
From: |
Oliver Scholz |
Subject: |
Re: enriched-mode and switching major modes. |
Date: |
Tue, 21 Sep 2004 11:07:30 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (windows-nt) |
address@hidden (Kim F. Storm) writes:
[...]
> Maybe we could allow 'category to take a value which is a list
> of category symbols -- and then use those categories in order, i.e.
> when looking for a specific property, use the first occurrence.
>
> Just like an explicit property should (does?) take precedence over
> a property from a category.
>
> Like this:
>
> 'category '(char-style para-style sect-style)
[...]
Faces would need to be merged.
(progn
(put 'h1 'face 'Info-title-1-face)
(put 'italic 'face '(face :slant italic))
(switch-to-buffer (generate-new-buffer "*tmp*"))
(insert (propertize "lirum larum"
'category '(italic h1)
'face '(face :foreground "Blue"))))
This should get an italic `Info-title-1-face' in blue.
Oliver
--
Oliver Scholz Jour de la Révolution de l'Année 212 de la
Révolution
Ostendstr. 61 Liberté, Egalité, Fraternité!
60314 Frankfurt a. M.
- Re: enriched-mode and switching major modes., (continued)
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/18
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/18
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/19
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/20
- Re: enriched-mode and switching major modes., Kim F. Storm, 2004/09/20
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/20
- Re: enriched-mode and switching major modes., Kim F. Storm, 2004/09/20
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/20
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/20
- Re: enriched-mode and switching major modes., Kim F. Storm, 2004/09/20
- Re: enriched-mode and switching major modes.,
Oliver Scholz <=
- Re: enriched-mode and switching major modes., Kim F. Storm, 2004/09/21
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/22
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/21
- Re: enriched-mode and switching major modes., Miles Bader, 2004/09/21
- Re: enriched-mode and switching major modes., James Clark, 2004/09/21
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/23
- Re: enriched-mode and switching major modes., Kai Grossjohann, 2004/09/21
- Re: enriched-mode and switching major modes., Kim F. Storm, 2004/09/21
- Re: enriched-mode and switching major modes., Eli Zaretskii, 2004/09/21
- Re: enriched-mode and switching major modes., Miles Bader, 2004/09/21