GNU bug report logs -
#11656
24.1.50; Info-\(next\|prev\)-reference: Add numeric prefix argument
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 11656 in the body.
You can then email your comments to 11656 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#11656
; Package
emacs
.
(Sat, 09 Jun 2012 03:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christopher Schmidt <christopher <at> ch.ristopher.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 09 Jun 2012 03:44: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)]
Hi,
this patch adds the optional numeric prefix argument COUNT to
Info-next-reference and Info-prev-reference. This argument makes the
functions do The Right Thing, that is, repeat the functionality COUNT
times.
[Info-nextprev-reference.diff (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
Christopher
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11656
; Package
emacs
.
(Sat, 09 Jun 2012 06:53:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
> From: Christopher Schmidt <christopher <at> ch.ristopher.com>
> Date: Sat, 9 Jun 2012 04:41:16 +0100 (BST)
>
> this patch adds the optional numeric prefix argument COUNT to
> Info-next-reference and Info-prev-reference. This argument makes the
> functions do The Right Thing, that is, repeat the functionality COUNT
> times.
Thanks. Can you present a use case where this functionality is
needed? Specifically, I wonder how a user would know how many Next or
Prev nodes she needs to go to get to whatever she is looking for.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11656
; Package
emacs
.
(Sat, 09 Jun 2012 07:29:02 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Christopher Schmidt <christopher <at> ch.ristopher.com>
>> Date: Sat, 9 Jun 2012 04:41:16 +0100 (BST)
>>
>> this patch adds the optional numeric prefix argument COUNT to
>> Info-next-reference and Info-prev-reference. This argument makes the
>> functions do The Right Thing, that is, repeat the functionality COUNT
>> times.
>
> Thanks. Can you present a use case where this functionality is
> needed? Specifically, I wonder how a user would know how many Next or
> Prev nodes she needs to go to get to whatever she is looking for.
^^^^^
Uhm, Info-next-reference and Info-prev-reference navigate within the
cross references in the current buffer. I think you mistake
Info-next-reference (bound to <tab>) with Info-forward-node (bound to
]).
Pressing <tab> in combination with a prefix argument is just a lot
easier, faster and less intrusive than the use of any regular movement
commands or a repeated pressing of <tab>. A prefix argument that
specifies the repeat count is also pretty consistent with most other
movement commands, especially forward-button. To me, this is The Right
Thing. At least this is what my subconscious, which takes over when I
navigate within the first three nodes after pressing C-h i, told me.
Here is an improved version of my patch that also handles negative
prefix arguments correctly.
[Info-nextprev-reference-v2.diff (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
Christopher
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11656
; Package
emacs
.
(Sat, 09 Jun 2012 07:50:01 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
> From: Christopher Schmidt <christopher <at> ch.ristopher.com>
> Date: Sat, 9 Jun 2012 08:25:29 +0100 (BST)
>
> > Thanks. Can you present a use case where this functionality is
> > needed? Specifically, I wonder how a user would know how many Next or
> > Prev nodes she needs to go to get to whatever she is looking for.
> ^^^^^
>
> Uhm, Info-next-reference and Info-prev-reference navigate within the
> cross references in the current buffer. I think you mistake
> Info-next-reference (bound to <tab>) with Info-forward-node (bound to
> ]).
Yes, I did, sorry.
So you are saying that you frequently count the number of
cross-references to the one you want, and then type "C-u 10 TAB" or
some such?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11656
; Package
emacs
.
(Sat, 09 Jun 2012 08:03:02 GMT)
Full text and
rfc822 format available.
Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> So you are saying that you frequently count the number of
> cross-references to the one you want, and then type "C-u 10 TAB" or
> some such?
Yes.
If the number of cross-references is greater than 10, I estimate. That
is, I use C-u C-u TAB and then continue with TAB or M-TAB. In the end
this is a lot easier and faster than using the mouse,
Info-virtual-index, etc.
Christopher
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11656
; Package
emacs
.
(Tue, 12 Jun 2012 00:49:01 GMT)
Full text and
rfc822 format available.
Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):
>> So you are saying that you frequently count the number of
>> cross-references to the one you want, and then type "C-u 10 TAB" or
>> some such?
>
> Yes.
>
> If the number of cross-references is greater than 10, I estimate. That
> is, I use C-u C-u TAB and then continue with TAB or M-TAB. In the end
> this is a lot easier and faster than using the mouse,
To choose a menu item by its number is possible by typing
`1', `2', `3', ..., `9'. But to help the user to select
the right number, every third `*' in the menu is highlighted
with the special face `info-menu-star'.
I wonder if it's possible to use a similar indication for references?
In any case, I think your patch is useful. If a node begins with the menu
(so there are no references before the menu beginning), menu indications
will help to give the right argument to `Info-next-reference' to arrive
to the reference of the menu item.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11656
; Package
emacs
.
(Sun, 24 Jun 2012 15:20:01 GMT)
Full text and
rfc822 format available.
Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):
Juri Linkov <juri <at> jurta.org> writes:
> To choose a menu item by its number is possible by typing
> `1', `2', `3', ..., `9'. But to help the user to select
> the right number, every third `*' in the menu is highlighted
> with the special face `info-menu-star'.
>
> I wonder if it's possible to use a similar indication for references?
Well, menu items a densely packed whereas regular cross references are
usually spread around the node. I think this is not exactly helpful.
> In any case, I think your patch is useful. If a node begins with the
> menu (so there are no references before the menu beginning), menu
> indications will help to give the right argument to
> `Info-next-reference' to arrive to the reference of the menu item.
Thank you.
Is my second patch OK to commit?
Christopher
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11656
; Package
emacs
.
(Sun, 24 Jun 2012 15:28:01 GMT)
Full text and
rfc822 format available.
Message #26 received at submit <at> debbugs.gnu.org (full text, mbox):
Christopher Schmidt <christopher <at> ch.ristopher.com> writes:
> Is my second patch OK to commit?
I'd cross-reference this bug report in the ChangeLog of course...
Christopher
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11656
; Package
emacs
.
(Sun, 13 Jan 2013 08:57:01 GMT)
Full text and
rfc822 format available.
Message #29 received at submit <at> debbugs.gnu.org (full text, mbox):
Christopher Schmidt <christopher <at> ch.ristopher.com> writes:
> Here is an improved version of my patch that also handles negative
> prefix arguments correctly.
Ping?
It would be great if someone applied this patch or got me green light so
I can apply it myself.
Christopher
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11656
; Package
emacs
.
(Tue, 15 Jan 2013 14:03:01 GMT)
Full text and
rfc822 format available.
Message #32 received at submit <at> debbugs.gnu.org (full text, mbox):
>> Here is an improved version of my patch that also handles negative
>> prefix arguments correctly.
> Ping?
> It would be great if someone applied this patch or got me green light so
> I can apply it myself.
Sure, go ahead,
Stefan
Reply sent
to
Christopher Schmidt <christopher <at> ch.ristopher.com>
:
You have taken responsibility.
(Fri, 01 Feb 2013 17:03:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Christopher Schmidt <christopher <at> ch.ristopher.com>
:
bug acknowledged by developer.
(Fri, 01 Feb 2013 17:03:02 GMT)
Full text and
rfc822 format available.
Message #37 received at 11656-done <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>> It would be great if someone applied this patch or got me green light
>> so I can apply it myself.
>
> Sure, go ahead,
Installed in trunk.
Christopher
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 02 Mar 2013 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 78 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.