Hi Arash, 2016-02-02 22:24 GMT+01:00 Arash Esbati <esb...@gmx.de>: > Thanks for implementing this. I tried it on a Win box with Emacs 25 > pretest and it doesn't work correctly when invoked with prefix. I think > the issue with the regexp in line 6128: > > --8<---------------cut here---------------start------------->8--- > ;; XXX: XEmacs doesn't support character classes in > ;; regexps, like "[:alnum:]". > "^ *\\([0-9]+\\) +\\([-~/a-zA-Z0-9_.${}#%,:]+\\)" nil t) > --8<---------------cut here---------------end--------------->8--- > > On Win, texdoc -l returns the paths with `\' as separators. I could fix > it with adding `\\' to the regexp: > > --8<---------------cut here---------------start------------->8--- > "^ *\\([0-9]+\\) +\\([-~/a-zA-Z0-9_.${}#%,:\\]+\\)" nil t) > --8<---------------cut here---------------end--------------->8---
Thanks for testing! I applied your patch. > I wonder how it works for people with a space in their path to TeXLive. On my system `call-process` correctly handles the case when args have spaces. For example I tried to open a file called "/tmp/foo bar.pdf" with Okular, a PDF viewer for GNU/Linux, with (call-process "okular" nil 0 nil "/tmp/foo bar.pdf") and it works like a charm. Could you please test on Windows? Bye, Mosè _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel