Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15729

Re: bind -X shows inactive bindings (bindings removed using bind -r)

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: bind -X shows inactive bindings (bindings removed using bind -r)
Date 2019-12-13 14:06 -0500
Message-ID <mailman.821.1576263980.1979.bug-bash@gnu.org> (permalink)
References <CAOdNpm8m-8NQVfWiCQX3CKPordxzZShx6K1_OLTbYg77gf5R=g@mail.gmail.com> <21aed96a-ef74-71db-b073-47728cdf2a62@case.edu>

Show all headers | View raw


On 12/12/19 4:57 AM, Šimon Let wrote:
> Hi,
> 
> according to `bind --help`, `bind -X` should "List key sequences bound with
> -x and associated commands in a form that can be reused as input.".
> 
> However, when I remove a binding using `bind -r` it still shows up in the
> list.

Yes. As you noted, it's a red herring, since the readline key binding to
the function that executes the string is removed, but it's messy.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: bind -X shows inactive bindings (bindings removed using bind -r) Chet Ramey <chet.ramey@case.edu> - 2019-12-13 14:06 -0500

csiph-web