bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20661: What prevents me from getting a preview?


From: David Kastrup
Subject: bug#20661: What prevents me from getting a preview?
Date: Fri, 29 May 2015 07:27:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Reinhard Kotucha <address@hidden> writes:

> Hi,
> it seems that my response didn't get to the bug-auctex list for some
> reason .
>
> Markus sent me the output of TeX-submit-bug-report privately but it
> contains two contradicting entries:
>
>     preview-gs-command nil
>
>     Output from running `nil -h':
>
> In the first case »nil« is a boolean (TeX-submit-bug-report usually
> quotes strings properly) but in the second case »nil« must be a string.
>
> Is there a bug in TeX-submit-bug-report?  Can »nil« be a boolean and a
> string at the same time?  As I said before, TeX-submit-bug-report
> usually quotes strings properly:
>
>     preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps"
>
> Given that Markus accidentally did something like
>
>     (setq preview-gs-command "nil")
>
> then I would expect that TeX-submit-bug-report returns
>
>     preview-gs-command "nil"
>
> but not
>
>     preview-gs-command nil
>
> And if »nil« is indeed a boolean, the message
>
>   Output from running `nil -h':
>
> is unexplainable, at least to me:
>
>     (concat "nil" " " "-h")
>     => "nil -h"
>
>     (concat nil " " "-h")
>     => " -h"

(format "\nOutput from running `%s -h':\n" nil) => "
Output from running `nil -h':
"

-- 
David Kastrup





reply via email to

[Prev in Thread] Current Thread [Next in Thread]