bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] no way to make a new named keymap


From: Tom Tromey
Subject: Re: [Bug-readline] no way to make a new named keymap
Date: Sun, 09 Sep 2018 23:16:45 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux)

Tom> gdb's TUI mode has a special single-key keymap.
Tom> It would be nice if users could add new bindings to this map.

Chet> Is it a prefixed map off one of the standard keymaps? If so, users can
Chet> bind key sequences starting with that prefix.

In my particular case, there is just a binding to install this keymap.
This is done so that subsequent key presses use this keymap.

This is the gdb TUI "single key" mode, see
(info "(gdb) TUI Single Key Mode")

Chet> What do you think would be the best functional interface for that?
Chet> Something like rl_set_keymap_name (char *name, Keymap map)? Another
Chet> interface?

I think that seems reasonable.

I can take a look at it.  (BTW I have looked into the other addition I
emailed about; it is quite tricky and I will send a longer email soon
detailing the problems.)

Tom



reply via email to

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