From: benwr@vt.edu
To: help-gnu-emacs@gnu.org
Subject: Re: AUCTeX PDF2DSC error on preview
Date: Wed, 4 Feb 2015 14:26:51 -0800 (PST) [thread overview]
Message-ID: <3bdb9343-3ecd-40ce-b5de-d8d93f708352@googlegroups.com> (raw)
In-Reply-To: <mailman.19237.1423037004.1147.help-gnu-emacs@gnu.org>
On Wednesday, February 4, 2015 at 3:03:27 AM UTC-5, Tassilo Horn wrote:
>
> 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()
> byte-code("\306\b!\211\x19\307=\2035\0\310\b!\210\311\x12\v\312\f!P\x13\313 \210
\203B\0\x0e\x11\203(\0\314 \210\202B\0\x0e\x12\203B\0\311\315\316\217\210\202B\0 \317=\203B\0\310\b!\210\320 \210)\311\207" [process status TeX-sentinel-function preview-gs-init-string preview-colors gsstart process-status exit delete-process nil preview-pdf-color-string preview-prepare-fast-conversion preview-gs-restart (preview-delete-file preview-ps-file) ((file-error)) signal preview-dvips-abort preview-gs-queue preview-ps-file] 4)
> preview-pdf2dsc-sentinel(#<process Preview-PDF2DSC> "Preview-PDF2DSC" t)
> (lambda (process command) (preview-pdf2dsc-sentinel process command t))(#<process Preview-PDF2DSC> "Preview-PDF2DSC")
> TeX-command-sentinel(#<process Preview-PDF2DSC> "finished\n")
I'm not very adept with emacs yet (obviously) and it's getting to be really frustrating. The first time I tried to use edebug I made a mistake, and every time I've tried since, edebug doesn't seem to start after I instrument the function. I even moved my .emacs.d and reinstalled auctex, and it still won't run. Is there some other place where persistent settings are stored besides .emacs.d? Any ideas regarding either problem would be greatly appreciated.
next prev parent reply other threads:[~2015-02-04 22:26 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 [this message]
2015-02-05 7:17 ` Tassilo Horn
[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=3bdb9343-3ecd-40ce-b5de-d8d93f708352@googlegroups.com \
--to=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.