From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [SOLVED] Re: nicely managing multiple calendars in the agenda
Date: Mon, 12 Jul 2010 10:26:16 +0200 [thread overview]
Message-ID: <87r5j9nm1j.fsf_-_@mundaneum.com> (raw)
In-Reply-To: 9575.1273085130@gamaville.dokosmarshall.org
Hi Nick,
Nick Dokos wrote:
> =?utf-8?Q?S=C3=A9bastien_Vauban?= <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> wrote:
>>> Nick Dokos wrote:
>>>> S=C3=A9bastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> 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
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2010-07-12 8:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-01 15:09 nicely managing multiple calendars in the agenda Eraldo Helal
2010-05-03 9:10 ` Sébastien Vauban
2010-05-03 14:27 ` Nick Dokos
2010-05-03 18:49 ` Sébastien Vauban
2010-05-05 8:34 ` Sébastien Vauban
2010-05-05 18:45 ` Nick Dokos
2010-07-12 8:26 ` Sébastien Vauban [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r5j9nm1j.fsf_-_@mundaneum.com \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).