emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ivan Nedrehagen <ivannedr@broadpark.no>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: printing pdf of agenda buffer: two issues
Date: Mon, 16 Mar 2009 09:12:40 +0100	[thread overview]
Message-ID: <op.uqvk3ekvetmi9u@gorontha.mshome.net> (raw)
In-Reply-To: <E906052B-16A1-4C4C-90ED-85C3767B5AD7@uva.nl>

På Fri, 13 Mar 2009 18:10:30 +0100, skrev Carsten Dominik  
<dominik@science.uva.nl>:

>
> On Mar 13, 2009, at 2:01 PM, Ivan Nedrehagen wrote:
>
>> På Fri, 06 Mar 2009 10:38:22 +0100, skrev Carsten Dominik  
>> <dominik@science.uva.nl>:
>>
>>>
>>> On Mar 6, 2009, at 6:32 AM, Alan E. Davis wrote:
>>>
>>>> Maybe I have missed something about the use of this new feature.  And  
>>>> also other attempts to print have failed. So I am posing two  
>>>> questions in this post (hopefully related).  They may well be due to  
>>>> my setup.
>>>>
>>>> 1.  When I attempt to write a pdf file of a buffer of TODO items as  
>>>> collected by C-c a t, the following error is reported:
>>>>
>>>>     comment-normalize-vars: Command attempted to use minibuffer while  
>>>> in minibuffer
>>>>      Formatting...  0%
>>>>      color-values: Wrong type argument: stringp, ("blue" :weight bold)
>>>>
>>>>   There is little use in my theorizing about this.
>>>
>>>
>>> I cannot reproduce this.  C-x C-w somefile.pdf RET in my agenda works.
>>>
>>>>
>>>>
>>>> 2.  I have tried two other ways to print agenda output, using scripts  
>>>> posted elsewhere.  One of them was a script from an org-mode  
>>>> tutorial, and the other, perhaps, from the FAQ.  Both times, I get  
>>>> colored text that cannot print.  It is pale yellow.
>>>
>>>
>>> Very likel this is because you are using a script that
>>> runs Emacs in batch-mode, in which case the font colors
>>> are poorly defined.  You can try to bind org-agenda-with-colors
>>> to nil during the agenda command, as one of the options.
>>>
>>>>
>>>>
>>>> Perhaps these are related?
>>>
>>> I don't think so.
>>>
>>> HTH
>>>
>>> - Carsten
>>>
>>>
>>>
>>
>> I am running Emacs on Windows, and I have a similar problem with org- 
>> mode 6.24b.
>>
>> My *Messages* gives me this
>>
>> Preparing diary...done
>> Loading cl-macs...done
>> Loading cl-seq...done
>> Formatting...  0%
>> Loading ps-mule...done
>> Loading composite...done
>> Collecting face information...
>> Formatting... 39%
>> ps-e-color-values: Wrong type argument: stringp, ("blue" :weight bold)
>
> What is ps-e-color-values?  I do not have this function.
>
> - Carsten
>
>>
>> Hope anyone can help. An pdf from agenda view would give a good kick in  
>> the butt
>> to they guys in the office who frowns upon planning done elsewhere than  
>> MS Projects
>> and Outlook :P
>>
>> - Ivan
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>


It is a defalias for 'color-value used in ps-print.el
Somehow, while searching for the values, I somehow made the error go away,
Ill get back to it if I am able to reproduce.

- Ivan

      reply	other threads:[~2009-03-16  8:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06  5:32 printing pdf of agenda buffer: two issues Alan E. Davis
2009-03-06  9:38 ` Carsten Dominik
2009-03-13 13:01   ` Ivan Nedrehagen
2009-03-13 17:10     ` Carsten Dominik
2009-03-16  8:12       ` Ivan Nedrehagen [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

  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=op.uqvk3ekvetmi9u@gorontha.mshome.net \
    --to=ivannedr@broadpark.no \
    --cc=dominik@science.uva.nl \
    --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 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).