bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `1 menu-digit' stopped working after upgrading to 6.x


From: Clark Wang
Subject: Re: `1 menu-digit' stopped working after upgrading to 6.x
Date: Thu, 31 Aug 2017 10:33:32 +0800

On Thu, Aug 31, 2017 at 2:27 AM, Gavin Smith <address@hidden> wrote:
On Tue, Aug 29, 2017 at 06:46:54PM +0800, Clark Wang wrote:
> *(Sorry I forgot to write a subject in my last email. Resending...)*
>
> Recently I updated my Debian system and texinfo is now at 6.3. I found the
> infokey program is not necessary any more and I like it.
>
> But the `1 menu-digit' (and 2, 3, 4, ...) statement stopped working. When I
> press `1' it reported error "Unknown command (1)". `0 last-menu-item' still
> works fine.

The key for menu-digit under --vi-keys is M-1.

Are you saying that you put "1 menu-digit" in the .infokey file?

Yes. It works fine for years when there was the `infokey` program. Actually from within the info session when I press `h' (help) it shows:

    1...9       Pick the first...ninth item in this node's menu.
    0           Pick the last item in this node's menu.

I also tried starting `info' without `--vi-keys' and it also did not work and `h' (help) shows the same.
 
I tried
this, but it doesn't do anything: 1 is still used the same way
as "C-u 1" is when --vi-keys is not given. An error message is also
given when info starts: "cannot bind key sequence to menu-digit". Do you
get this?

Without `--vi-keys' I still get "Unknown command (1)" when I press `1'.

> Is this a bug? (Note that I use `info --vi-keys' to start info.)
>
> Thanks.

I guess there could be special support for this to enable 1 ... 9 for
menu-digit with --vi-keys. Would you consider not using --vi-keys and
putting custom key bindings in .infokey instead?

It worked before. I just found one CentOS 6.6 which has info-4.13a and it works fine. The `h' (help) also shows:

    1...9       Pick the first...ninth item in this node's menu.
    0           Pick the last item in this node's menu.

-clark

reply via email to

[Prev in Thread] Current Thread [Next in Thread]