From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik 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 Message-ID: <604C9FB1-9217-4E2A-A6D0-1813F74A4A56@gmail.com> References: <86zjrjr0bs.fsf@somewhere.org> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C3A38041-74D2-49F6-AF71-A48B01475BE8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPVqa-0004DM-Bc for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 07:04:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPVqT-0003Oe-J6 for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 07:04:32 -0400 Received: from mail-ee0-x22f.google.com ([2a00:1450:4013:c00::22f]:49318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPVqT-0003OY-B1 for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 07:04:25 -0400 Received: by mail-ee0-f47.google.com with SMTP id d49so1125832eek.6 for ; Fri, 27 Sep 2013 04:04:24 -0700 (PDT) In-Reply-To: <86zjrjr0bs.fsf@somewhere.org> 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: emacs-orgmode@gnu.org --Apple-Mail=_C3A38041-74D2-49F6-AF71-A48B01475BE8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 11.9.2013, at 14:48, Sebastien Vauban = wrote: > Hello, >=20 > If you have colors for tags: >=20 > --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--- >=20 > 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"=20 (:slant italic :foreground "#5C88D3" :background "#BBDDFF")) ("work"=20 (:slant italic :foreground "#5F7C43" :background "#C1D996")))) - Carsten >=20 > #+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(# 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 >=20 > Best regards, > Seb >=20 > --=20 > Sebastien Vauban >=20 >=20 --Apple-Mail=_C3A38041-74D2-49F6-AF71-A48B01475BE8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJSRTJfAAoJEO+gg/nAZuwM0D4IAMDDB1Y+pvQi6SIA/+HPpS1g N1M8K1oRR6lA++ZkZbd8RM3Mzluq76eSBZXTGulOkao7el79jNmLT/CG3qzz+PCf haBAcoZP2Bbx4A2LurEpmRh4/JMJlZkVRJCdeQQ+wn2MNZtxDrCgYCrIKdbErBXp aN9ud8xZKbPOkMz2BZrwAkUeFE5Dxx4vX0jXZkicIUbPjxS5wm++8vbVqTOApSEu Ooq2ky79sxoWyekAcaSDPJxFFcsQdOvbvIySX55YhKvN9KiskkvKda4MynHnN+wB XGGD5eSUxC04+8wc/I6Sx3QfTE8a3l6ItN+gka3AGChCdOePNKZyUf8afeAJOic= =GLv7 -----END PGP SIGNATURE----- --Apple-Mail=_C3A38041-74D2-49F6-AF71-A48B01475BE8--