GNU bug report logs -
#68018
[PATCH] Fix previous page and next page tooltips in doc-view.el
Previous Next
Reported by: Daniel Martín <mardani29 <at> yahoo.es>
Date: Sun, 24 Dec 2023 23:06:01 UTC
Severity: minor
Tags: patch
Done: Eli Zaretskii <eliz <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 68018 in the body.
You can then email your comments to 68018 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Sun, 24 Dec 2023 23:06:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Daniel Martín <mardani29 <at> yahoo.es>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 24 Dec 2023 23:06:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tags: patch
In docview.el, the toolbar icons used to navigate to the previous and
next pages have incorrect tooltips. I've attached a patch to address
this issue. Thanks.
[0001-Fix-previous-page-and-next-page-tooltips-in-doc-view.patch (text/patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Mon, 25 Dec 2023 00:28:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 68018 <at> debbugs.gnu.org (full text, mbox):
Daniel Martín <mardani29 <at> yahoo.es> writes:
> In docview.el, the toolbar icons used to navigate to the previous and
> next pages have incorrect tooltips. I've attached a patch to address
> this issue. Thanks.
Thanks, but why rename the icon?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Mon, 25 Dec 2023 10:55:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 68018 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Po Lu <luangruo <at> yahoo.com> writes:
> Daniel Martín <mardani29 <at> yahoo.es> writes:
>
>> In docview.el, the toolbar icons used to navigate to the previous and
>> next pages have incorrect tooltips. I've attached a patch to address
>> this issue. Thanks.
>
> Thanks, but why rename the icon?
So that the name of the icon matches what the icon really represents.
If you feel that renaming the icon may cause incompatibilities, here’s a
new patch that only changes the help tooltip. Thanks.
[0001-Fix-previous-page-and-next-page-tooltips-in-doc-view.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Mon, 25 Dec 2023 12:01:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 68018 <at> debbugs.gnu.org (full text, mbox):
Daniel Martín <mardani29 <at> yahoo.es> writes:
> So that the name of the icon matches what the icon really represents.
I don't see an appreciable distinction between "previous" and "last" in
this context, except perhaps that "previous" might refer to the page
previously visited (in contrast to the preceding page in the document),
which is not the function of the Doc View command in question. As such,
please don't rename the icon. Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Mon, 25 Dec 2023 12:23:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 68018 <at> debbugs.gnu.org (full text, mbox):
> Cc: 68018 <at> debbugs.gnu.org
> Date: Mon, 25 Dec 2023 19:59:39 +0800
> From: Po Lu via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> Daniel Martín <mardani29 <at> yahoo.es> writes:
>
> > So that the name of the icon matches what the icon really represents.
>
> I don't see an appreciable distinction between "previous" and "last" in
> this context, except perhaps that "previous" might refer to the page
> previously visited (in contrast to the preceding page in the document),
> which is not the function of the Doc View command in question. As such,
> please don't rename the icon. Thanks.
Doesn't the icon's name say what it is supposed to mean? I don't
think I like to see "last-page" where the function is
doc-view-previous-page. If the icon's image is not very
self-explanatory, we should perhaps look for a better icon, but that
is unrelated to this issue.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Mon, 25 Dec 2023 13:00:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 68018 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> Doesn't the icon's name say what it is supposed to mean? I don't
Yes. The icon's name implies it will move one page backwards, in line
with the function of doc-view-previous-page.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Mon, 25 Dec 2023 13:41:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 68018 <at> debbugs.gnu.org (full text, mbox):
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: mardani29 <at> yahoo.es, 68018 <at> debbugs.gnu.org
> Date: Mon, 25 Dec 2023 20:59:01 +0800
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > Doesn't the icon's name say what it is supposed to mean? I don't
>
> Yes. The icon's name implies it will move one page backwards, in line
> with the function of doc-view-previous-page.
Then why is the icon called "LAST page" and not "PREVIOUS page"?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Mon, 25 Dec 2023 14:24:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 68018 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Po Lu <luangruo <at> yahoo.com>
>> Cc: mardani29 <at> yahoo.es, 68018 <at> debbugs.gnu.org
>> Date: Mon, 25 Dec 2023 20:59:01 +0800
>>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> > Doesn't the icon's name say what it is supposed to mean? I don't
>>
>> Yes. The icon's name implies it will move one page backwards, in line
>> with the function of doc-view-previous-page.
>
> Then why is the icon called "LAST page" and not "PREVIOUS page"?
FWIW, I tend to agree that it's purpose would be be more clear if we
renamed it. This icon was added in July 2023.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Tue, 26 Dec 2023 02:03:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 68018 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> Then why is the icon called "LAST page" and not "PREVIOUS page"?
Because it was generated from "next-page.xpm", and the icon itself could
easily mean either "last in document" or "last in time".
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Wed, 27 Dec 2023 12:39:01 GMT)
Full text and
rfc822 format available.
Message #32 received at 68018 <at> debbugs.gnu.org (full text, mbox):
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: mardani29 <at> yahoo.es, 68018 <at> debbugs.gnu.org
> Date: Tue, 26 Dec 2023 10:02:21 +0800
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > Then why is the icon called "LAST page" and not "PREVIOUS page"?
>
> Because it was generated from "next-page.xpm", and the icon itself could
> easily mean either "last in document" or "last in time".
Then how about copying last-page.* into prev-page.*, so that we keep
both?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Wed, 27 Dec 2023 13:03:02 GMT)
Full text and
rfc822 format available.
Message #35 received at 68018 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> Then how about copying last-page.* into prev-page.*, so that we keep
> both?
I think there are tasks worthier of our attention than duplicating an
icon in order to create a copy whose name reflects a marginally
different meaning from that which the original's does. It would spare
us a lot of quibbling if we focused on the substantive part of this
change, namely the two corrections to the tooltips, rather than the
renaming of an icon. But maybe that's just me, and we do want the names
of each icon in etc/images to be 150% representative of every meaning it
might carry.
TIA.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68018
; Package
emacs
.
(Wed, 27 Dec 2023 13:40:02 GMT)
Full text and
rfc822 format available.
Message #38 received at 68018 <at> debbugs.gnu.org (full text, mbox):
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: mardani29 <at> yahoo.es, 68018 <at> debbugs.gnu.org
> Date: Wed, 27 Dec 2023 21:02:18 +0800
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > Then how about copying last-page.* into prev-page.*, so that we keep
> > both?
>
> I think there are tasks worthier of our attention than duplicating an
> icon in order to create a copy whose name reflects a marginally
> different meaning from that which the original's does.
You prefer to have to answer questions from surprised people about why
it's "last" and not "prev"? Fine by me.
> It would spare us a lot of quibbling if we focused on the
> substantive part of this change, namely the two corrections to the
> tooltips, rather than the renaming of an icon.
Aren't those other parts no-brainers?
> But maybe that's just me, and we do want the names of each icon in
> etc/images to be 150% representative of every meaning it might
> carry.
Are we going to argue again about the importance of mnemonic names?
Severity set to 'minor' from 'normal'
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 27 Dec 2023 21:48:03 GMT)
Full text and
rfc822 format available.
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 30 Dec 2023 07:43:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Daniel Martín <mardani29 <at> yahoo.es>
:
bug acknowledged by developer.
(Sat, 30 Dec 2023 07:43:02 GMT)
Full text and
rfc822 format available.
Message #45 received at 68018-done <at> debbugs.gnu.org (full text, mbox):
> Cc: 68018 <at> debbugs.gnu.org
> Date: Mon, 25 Dec 2023 11:54:07 +0100
> From: Daniel Martín via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> Po Lu <luangruo <at> yahoo.com> writes:
>
> > Daniel Martín <mardani29 <at> yahoo.es> writes:
> >
> >> In docview.el, the toolbar icons used to navigate to the previous and
> >> next pages have incorrect tooltips. I've attached a patch to address
> >> this issue. Thanks.
> >
> > Thanks, but why rename the icon?
>
> So that the name of the icon matches what the icon really represents.
> If you feel that renaming the icon may cause incompatibilities, here’s a
> new patch that only changes the help tooltip. Thanks.
Thanks, installed on master, and closing the bug.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 27 Jan 2024 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.