all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Brody, William (Buck)" <BrodyW11@darden.virginia.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: printing error
Date: Fri, 19 Mar 2010 18:38:38 +0100	[thread overview]
Message-ID: <7EC8206C-6D31-4B0A-984F-E8EBA2E72715@gmail.com> (raw)
In-Reply-To: <46FF04F1BA077D4586212E7E31C57D2A0451260E43@MAIL.darden.virginia.edu>

Hi William

looks like the Emacs 22.3 version of ps-print has this problem.
  I am using Emacs 23, and do not have this problem.

The problem seems to be related to list face definition, maybe
you are using them for org-todo-keyword-faces, for example?

If you define these special faces as faces and then add them as
faces (not lists) to that variable, maybe the problem can be  
circumvented?

HTH

- Carsten

On Mar 17, 2010, at 10:58 PM, Brody, William (Buck) wrote:

> Emacs version 22.3.1
> Org-mode version 6.34c
>
> Printing works on most documents.  It works on some org documents,  
> but it seems to depend on whether specific fonts are used in the  
> faces.
>
> I created a sparse tree and  typed
>
> Command:
> M-x ps-print-buffer-with faces
>
> Minibuffer:
> Font for some characters not found.  Continue anyway? (yes or no)
>
> Command:
> Yes
>
> This is the back trace:
>
> ebugger entered--Lisp error: (wrong-type-argument stringp  
> ("blue" :weight bold))
>  xw-color-values(("blue" :weight bold) nil)
>  ps-e-color-values(("blue" :weight bold))
>  ps-color-values(("blue" :weight bold))
>  ps-color-scale(("blue" :weight bold))
>  ps-plot-with-face(292 296 (:foreground "blue" :weight bold))
>  ps-generate-postscript-with-faces(1 111826)
>  ps-generate(#<buffer outline.org> 1 111826 ps-generate-postscript- 
> with-faces)
>  ps-spool-with-faces(1 111826 nil)
>  ps-print-with-faces(1 111826 nil)
>  ps-print-buffer-with-faces(nil)
>  call-interactively(ps-print-buffer-with-faces)
>  execute-extended-command(nil)
>  call-interactively(execute-extended-command)
>
> -----Original Message-----
> From: nick@gamaville.dokosmarshall.org [mailto:nick@gamaville.dokosmarshall.org 
> ] On Behalf Of Nick Dokos
> Sent: Wednesday, March 17, 2010 10:33 AM
> To: Brody, William (Buck)
> Cc: emacs-orgmode@gnu.org; nicholas.dokos@hp.com
> Subject: Re: [Orgmode] printing error
>
> Brody, William (Buck) <BrodyW11@darden.virginia.edu> wrote:
>
>> When I try to print, using ps-print-buffer-with-faces, I am getting  
>> the fol=
>> lowing error message:  "Wrong type argument: stringp,  
>> ("blue" :weight bold)=
>> "
>>
>
> It could be anything: you will have to be *much* more specific. It's  
> not even clear
> that it is an org problem, since you didn't specify *what* you are  
> trying to print.
> If printing a text document does not work, then it is not an org  
> problem (but you
> want to gather up a back trace in any case - you are just going to  
> have to send it
> to the emacs list instead of the org mode list). If printing a text  
> document works,
> but printing an org document does not, then gather up a backtrace  
> and send it to this
> list.
>
> To find out how to get a backtrace, see section 1.4 "Feedback" of  
> the Orgmode manual.
>
> HTH,
> Nick
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

      reply	other threads:[~2010-03-19 18:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17 13:21 printing error Brody, William (Buck)
2010-03-17 15:14 ` Mikael Fornius
     [not found] ` <8073.1268836388@gamaville.dokosmarshall.org>
2010-03-17 21:58   ` Brody, William (Buck)
2010-03-19 17:38     ` Carsten Dominik [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7EC8206C-6D31-4B0A-984F-E8EBA2E72715@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=BrodyW11@darden.virginia.edu \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.