|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#31451: closed (Auctex view command for Zathura not operational when viewed .tex file has spaces in its name and synctex is used) |
Date: | Sun, 27 May 2018 20:38:01 +0000 |
Your message dated Sun, 27 May 2018 22:36:51 +0200 with message-id <address@hidden> and subject line Re: bug#31451: Auctex view command for Zathura not operational when viewed .tex file has spaces in its name and synctex is used has caused the debbugs.gnu.org bug report #31451, regarding Auctex view command for Zathura not operational when viewed .tex file has spaces in its name and synctex is used to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 31451: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31451 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: Auctex view command for Zathura not operational when viewed .tex file has spaces in its name and synctex is used Date: Mon, 14 May 2018 11:35:30 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
The issue :
When using Zathura as a viewer, Zathura fails to launch with the default View command defined by auctex in tex.el when both of the following conditions are true :
- synctex is used
- the .tex file name has spaces in its filename
My config : emacs 25.3.2 auctex 12.1.1 and Zathura 0.3.5 under elementaryos
The problem was reproduced on a fresh install of antergos with emacs 25.3.1 auctex 12.1.1 and Zathura 0.3.9
The possible cause :
In tex.el Zathura is launched with the following parameters when using synctex :
(mode-io-correlate " --synctex-forward %n:0:%b -x \"emacsclient +%{line} %{input}\""))
%b is the .tex filename, which is unquoted.
The possible solution :
The problem is solved, as far as I can tell, by replacing %b with: \"%b\"
Yours sincerely,
Arach HIRMANPOUR
--- End Message ---
--- Begin Message ---Subject: Re: bug#31451: Auctex view command for Zathura not operational when viewed .tex file has spaces in its name and synctex is used Date: Sun, 27 May 2018 22:36:51 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 Arach Hirmanpour <address@hidden> writes: > *The issue :* > > When using Zathura as a viewer, Zathura fails to launch with the > default View command defined by auctex in tex.el when both of the > following conditions are true : > > - synctex is used > > - the .tex file name has spaces in its filename > [...] > *The possible solution :* > > The problem is solved, as far as I can tell, by replacing %b with: \"%b\" Hi Arach, thanks for your report. I've fixed this issue in AUCTeX git repo. Best, Arash
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |