[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30999: 12.1.1; Forward search view command needs quotes around sourc
From: |
Arash Esbati |
Subject: |
bug#30999: 12.1.1; Forward search view command needs quotes around source file name |
Date: |
Sat, 07 Apr 2018 14:08:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 |
Ikumi Keita <address@hidden> writes:
>>>>>> Arash Esbati <address@hidden> writes:
>> thanks for your response. Actually, my preference is not to touch
>> `TeX-expand-list-builtin' and just fix this issue in
>> `TeX-view-program-list-builtin' like this:
>
>> diff --git a/tex.el b/tex.el
>> index 42759c56..8ec9e642 100644
>> --- a/tex.el
>> +++ b/tex.el
>> @@ -1365,7 +1365,7 @@ viewer."
>> "%d" (mode-io-correlate " \"# %n '%b'\"")) "dviout")
>> ("SumatraPDF"
>> ("SumatraPDF -reuse-instance"
>> - (mode-io-correlate " -forward-search %b %n") " %o")
>> + (mode-io-correlate " -forward-search \"%b\" %n") " %o")
>> "SumatraPDF")
>> ("dvips and start" "dvips %d -o && start \"\" %f" "dvips")
>> ("start" "start \"\" %o")))
>
>> WDYT?
>
> I think it's reasonable.
Patch applied. Thank you all.
Best, Arash