From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [BUG] Colored tags generate an error when C-x C-w'ing the agenda Date: Fri, 27 Sep 2013 13:35:39 +0200 Message-ID: <86a9iyebuc.fsf@somewhere.org> References: <86zjrjr0bs.fsf@somewhere.org> <604C9FB1-9217-4E2A-A6D0-1813F74A4A56@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Carsten, Carsten Dominik wrote: > On 11.9.2013, at 14:48, Sebastien Vauban wrote: >> If you have colors for tags: >> >> --8<---------------cut here---------------start------------->8--- >> ;; faces for specific tags >> (setq org-tag-faces >> '(("home" . >> (:slant italic >> :foreground "#5C88D3" :background "#BBDDFF")) >> ("work" . >> (:slant italic >> :foreground "#5F7C43" :background "#C1D996")))) >> --8<---------------cut here---------------end--------------->8--- >> >> you can't export the agenda views anymore; they all generate the following >> error: > > It does seem to work if you specify the faces like this (without the dot). > > (setq org-tag-faces > '(("home" > (:slant italic > :foreground "#5C88D3" :background "#BBDDFF")) > ("work" > (:slant italic > :foreground "#5F7C43" :background "#C1D996")))) Without the dot [1], I confirm that I can export both to HTML and PDF with no error. Though, in the PDF, these tags have a white background, not the one specified. This is a small annoyance... > Since Emacs does display correctly with this way to specify a font, I'd say > this is a bug in ps-print and should be reported to Emacs as such. ... which I'll report (with your analysis) to Emacs. Thanks for your help! Best regards, Seb [1] I'd never ever have thought to remove the "dot". How did you discover or know that? -- Sebastien Vauban