From unknown Sun Jun 22 17:13:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31451: Auctex view command for Zathura not operational when viewed .tex file has spaces in its name and synctex is used Resent-From: Arach Hirmanpour Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Mon, 14 May 2018 12:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31451 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 31451@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152629973031936 (code B ref -1); Mon, 14 May 2018 12:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2018 12:08:50 +0000 Received: from localhost ([127.0.0.1]:33371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fICHa-0008J2-3Q for submit@debbugs.gnu.org; Mon, 14 May 2018 08:08:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fI9tR-0002ot-Vl for submit@debbugs.gnu.org; Mon, 14 May 2018 05:35:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fI9tL-0002ij-Rs for submit@debbugs.gnu.org; Mon, 14 May 2018 05:35:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fI9tL-0002iX-MP for submit@debbugs.gnu.org; Mon, 14 May 2018 05:35:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fI9tK-0006RX-LQ for bug-auctex@gnu.org; Mon, 14 May 2018 05:35:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fI9tG-0002gE-KT for bug-auctex@gnu.org; Mon, 14 May 2018 05:35:38 -0400 Received: from sonic307-54.consmr.mail.ir2.yahoo.com ([87.248.110.31]:42695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fI9tG-0002eK-2g for bug-auctex@gnu.org; Mon, 14 May 2018 05:35:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1526290532; bh=/h3s1RKADDGjq53NjDAmrsAK8WnnLozjIBka6funcI4=; h=To:From:Subject:Date:From:Subject; b=FiykhuMV3v5Ytt7gfOOl59YOVIzjcTXZTZHCqQtE/Eymo5QLRzfg7eAXFyeJJsOfMy8ZNACoTreCTZfj3TVI3g9Tq50GW/+v2aFJr5uodDX4BO0WGCWyDTije+vevpUZwkemyKyxW1mcjOscDjxGYaCROQd1outKmKv6kmd1JRogmvscappo/u54wXHS4c5sSrkjZZQdoyh/E3POLKVP7rKT6QZAX89IR2idNNcqLabYj6rvtUuRd0NeVeGVwDHA3yVxYPz1KlD+Zbjp0/tjuAperDZCcLIAdz6sv+f3xgoRp97wHmbRXh6PsUxxfImhWEG7xUMyiJx+p6WBszW0EQ== X-YMail-OSG: fDWnxaQVM1mkyBsRDaUoGa8lQvfKHkeskuwbdfRLXs19wb5cV68JTwa43Qny6RV .AiwZq9.TAjhqukFRT5uABPNyoxvW0q_3b0dtU4MsB0LAdZKgUniGYEApfeVbG5w4LCYezDH20l9 jqG06jirdNI8htJAeiSMaPQE7Dx84kZ0ecYGvHappqJaZTXwsVD54dnQIgklNImx1092Xrb1a5l8 fHQ1d3OqxEnb7pODcGSNryapsdM3czFTXHYeyU9IIq7Fh8K8zKibytkjcU8g_HC5WbRYUiEgmd.Q ruylA6W3RQ.R_coxVgoKUKj5nYwYCWyOzuMHAgwaAl1RM_sIG7tRZZ7T68.DwolYBbL2A3ka1zH7 5YCGPIV9BJE8K_rcvZ_SVgbNK2S.v.pXpDIIaUNQ.w.1lgqZoS7Us6sXS_fkmL.cu2.MXVbyoGMz NDlEplELfX5FLmuoF2gYDfVrxcOjYOYeiLb9HiDuDW8SBwn0ZYAFylpOQxZAq9b4wBpFZTxeKRVo RlbSST7rT_HnneclzzEVoyL4jqoTExI4nyur6igpjeHOcLSTaHPsuxg3zP1VMM9OI9GImMmMGg.0 Sx57kLtd_2e_I4xRgwW0pWRx00Nq2WurmiA5uIe4- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Mon, 14 May 2018 09:35:32 +0000 Received: from LFbn-1-175-65.w86-242.abo.wanadoo.fr (EHLO [192.168.1.24]) ([86.242.118.65]) by smtp432.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID a1aff81f1dde91d7667390ac3815e762 for ; Mon, 14 May 2018 09:35:31 +0000 (UTC) From: Arach Hirmanpour Message-ID: <08cca2b3-8696-22c8-7639-5035f0733503@yahoo.co.uk> 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 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------93FE799CFEF5B12B18DCDE5D" Content-Language: fr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Mailman-Approved-At: Mon, 14 May 2018 08:08:49 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) This is a multi-part message in MIME format. --------------93FE799CFEF5B12B18DCDE5D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit *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 --------------93FE799CFEF5B12B18DCDE5D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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

--------------93FE799CFEF5B12B18DCDE5D-- From unknown Sun Jun 22 17:13:55 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Arach Hirmanpour Subject: bug#31451: closed (Re: bug#31451: Auctex view command for Zathura not operational when viewed .tex file has spaces in its name and synctex is used) Message-ID: References: <86tvqsltss.fsf@gnu.org> <08cca2b3-8696-22c8-7639-5035f0733503@yahoo.co.uk> X-Gnu-PR-Message: they-closed 31451 X-Gnu-PR-Package: auctex Reply-To: 31451@debbugs.gnu.org Date: Sun, 27 May 2018 20:38:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1527453481-19065-1" This is a multi-part message in MIME format... ------------=_1527453481-19065-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #31451: Auctex view command for Zathura not operational when viewed .tex fi= le has spaces in its name and synctex is used which was filed against the auctex package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 31451@debbugs.gnu.org. --=20 31451: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31451 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1527453481-19065-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 31451-done) by debbugs.gnu.org; 27 May 2018 20:37:33 +0000 Received: from localhost ([127.0.0.1]:51286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fN2Q1-0004wr-5w for submit@debbugs.gnu.org; Sun, 27 May 2018 16:37:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fN2Pz-0004wc-53 for 31451-done@debbugs.gnu.org; Sun, 27 May 2018 16:37:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fN2Pp-0002E4-Tl for 31451-done@debbugs.gnu.org; Sun, 27 May 2018 16:37:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fN2Pp-0002E0-Q5; Sun, 27 May 2018 16:37:21 -0400 Received: from p5b32639b.dip0.t-ipconnect.de ([91.50.99.155]:49921 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1fN2Pp-00058t-7V; Sun, 27 May 2018 16:37:21 -0400 From: Arash Esbati To: Arach Hirmanpour Subject: Re: bug#31451: Auctex view command for Zathura not operational when viewed .tex file has spaces in its name and synctex is used References: <08cca2b3-8696-22c8-7639-5035f0733503@yahoo.co.uk> Date: Sun, 27 May 2018 22:36:51 +0200 In-Reply-To: <08cca2b3-8696-22c8-7639-5035f0733503@yahoo.co.uk> (Arach Hirmanpour's message of "Mon, 14 May 2018 11:35:30 +0200") Message-ID: <86tvqsltss.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31451-done Cc: 31451-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Arach Hirmanpour 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=A0 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 ------------=_1527453481-19065-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 May 2018 12:08:50 +0000 Received: from localhost ([127.0.0.1]:33371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fICHa-0008J2-3Q for submit@debbugs.gnu.org; Mon, 14 May 2018 08:08:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fI9tR-0002ot-Vl for submit@debbugs.gnu.org; Mon, 14 May 2018 05:35:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fI9tL-0002ij-Rs for submit@debbugs.gnu.org; Mon, 14 May 2018 05:35:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fI9tL-0002iX-MP for submit@debbugs.gnu.org; Mon, 14 May 2018 05:35:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fI9tK-0006RX-LQ for bug-auctex@gnu.org; Mon, 14 May 2018 05:35:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fI9tG-0002gE-KT for bug-auctex@gnu.org; Mon, 14 May 2018 05:35:38 -0400 Received: from sonic307-54.consmr.mail.ir2.yahoo.com ([87.248.110.31]:42695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fI9tG-0002eK-2g for bug-auctex@gnu.org; Mon, 14 May 2018 05:35:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1526290532; bh=/h3s1RKADDGjq53NjDAmrsAK8WnnLozjIBka6funcI4=; h=To:From:Subject:Date:From:Subject; b=FiykhuMV3v5Ytt7gfOOl59YOVIzjcTXZTZHCqQtE/Eymo5QLRzfg7eAXFyeJJsOfMy8ZNACoTreCTZfj3TVI3g9Tq50GW/+v2aFJr5uodDX4BO0WGCWyDTije+vevpUZwkemyKyxW1mcjOscDjxGYaCROQd1outKmKv6kmd1JRogmvscappo/u54wXHS4c5sSrkjZZQdoyh/E3POLKVP7rKT6QZAX89IR2idNNcqLabYj6rvtUuRd0NeVeGVwDHA3yVxYPz1KlD+Zbjp0/tjuAperDZCcLIAdz6sv+f3xgoRp97wHmbRXh6PsUxxfImhWEG7xUMyiJx+p6WBszW0EQ== X-YMail-OSG: fDWnxaQVM1mkyBsRDaUoGa8lQvfKHkeskuwbdfRLXs19wb5cV68JTwa43Qny6RV .AiwZq9.TAjhqukFRT5uABPNyoxvW0q_3b0dtU4MsB0LAdZKgUniGYEApfeVbG5w4LCYezDH20l9 jqG06jirdNI8htJAeiSMaPQE7Dx84kZ0ecYGvHappqJaZTXwsVD54dnQIgklNImx1092Xrb1a5l8 fHQ1d3OqxEnb7pODcGSNryapsdM3czFTXHYeyU9IIq7Fh8K8zKibytkjcU8g_HC5WbRYUiEgmd.Q ruylA6W3RQ.R_coxVgoKUKj5nYwYCWyOzuMHAgwaAl1RM_sIG7tRZZ7T68.DwolYBbL2A3ka1zH7 5YCGPIV9BJE8K_rcvZ_SVgbNK2S.v.pXpDIIaUNQ.w.1lgqZoS7Us6sXS_fkmL.cu2.MXVbyoGMz NDlEplELfX5FLmuoF2gYDfVrxcOjYOYeiLb9HiDuDW8SBwn0ZYAFylpOQxZAq9b4wBpFZTxeKRVo RlbSST7rT_HnneclzzEVoyL4jqoTExI4nyur6igpjeHOcLSTaHPsuxg3zP1VMM9OI9GImMmMGg.0 Sx57kLtd_2e_I4xRgwW0pWRx00Nq2WurmiA5uIe4- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Mon, 14 May 2018 09:35:32 +0000 Received: from LFbn-1-175-65.w86-242.abo.wanadoo.fr (EHLO [192.168.1.24]) ([86.242.118.65]) by smtp432.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID a1aff81f1dde91d7667390ac3815e762 for ; Mon, 14 May 2018 09:35:31 +0000 (UTC) To: bug-auctex@gnu.org From: Arach Hirmanpour Subject: Auctex view command for Zathura not operational when viewed .tex file has spaces in its name and synctex is used Message-ID: <08cca2b3-8696-22c8-7639-5035f0733503@yahoo.co.uk> 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 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------93FE799CFEF5B12B18DCDE5D" Content-Language: fr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 14 May 2018 08:08:49 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) This is a multi-part message in MIME format. --------------93FE799CFEF5B12B18DCDE5D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit *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 --------------93FE799CFEF5B12B18DCDE5D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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

--------------93FE799CFEF5B12B18DCDE5D-- ------------=_1527453481-19065-1--