From: Carsten Dominik <carsten.dominik@gmail.com>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Colored tags generate an error when C-x C-w'ing the agenda
Date: Fri, 27 Sep 2013 09:23:11 +0200 [thread overview]
Message-ID: <604C9FB1-9217-4E2A-A6D0-1813F74A4A56@gmail.com> (raw)
In-Reply-To: <86zjrjr0bs.fsf@somewhere.org>
[-- Attachment #1: Type: text/plain, Size: 1870 bytes --]
On 11.9.2013, at 14:48, Sebastien Vauban <sva-news@mygooglest.com> 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 #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
next prev parent reply other threads:[~2013-09-27 11:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-11 12:48 [BUG] Colored tags generate an error when C-x C-w'ing the agenda Sebastien Vauban
2013-09-27 7:23 ` Carsten Dominik [this message]
2013-09-27 11:35 ` Sebastien Vauban
2013-09-27 13:15 ` Carsten Dominik
[not found] ` <86a9iyebuc.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2013-11-07 18:45 ` Sebastien Vauban
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=604C9FB1-9217-4E2A-A6D0-1813F74A4A56@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sva-news@mygooglest.com \
/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).