emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [SOLVED] Re: nicely managing multiple calendars in the agenda


From: Sébastien Vauban
Subject: [Orgmode] [SOLVED] Re: nicely managing multiple calendars in the agenda
Date: Mon, 12 Jul 2010 10:26:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Nick,

Nick Dokos wrote:
> =?utf-8?Q?S=C3=A9bastien_Vauban?= <address@hidden> wrote:
>>> Nick Dokos wrote:
>>>> S=C3=A9bastien Vauban <address@hidden> wrote:
>>>>
>>>>>     (setq org-tag-faces
>>>>>           '(("home" . (:background "#D4EAFF" :italic t))
>>>>>             ("work" . (:italic t :background "#F9E816"))))
>>>>>
>>>>> Though, only the color spec above is taken into account. Tags are not in
>>>>> italics like for all the others:
>>>>>
>>>>>      (org-tag ((t (:foreground "rgb:81/6A/7D" :background "rgb:F7/B8/DE" 
>>>>> :italic t))))
>>>>>
>>>>> Maybe a bug?
>>>>
>>>> Or maybe the font does not come in italic? AFAIK, if that's the case,
>>>> then the italic attribute is just ignored.
>>>
>>> Nice try -- and you're definitely right asking (as this could easily be
>>> overlooked), but here that's not the case: my font is Consolas (under
>>> Ubuntu), which comes in italics.
>>>
>>> And I get _all the tags in italics_, thanks to the above specification of
>>> `org-tag' -- _all but 2_ tags: `home' and `work', which come in their
>>> upright version, independently of the argument passed in `org-tag-faces'.
>> 
>> I've just noticed, in the 1000's of lines in my `*Messages*' buffer,
>> something that can explain the noticed behavior:
>> 
>> --8<---------------cut here---------------start------------->8---
>> Invalid face attribute :italic t [54 times]
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Though, I don't understand why that attribute is invalid in the above spec!?

Replacing `:italic t' by `:slant italic' does the trick!

--8<---------------cut here---------------start------------->8---
    (setq org-tag-faces
          '(("home" . (:slant italic :background "pale green"))
            ("work" . (:slant italic :background "#F9E816"))))
--8<---------------cut here---------------end--------------->8---

Just wanted to share the solution...

Best regards,
  Seb

-- 
Sébastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]