From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: benwr@vt.edu Newsgroups: gmane.emacs.help Subject: Re: AUCTeX PDF2DSC error on preview Date: Wed, 4 Feb 2015 14:26:51 -0800 (PST) Message-ID: <3bdb9343-3ecd-40ce-b5de-d8d93f708352@googlegroups.com> References: <163a02f2-67b3-48ab-8c72-9f246c68043e@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1423090737 30378 80.91.229.3 (4 Feb 2015 22:58:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2015 22:58:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 04 23:58:57 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJ8uP-0007lJ-67 for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 23:58:57 +0100 Original-Received: from localhost ([::1]:39278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ8uO-000533-Od for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 17:58:56 -0500 X-Received: by 10.182.143.34 with SMTP id sb2mr644291obb.27.1423088812042; Wed, 04 Feb 2015 14:26:52 -0800 (PST) X-Received: by 10.140.96.112 with SMTP id j103mr9983qge.12.1423088811985; Wed, 04 Feb 2015 14:26:51 -0800 (PST) Original-Path: usenet.stanford.edu!hl2no9776911igb.0!news-out.google.com!q4ni11068qan.0!nntp.google.com!v8no6653310qal.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=108.4.187.215; posting-account=_7CmmAoAAAA0GnAqx1RspmFt2OScQHQG Original-NNTP-Posting-Host: 108.4.187.215 User-Agent: G2/1.0 Injection-Date: Wed, 04 Feb 2015 22:26:52 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:210208 X-Mailman-Approved-At: Wed, 04 Feb 2015 17:58:42 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102485 Archived-At: On Wednesday, February 4, 2015 at 3:03:27 AM UTC-5, Tassilo Horn wrote: >=20 > 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=3D(_region_.prv/tmp16= 71KOM/pr1-%d.png)" "-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrint= ed" "-dTextAlphaBits=3D4" "-dGraphicsAlphaBits=3D4" "-sDEVICE=3Dpng16m" "-r= 110.418x110.613") " ") > preview-gs-restart() > byte-code("\306=08!\211=19\307=3D\2035=00\310=08!\210\311=12=0B\312\f!P= =13\313 \210 \203B=00=0E=11\203(=00\314 \210\202B=00=0E=12\203B=00\311\315\316\217\210\2= 02B=00 \317=3D\203B=00\310=08!\210\320 \210)\311\207" [process status TeX-s= entinel-function preview-gs-init-string preview-colors gsstart process-stat= us exit delete-process nil preview-pdf-color-string preview-prepare-fast-co= nversion preview-gs-restart (preview-delete-file preview-ps-file) ((file-er= ror)) signal preview-dvips-abort preview-gs-queue preview-ps-file] 4) > preview-pdf2dsc-sentinel(# "Preview-PDF2DSC" t) > (lambda (process command) (preview-pdf2dsc-sentinel process command t))= (# "Preview-PDF2DSC") > TeX-command-sentinel(# "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 ev= ery 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 appre= ciated.