all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: benwr@vt.edu
Cc: help-gnu-emacs@gnu.org
Subject: Re: AUCTeX PDF2DSC error on preview
Date: Thu, 05 Feb 2015 08:17:16 +0100	[thread overview]
Message-ID: <87oap8n7yb.fsf@gnu.org> (raw)
In-Reply-To: <3bdb9343-3ecd-40ce-b5de-d8d93f708352@googlegroups.com> (benwr@vt.edu's message of "Wed, 4 Feb 2015 14:26:51 -0800 (PST)")

benwr@vt.edu writes:

Hi Ben,

>> If you have time to, you could edebug `preview-pdf2dsc-sentinel' to
>> see where exactly the error comes from.
>
> Thanks for the reply!  When I turn on debug-on-signal, I get this:
>
>> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>>   replace-regexp-in-string("[^-0-9a-zA-Z_./\n]" "\\\\\\&" nil)
>>   shell-quote-argument(nil)
>>   mapconcat(shell-quote-argument (nil
>> "-dOutputFile=(_region_.prv/tmp1671KOM/pr1-%d.png)" "-q" "-dDELAYSAFER"
>> "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4"
>> "-dGraphicsAlphaBits=4" "-sDEVICE=png16m" "-r110.418x110.613") " ")
>>   preview-gs-restart()

Ah, great, now I see where the error happens.  The reason seems to be
that `preview-gs-command' is nil.  If you didn't set that explicitly,
then it seems there is neither "rungs", "mgs", "GSWIN32C.exe", nor "gs"
on your PATH.

Don't you have GhostScript installed?  That's required by preview.

Bye,
Tassilo



  reply	other threads:[~2015-02-05  7:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03 18:35 AUCTeX PDF2DSC error on preview Ben Weinstein-Raun
2015-02-03 18:38 ` Ben Weinstein-Raun
2015-02-04  8:03 ` Tassilo Horn
     [not found] ` <mailman.19237.1423037004.1147.help-gnu-emacs@gnu.org>
2015-02-04 22:26   ` benwr
2015-02-05  7:17     ` Tassilo Horn [this message]
     [not found]     ` <mailman.19298.1423120645.1147.help-gnu-emacs@gnu.org>
2015-02-05 15:45       ` benwr
2015-02-05 18:04         ` Stefan Monnier

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=87oap8n7yb.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=benwr@vt.edu \
    --cc=help-gnu-emacs@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.