Subject: bug#24301: 11.89.4; Crashes Emacs upon Invokation

From: Edward Lewis <[email-masked]>
Date: Wed, 24 Aug 2016 17:12:42 +0000

--text follows this line--

Remember to cover the basics.  Including a minimal LaTeX example
file exhibiting the problem might help.

Attempts to invoke ‘preview latex’ from menu, icon in Emacs, using keystrokes immediately crashes Emacs.

Emacs  : GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
of 2013-03-13 on bob.porkrind.org
Package: 11.89.4

current state:
==============
(setq
AUCTeX-version "11.89.4"
LaTeX-command-style '(("" "%(PDF)%(latex) %(file-line-error) %(extraopts) %S%(PDFout)"))
image-types '(png gif tiff jpeg xpm xbm pbm)
preview-image-type 'png
preview-image-creators '((dvipng (open preview-gs-open preview-dvipng-process-setup) (place preview-gs-place)
                                                   (close preview-dvipng-close))
                                                  (png (open preview-gs-open) (place preview-gs-place) (close preview-gs-close))
                                                  (jpeg (open preview-gs-open) (place preview-gs-place) (close preview-gs-close))
                                                  (pnm (open preview-gs-open) (place preview-gs-place) (close preview-gs-close))
                                                  (tiff (open preview-gs-open) (place preview-gs-place) (close preview-gs-close)))
preview-dvipng-image-type 'png
preview-dvipng-command "dvipng -picky -noghostscript %d -o \"%m/prev%%03d.png\""
preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc"
preview-gs-command nil
preview-gs-options '("-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4")
preview-gs-image-type-alist '((png png "-sDEVICE=png16m") (dvipng png "-sDEVICE=png16m") (jpeg jpeg "-sDEVICE=jpeg")
                                                       (pnm pbm "-sDEVICE=pnmraw") (tiff tiff "-sDEVICE=tiff12nc"))
preview-fast-conversion t
preview-prefer-TeX-bb nil
preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000"
preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps"
preview-scale-function 'preview-scale-from-face
preview-LaTeX-command '("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{" ("," . preview-required-option-list)
                                                "}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" preview-default-preamble "\\fi}\"%' %t")
preview-required-option-list '("active" "tightpage" "auctex" (preview-preserve-counters "counters"))
preview-preserve-counters nil
preview-default-option-list '("displaymath" "floats" "graphics" "textmath" "sections" "footnotes")
preview-default-preamble '("\\RequirePackage[" ("," . preview-default-option-list) "]{preview}[2004/11/05]")
preview-LaTeX-command-replacements nil
preview-dump-replacements '(preview-LaTeX-command-replacements
                                                     ("\\`\\([^ ]+\\)\\(\\( +-\\([^ \\\\\"]\\|\\\\\\.\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'"
                                                      "\\1 -ini -interaction=nonstopmode \"&\\1\" " preview-format-name ".ini \\5")
                                                     )
preview-undump-replacements '(("\\`\\([^ ]+\\) .*? \"\\\\input\" \\(.*\\)\\'" "\\1 -interaction=nonstopmode \"&" preview-format-name
                                                                "\" \\2")
                                                       )
preview-auto-cache-preamble 'ask
preview-TeX-style-dir "/Users/administrator/.emacs.d/elpa/auctex-11.89.4/latex"
)

Output from running `nil -h':

------
Example LaTeX file follows:

\documentclass[12pt,us]{article}
\renewcommand{\familydefault}{\sfdefault}
\setlength{\parindent}{0pt}
\setlength{\parskip}{12pt}
\usepackage[margin=1in]{geometry}
\usepackage{pdfpages,amsmath}
\usepackage{hyperref}
\hypersetup{pdfborder=[0 0 0],colorlinks=true,linkcolor=blue,bookmarksnumbered=true}
\begin{document}
The quick brown fox jumps over the lazy dogs back.

This will be test of preview.

$\frac{2}{4} = 0.5$

\[
\frac{2}{4} = 0.5
\]

\end{document}

Edward N. Lewis, PE
PO Box 611
Worthington, MA  01098-0611
USA
+1 (413) 238-0109 (TZ: GMT-4)
[email-masked]