Hi Shawn,
Together with the problem you describe, do you also find
that a shell buffer has been opened?
In my case the problem was the 'preview-gs-command'
variable: I set it using short-path notation:
"c:\\PROGRA~1\\GS\\BIN\\GSWIN32C.EXE", and I got rid of that
problem. Possibly it's because spaces in the standard string
set up by AUCTeX aren't escaped properly...
Hope this helps.
J
On 20160210 16:35, Shawn Way wrote:
I've been getting the following message for a while now and I'm
wondering what this is trying to load. I get the following
error:
'c:/Program' is not recognized as an internal or external
command,
operable program or batch file.
when I load any tex file (the first time).
When I do my message buffer is as shown below and a shell
output buffer
shows the message:
'c:/Program' is not recognized as an internal or external
command,
operable program or batch file.
Everything seems to be working, but this is indicating that
something is
not being found. Any thought as to what may be failing?
The messages buffer
=====================================================
Loading time...done
Loading paren...done
Loading
c:/emacs/share/emacs/25.0.50/lisp/linum-highligth-current-line-number.el
(source)...done
Debug (ox-odt): Searching for OpenDocument styles files...
Debug (ox-odt): Trying c:/usr/share/emacs/etc/org/styles/...
[2 times]
Debug (ox-odt): Trying
c:/Users/sway/AppData/Roaming/.emacs.d/etc/styles/...
Debug (ox-odt): Trying
c:/Users/sway/AppData/Roaming/.emacs.d/elpa/org-20160208/etc/styles/...
Debug (ox-odt): Using styles under
c:/Users/sway/AppData/Roaming/.emacs.d/elpa/org-20160208/etc/styles/
Debug (ox-odt): Searching for OpenDocument schema files...
Debug (ox-odt): Trying c:/usr/share/emacs/etc/org/schema/...
[2 times]
Debug (ox-odt): No OpenDocument schema files installed
Loading c:/ess/ess-15.09/lisp/ess-site.el (source)...
‘array’ also matches CL structs and EIEIO classes
‘sequence’ also matches CL structs and EIEIO classes [2 times]
Loading c:/ess/ess-15.09/lisp/ess-site.el (source)...done
Loading dired-x...done
For information about GNU Emacs and the GNU system, type C-h
C-a.
Starting new Ispell process c:\Program Files
(x86)\Aspell\bin\aspell.exe with default dictionary...
Automatic display of crossref information was turned on
'c:/Program' is not recognized as an internal or external
command,
operable program or batch file.
Applying style hooks...
Loading c:/Users/sway/Desktop/tex/auto/testing.el
(source)...done
Loading
c:/Users/sway/AppData/Roaming/.emacs.d/elpa/auctex-11.89.1/style/article.elc...done
Applying style hooks... done
Sorting environment...
Removing duplicates... done
Mark set
Formatting bug report buffer........
Wrong type argument: stringp, nil
=====================================
Minimal tex example.
=========================Start===========
\documentclass[11pt]{article}
\begin{document}
Hello, World!
\end{document}
==========================End=============
Emacs : GNU Emacs 25.0.50.1 (x86_64-w64-mingw32)
of 2015-09-06
Package: 11.89.1
current state:
==============
(setq
AUCTeX-version "11.89.1"
LaTeX-command-style '((""
"%(PDF)%(latex) %(file-line-error) %(extraopts) %S%(PDFout)")
)
image-types '(svg 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
"c:/Users/sway/AppData/Roaming/.emacs.d/elpa/auctex-11.89.1/latex"
)
Output from running `nil -h':
Thank you kindly,
Shawn Way, PE
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex