From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: [SOLVED] Re: nicely managing multiple calendars in the agenda Date: Mon, 12 Jul 2010 10:26:16 +0200 Message-ID: <87r5j9nm1j.fsf_-_@mundaneum.com> References: <87zl0jd5fc.fsf@eraldo.org> <87bpcx5p0m.fsf@mundaneum.com> <17360.1272896871@gamaville.dokosmarshall.org> <87vdb4bz1l.fsf@mundaneum.com> <87hbmmpwzw.fsf@mundaneum.com> <9575.1273085130@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Nick, Nick Dokos wrote: > =3D?utf-8?Q?S=3DC3=3DA9bastien_Vauban?=3D wr= ote: >>> Nick Dokos wrote: >>>> S=3DC3=3DA9bastien Vauban 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= '. >>=20 >> I've just noticed, in the 1000's of lines in my `*Messages*' buffer, >> something that can explain the noticed behavior: >>=20 >> --8<---------------cut here---------------start------------->8--- >> Invalid face attribute :italic t [54 times] >> --8<---------------cut here---------------end--------------->8--- >>=20 >> Though, I don't understand why that attribute is invalid in the above sp= ec!? 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 --=20 S=C3=A9bastien 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