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


Groups > gnu.bash.bug > #15594 > unrolled thread

blink-matching-paren breaks closing parenthesis binding

Started byNikolaos Kakouros <nkak@kth.se>
First post2019-11-12 00:17 +0000
Last post2019-11-12 00:17 +0000
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  blink-matching-paren breaks closing parenthesis binding Nikolaos Kakouros <nkak@kth.se> - 2019-11-12 00:17 +0000

#15594 — blink-matching-paren breaks closing parenthesis binding

FromNikolaos Kakouros <nkak@kth.se>
Date2019-11-12 00:17 +0000
Subjectblink-matching-paren breaks closing parenthesis binding
Message-ID<mailman.1272.1573519355.13325.bug-bash@gnu.org>
In my .bashrc, I have:


```
bind -x '")": bash_function'
bind 'set blink-matching-paren'
```

If I type `)` in bash, nothing happens. Blinking works. If I reverse the order of the commands, then blinking stops working and the binding works.

I think I understand the reason behind this; `blink-matching-paren` uses `)` to run the blinking function, sth like a hidden default binding. 

I thought I should mention this as it is not documented anywhere and I don't know if it could be considered a bug or a documentation issue.

Could the matching paren functionality be triggered manually from within the `bash_function` function? That could also be mentioned in the docs.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web