emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [BUG] Colored tags generate an error when C-x C-w'ing the agenda


From: Carsten Dominik
Subject: Re: [O] [BUG] Colored tags generate an error when C-x C-w'ing the agenda
Date: Fri, 27 Sep 2013 09:23:11 +0200

On 11.9.2013, at 14:48, Sebastien Vauban <address@hidden> wrote:

> Hello,
> 
> 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:

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.

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"))))

- Carsten

> 
> #+begin_src text
>  Debugger entered--Lisp error: (wrong-type-argument listp "#5C88D3")
>    ps-face-attributes("#5C88D3")
>    ps-face-attribute-list((:slant italic :foreground "#5C88D3" :background 
> "#BBDDFF"))
>    ps-plot-with-face(459 463 (:slant italic :foreground "#5C88D3" :background 
> "#BBDDFF"))
>    ps-generate-postscript-with-faces1(1 6850)
>    ps-generate-postscript-with-faces(1 6850)
>    ps-generate(#<buffer Agenda View> 1 6850 ps-generate-postscript-with-faces)
>    ps-spool-with-faces(1 6850 nil)
>    ps-print-with-faces(1 6850 "~/agenda.ps")
>    ps-print-buffer-with-faces("~/agenda.ps")
>    ...
>    command-execute(org-agenda-write)
> #+end_src
> 
> Best regards,
>  Seb
> 
> -- 
> Sebastien Vauban
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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