Package: auctex;
Reported by: Shawn Way <SWay <at> meco.com>
Date: Wed, 10 Feb 2016 15:36:02 UTC
Severity: normal
Tags: moreinfo
Found in version 11.89.1
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22615 in the body.
You can then email your comments to 22615 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-auctex <at> gnu.org
:bug#22615
; Package auctex
.
(Wed, 10 Feb 2016 15:36:02 GMT) Full text and rfc822 format available.Shawn Way <SWay <at> meco.com>
:bug-auctex <at> gnu.org
.
(Wed, 10 Feb 2016 15:36:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Shawn Way <SWay <at> meco.com> To: "bug-auctex <at> gnu.org" <bug-auctex <at> gnu.org> Subject: 11.89.1; File Not found error... Date: Wed, 10 Feb 2016 15:35:08 +0000
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]
bug-auctex <at> gnu.org
:bug#22615
; Package auctex
.
(Wed, 10 Feb 2016 16:53:02 GMT) Full text and rfc822 format available.Message #8 received at 22615 <at> debbugs.gnu.org (full text, mbox):
From: gojjoe <at> gmail.com To: Shawn Way <SWay <at> meco.com>, 22615 <at> debbugs.gnu.org Subject: Re: bug#22615: 11.89.1; File Not found error... Date: Wed, 10 Feb 2016 17:52:25 +0100
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 > bug-auctex <at> gnu.org > https://lists.gnu.org/mailman/listinfo/bug-auctex >
bug-auctex <at> gnu.org
:bug#22615
; Package auctex
.
(Wed, 10 Feb 2016 16:59:01 GMT) Full text and rfc822 format available.Message #11 received at 22615 <at> debbugs.gnu.org (full text, mbox):
From: Shawn Way <SWay <at> meco.com> To: "gojjoe <at> gmail.com" <gojjoe <at> gmail.com>, "22615 <at> debbugs.gnu.org" <22615 <at> debbugs.gnu.org> Subject: RE: bug#22615: 11.89.1; File Not found error... Date: Wed, 10 Feb 2016 16:57:50 +0000
That did it! Thanks! Shawn Way, PE -----Original Message----- From: gojjoe <at> gmail.com [mailto:gojjoe <at> gmail.com] Sent: Wednesday, February 10, 2016 10:52 AM To: Shawn Way <SWay <at> meco.com>; 22615 <at> debbugs.gnu.org Subject: Re: bug#22615: 11.89.1; File Not found error... 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/artic > le.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 > bug-auctex <at> gnu.org > https://lists.gnu.org/mailman/listinfo/bug-auctex >
bug-auctex <at> gnu.org
:bug#22615
; Package auctex
.
(Wed, 10 Feb 2016 22:41:01 GMT) Full text and rfc822 format available.Message #14 received at 22615 <at> debbugs.gnu.org (full text, mbox):
From: Mosè Giordano <mose <at> gnu.org> To: Good Joe <gojjoe <at> gmail.com> Cc: Shawn Way <SWay <at> meco.com>, 22615 <at> debbugs.gnu.org Subject: Re: bug#22615: 11.89.1; File Not found error... Date: Wed, 10 Feb 2016 23:39:21 +0100
2016-02-10 17:52 GMT+01:00 <gojjoe <at> gmail.com>: > 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... Thanks for this information. Do you know exactly where the error is triggered? The only possible place I found was `preview-gs-restart', but `start-process' should be smart enough to properly handle arguments with spaces in them. Bye, Mosè
bug-auctex <at> gnu.org
:bug#22615
; Package auctex
.
(Wed, 10 Feb 2016 23:05:02 GMT) Full text and rfc822 format available.Message #17 received at 22615 <at> debbugs.gnu.org (full text, mbox):
From: gojjoe <at> gmail.com To: Mosè Giordano <mose <at> gnu.org> Cc: Shawn Way <SWay <at> meco.com>, 22615 <at> debbugs.gnu.org Subject: Re: bug#22615: 11.89.1; File Not found error... Date: Thu, 11 Feb 2016 00:03:57 +0100
Hi Mosè, Thank you very much for your interest in this. Unfortunately I've never managed to pinpoint where the spaces are creating the problem; as you say, paths with spaces don't cause problems in other settings handled by 'start-process'... That's also why I've never submitted this bug. Could it be the function that retrieves the GS path? I'll take a look once more and let you know (it'll take a couple of days). Cheers! J On 20160210 23:39, Mosè Giordano wrote: > 2016-02-10 17:52 GMT+01:00 <gojjoe <at> gmail.com>: >> 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... > > Thanks for this information. Do you know exactly where the error is > triggered? The only possible place I found was `preview-gs-restart', > but `start-process' should be smart enough to properly handle > arguments with spaces in them. > > Bye, > Mosè >
bug-auctex <at> gnu.org
:bug#22615
; Package auctex
.
(Wed, 10 Feb 2016 23:15:02 GMT) Full text and rfc822 format available.Message #20 received at 22615 <at> debbugs.gnu.org (full text, mbox):
From: Mosè Giordano <mose <at> gnu.org> To: Good Joe <gojjoe <at> gmail.com> Cc: Shawn Way <SWay <at> meco.com>, 22615 <at> debbugs.gnu.org Subject: Re: bug#22615: 11.89.1; File Not found error... Date: Thu, 11 Feb 2016 00:13:46 +0100
2016-02-11 0:03 GMT+01:00 <gojjoe <at> gmail.com>: > Hi Mosè, > > Thank you very much for your interest in this. Unfortunately I've never > managed to pinpoint where the spaces are creating the problem; as you say, > paths with spaces don't cause problems in other settings handled by > 'start-process'... That's also why I've never submitted this bug. Could it > be the function that retrieves the GS path? It's just a series of `executable-find's, which is a fairly simple function: it checks whether there is a file with the provided name in `exec-path' and if it's executable. If the file is found returns it, otherwise it won't rise an error. Shawn reported a "File not found" error, but I can't understand from where it's thrown. I noticed that his value for `preview-gs-command' is actually nil, I can't understand where the "c:/Program" path pops out. > I'll take a look once more and > let you know (it'll take a couple of days). Thanks, it would be great. Bye, Mosè
bug-auctex <at> gnu.org
:bug#22615
; Package auctex
.
(Mon, 04 Mar 2024 11:13:02 GMT) Full text and rfc822 format available.Message #23 received at 22615 <at> debbugs.gnu.org (full text, mbox):
From: Arash Esbati <arash <at> gnu.org> To: Mosè Giordano <mose <at> gnu.org> Cc: Good Joe <gojjoe <at> gmail.com>, Shawn Way <SWay <at> meco.com>, 22615 <at> debbugs.gnu.org Subject: Re: bug#22615: 11.89.1; File Not found error... Date: Mon, 04 Mar 2024 12:11:25 +0100
Mosè Giordano <mose <at> gnu.org> writes: > 2016-02-11 0:03 GMT+01:00 <gojjoe <at> gmail.com>: >> Hi Mosè, >> >> Thank you very much for your interest in this. Unfortunately I've never >> managed to pinpoint where the spaces are creating the problem; as you say, >> paths with spaces don't cause problems in other settings handled by >> 'start-process'... That's also why I've never submitted this bug. Could it >> be the function that retrieves the GS path? > > It's just a series of `executable-find's, which is a fairly simple > function: it checks whether there is a file with the provided name in > `exec-path' and if it's executable. If the file is found returns it, > otherwise it won't rise an error. Shawn reported a "File not found" > error, but I can't understand from where it's thrown. I noticed that > his value for `preview-gs-command' is actually nil, I can't understand > where the "c:/Program" path pops out. > >> I'll take a look once more and >> let you know (it'll take a couple of days). > > Thanks, it would be great. (I'm going through old bug reports that unfortunately weren't resolved at the time. And sorry the premature mail I sent.) More information was requested, but not provided. Therefore I'm closing this report for now. We can reopen if new inpu arrives. Best, Arash
Arash Esbati <arash <at> gnu.org>
to control <at> debbugs.gnu.org
.
(Mon, 04 Mar 2024 11:14:01 GMT) Full text and rfc822 format available.Arash Esbati <arash <at> gnu.org>
to control <at> debbugs.gnu.org
.
(Mon, 04 Mar 2024 11:14:01 GMT) Full text and rfc822 format available.Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Mon, 01 Apr 2024 11:24:05 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.