GNU bug report logs - #31451
Auctex view command for Zathura not operational when viewed .tex file has spaces in its name and synctex is used

Previous Next

Package: auctex;

Reported by: Arach Hirmanpour <hirmanpour <at> yahoo.co.uk>

Date: Mon, 14 May 2018 12:09:02 UTC

Severity: normal

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 31451 in the body.
You can then email your comments to 31451 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


Report forwarded to bug-auctex <at> gnu.org:
bug#31451; Package auctex. (Mon, 14 May 2018 12:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arach Hirmanpour <hirmanpour <at> yahoo.co.uk>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Mon, 14 May 2018 12:09:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arach Hirmanpour <hirmanpour <at> yahoo.co.uk>
To: bug-auctex <at> gnu.org
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
[Message part 1 (text/plain, inline)]
*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

[Message part 2 (text/html, inline)]

Reply sent to Arash Esbati <arash <at> gnu.org>:
You have taken responsibility. (Sun, 27 May 2018 20:38:01 GMT) Full text and rfc822 format available.

Notification sent to Arach Hirmanpour <hirmanpour <at> yahoo.co.uk>:
bug acknowledged by developer. (Sun, 27 May 2018 20:38:01 GMT) Full text and rfc822 format available.

Message #10 received at 31451-done <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Arach Hirmanpour <hirmanpour <at> yahoo.co.uk>
Cc: 31451-done <at> debbugs.gnu.org
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
Arach Hirmanpour <hirmanpour <at> yahoo.co.uk> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 25 Jun 2018 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.