GNU bug report logs - #42042
AUCTeX View command omits hyphens

Previous Next

Package: auctex;

Reported by: Tommi Rimpiläinen <rimpilaeinen <at> yahoo.co.uk>

Date: Thu, 25 Jun 2020 15:01:01 UTC

Severity: normal

Tags: moreinfo

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 42042 in the body.
You can then email your comments to 42042 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#42042; Package auctex. (Thu, 25 Jun 2020 15:01:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tommi Rimpiläinen <rimpilaeinen <at> yahoo.co.uk>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Thu, 25 Jun 2020 15:01:01 GMT) Full text and rfc822 format available.

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

From: Tommi Rimpiläinen <rimpilaeinen <at> yahoo.co.uk>
To: "bug-auctex <at> gnu.org" <bug-auctex <at> gnu.org>
Subject: AUCTeX View command omits hyphens
Date: Thu, 25 Jun 2020 12:26:15 +0000 (UTC)
Dear AUCTeX development team,

I'm trying to use the forward and backward search feature of AUCTeX using Synctex and Okular. The search feature seems to work, at least into the editor-to-viewer direction. However, I always need to manually add hyphens into the file name that the prompt suggests so that file names that include white space are not interpreted as multiple input files. I would prefer if the View command would add the hyphens automatically, so that I would not need to insert them by hand every time. Please let me know if there is an easy way to fix this issue. Also, you might consider adding the hyphenated file names to the future versions of the View command of AUCTeX.

Thank you for all the hard work that you have done so far. AUCTeX is by far my preferred tool for editing LaTeX documents. 

Regards,
-Tommi

--
Torvisieni 6
10650 Tammisaari, Finland
+358 50 405 7917
Tommi Rimpiläinen




Information forwarded to bug-auctex <at> gnu.org:
bug#42042; Package auctex. (Thu, 25 Jun 2020 19:44:01 GMT) Full text and rfc822 format available.

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

From: Tassilo Horn <tsdh <at> gnu.org>
To: Bug reporting list for AUCTeX <bug-auctex <at> gnu.org>
Cc: 42042 <at> debbugs.gnu.org
Subject: Re: bug#42042: AUCTeX View command omits hyphens
Date: Thu, 25 Jun 2020 21:43:29 +0200
Hi Tommi,

> I'm trying to use the forward and backward search feature of AUCTeX
> using Synctex and Okular.  The search feature seems to work, at least
> into the editor-to-viewer direction.  However, I always need to
> manually add hyphens into the file name that the prompt suggests so
> that file names that include white space are not interpreted as
> multiple input files.  I would prefer if the View command would add
> the hyphens automatically, so that I would not need to insert them by
> hand every time.

I just tested using the current Git master and got as view command
suggestion

  okular --unique Test\ mit\ Leerzeichen.pdf#src:5"/home/horn/tmp/Test mit Leerzeichen.tex"

so the output filename "Test mit Leerzeichen.pdf" has been properly
quoted for my shell to interpret.  Essentially, we are basically just
using the standard Emacs function `shell-quote-argument' which should
add the right quoting for at least the common shells.

Which operating system and shell are you using?  And what does the
following evaluate to?

  (shell-quote-argument "Test with spaces.tex") <-- C-x C-e here!

Bye,
Tassilo

PS: When writing bug reports using M-x TeX-submit-bug-report RET, please
don't erase the automatically inserted OS/Emacs/config overview.




Information forwarded to bug-auctex <at> gnu.org:
bug#42042; Package auctex. (Thu, 25 Jun 2020 19:44:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-auctex <at> gnu.org:
bug#42042; Package auctex. (Wed, 06 Mar 2024 09:44:02 GMT) Full text and rfc822 format available.

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

From: Arash Esbati <arash <at> gnu.org>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: 42042 <at> debbugs.gnu.org
Subject: Re: bug#42042: AUCTeX View command omits hyphens
Date: Wed, 06 Mar 2024 10:43:12 +0100
Tassilo Horn <tsdh <at> gnu.org> writes:

> Hi Tommi,
>
>> I'm trying to use the forward and backward search feature of AUCTeX
>> using Synctex and Okular.  The search feature seems to work, at least
>> into the editor-to-viewer direction.  However, I always need to
>> manually add hyphens into the file name that the prompt suggests so
>> that file names that include white space are not interpreted as
>> multiple input files.  I would prefer if the View command would add
>> the hyphens automatically, so that I would not need to insert them by
>> hand every time.
>
> I just tested using the current Git master and got as view command
> suggestion
>
>   okular --unique Test\ mit\ Leerzeichen.pdf#src:5"/home/horn/tmp/Test mit Leerzeichen.tex"
>
> so the output filename "Test mit Leerzeichen.pdf" has been properly
> quoted for my shell to interpret.  Essentially, we are basically just
> using the standard Emacs function `shell-quote-argument' which should
> add the right quoting for at least the common shells.
>
> Which operating system and shell are you using?  And what does the
> following evaluate to?
>
>   (shell-quote-argument "Test with spaces.tex") <-- C-x C-e here!
>
> Bye,
> Tassilo
>
> PS: When writing bug reports using M-x TeX-submit-bug-report RET, please
> don't erase the automatically inserted OS/Emacs/config overview.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

No further comments, therefore I'm closing this report.

Best, Arash




Added tag(s) moreinfo. Request was from Arash Esbati <arash <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 06 Mar 2024 09:45:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 42042 <at> debbugs.gnu.org and Tommi Rimpiläinen <rimpilaeinen <at> yahoo.co.uk> Request was from Arash Esbati <arash <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 06 Mar 2024 09:45:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 20 days ago.

Previous Next


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