GNU bug report logs -
#47807
TeX-view-program settings for Xreader
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47807 in the body.
You can then email your comments to 47807 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#47807
; Package
auctex
.
(Thu, 15 Apr 2021 18:37:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Gustavo Barros <gusbrs.2016 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Thu, 15 Apr 2021 18:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi All,
This is a simple one. `tex.el' includes settings for the "Xreader" to
be used in Linux systems as defined in `TeX-view-program-list-builtin'.
After loading, the entry for "Xreader" in that variable will be:
`("Xreader" TeX-reader-sync-view "xreader")'. However, the function
`TeX-reader-sync-view' is actually not defined, but rather
`TeX-xreader-sync-view' is (with an "x"). Therefore, using "Xreader"
for `output-pdf' in `TeX-view-program-selection' will throw us error
"Wrong type argument: listp, TeX-reader-sync-view".
As far as I can tell, the problem does not lie in the definition of
`TeX-view-program-list-builtin', because
`TeX-view-program-select-evince' relies on `TeX-evince-dbus-p' which
will query the DBUS path/scheme/method which is indeed "org.x.reader"
(at least in my machine, I suppose that's default, but I really don't
know). Thus, it seems `TeX-xreader-sync-view' is incorrectly named, and
should drop the "x". It's docstring also seems to not have been
adjusted as required after it was "inherited" from
`TeX-evince-sync-view'.
Best regards,
Gustavo.
PS: Please keep me CC'd.
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#47807
; Package
auctex
.
(Fri, 16 Apr 2021 16:44:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Gustavo Barros <gusbrs.2016 <at> gmail.com> writes:
Hi Gustavo,
> This is a simple one. `tex.el' includes settings for the "Xreader" to
> be used in Linux systems as defined in
> `TeX-view-program-list-builtin'. After loading, the entry for
> "Xreader" in that variable will be: `("Xreader" TeX-reader-sync-view
> "xreader")'. However, the function `TeX-reader-sync-view' is actually
> not defined, but rather `TeX-xreader-sync-view' is (with an "x").
> Therefore, using "Xreader" for `output-pdf' in
> `TeX-view-program-selection' will throw us error "Wrong type argument:
> listp, TeX-reader-sync-view".
>
> As far as I can tell, the problem does not lie in the definition of
> `TeX-view-program-list-builtin', because
> `TeX-view-program-select-evince' relies on `TeX-evince-dbus-p' which
> will query the DBUS path/scheme/method which is indeed "org.x.reader"
> (at least in my machine, I suppose that's default, but I really don't
> know). Thus, it seems `TeX-xreader-sync-view' is incorrectly named,
> and should drop the "x".
I approve your analysis. Fixed on git master. Please give it a whirl.
> It's docstring also seems to not have been adjusted as required after
> it was "inherited" from `TeX-evince-sync-view'.
Indeed, also fixed.
Bye,
Tassilo
Reply sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
You have taken responsibility.
(Fri, 16 Apr 2021 16:44:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Gustavo Barros <gusbrs.2016 <at> gmail.com>
:
bug acknowledged by developer.
(Fri, 16 Apr 2021 16:44:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#47807
; Package
auctex
.
(Fri, 16 Apr 2021 18:26:02 GMT)
Full text and
rfc822 format available.
Message #16 received at submit <at> debbugs.gnu.org (full text, mbox):
On Fri, 16 Apr 2021 at 13:41, Tassilo Horn <tsdh <at> gnu.org> wrote:
Hi Tassilo,
> Fixed on git master.
Thanks for the quick fix!
> Please give it a whirl.
I did (local definition on top of 13.0.6). I had also been running,
since yesterday with:
#+begin_src emacs-lisp
(unless (fboundp 'TeX-reader-sync-view)
(defalias 'TeX-reader-sync-view 'TeX-xreader-sync-view))
#+end_src
Which is equivalent for all practical purposes. And, as far as I can
tell, things are working as expected. Hence, it LGTM.
>> It's docstring also seems to not have been adjusted as required after
>> it was "inherited" from `TeX-evince-sync-view'.
>
> Indeed, also fixed.
The tiniest nitpick. I usually see the name of the program as
"Xreader", with a lowercase "r". But I'm not sure it is even worth the
amend. I certainly won't pester you further about it.
Best,
Gustavo.
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#47807
; Package
auctex
.
(Fri, 16 Apr 2021 18:26:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#47807
; Package
auctex
.
(Sat, 17 Apr 2021 07:59:02 GMT)
Full text and
rfc822 format available.
Message #22 received at submit <at> debbugs.gnu.org (full text, mbox):
Gustavo Barros <gusbrs.2016 <at> gmail.com> writes:
Hi Gustavo,
>>> It's docstring also seems to not have been adjusted as required
>>> after it was "inherited" from `TeX-evince-sync-view'.
>>
>> Indeed, also fixed.
>
> The tiniest nitpick. I usually see the name of the program as
> "Xreader", with a lowercase "r". But I'm not sure it is even worth
> the amend. I certainly won't pester you further about it.
I've just fixed that as well. Thanks for the heads-up.
Bye,
Tassilo
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#47807
; Package
auctex
.
(Sat, 17 Apr 2021 07:59:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#47807
; Package
auctex
.
(Sat, 17 Apr 2021 10:46:02 GMT)
Full text and
rfc822 format available.
Message #28 received at submit <at> debbugs.gnu.org (full text, mbox):
On Sat, 17 Apr 2021 at 04:57, Tassilo Horn <tsdh <at> gnu.org> wrote:
> Gustavo Barros <gusbrs.2016 <at> gmail.com> writes:
>
> Hi Gustavo,
>
>>>> It's docstring also seems to not have been adjusted as required
>>>> after it was "inherited" from `TeX-evince-sync-view'.
>>>
>>> Indeed, also fixed.
>>
>> The tiniest nitpick. I usually see the name of the program as
>> "Xreader", with a lowercase "r". But I'm not sure it is even worth
>> the amend. I certainly won't pester you further about it.
>
> I've just fixed that as well. Thanks for the heads-up.
Thanks again!
Bye,
Gustavo
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#47807
; Package
auctex
.
(Sat, 17 Apr 2021 10:46: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
.
(Sat, 15 May 2021 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 344 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.