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


Groups > gnu.bash.bug > #15594

blink-matching-paren breaks closing parenthesis binding

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Nikolaos Kakouros <nkak@kth.se>
Newsgroups gnu.bash.bug
Subject blink-matching-paren breaks closing parenthesis binding
Date Tue, 12 Nov 2019 00:17:25 +0000
Lines 20
Approved bug-bash@gnu.org
Message-ID <mailman.1272.1573519355.13325.bug-bash@gnu.org> (permalink)
References <1573517845300.26243@kth.se>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="iso-8859-1"
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1573519356 17901 209.51.188.17 (12 Nov 2019 00:42:36 GMT)
X-Complaints-To action@cs.stanford.edu
To "bug-bash@gnu.org" <bug-bash@gnu.org>
Envelope-to bug-bash@gnu.org
X-Virus-Scanned by amavisd-new at kth.se
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1573517847; bh=YSnAxFh40aY4RS3TmxSmmCecPnEzTS4Q8J7BSnSTnM4=; h=From:To:Subject:Date; b=oJctNIkTRXtJ/WXrC4RMxZ9WFkrTlaKx9qvs0YEDxflAICBLPiMhsooJCOP/7kI1d RQj4RWFBt8ybhLf+xncPErIvfb8iRUbUSU+VrU5UYzom0qS/Pi6+fajf3R795RNg17 DIsKsLovw2XJTD+OvA5L7+Th+WChrYCeaaCQ+NFA=
Thread-Topic blink-matching-paren breaks closing parenthesis binding
Thread-Index AQHVmO0kdU2HQiaDREyRye2/pLOIMw==
Accept-Language en-US, sv-SE
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-ms-exchange-messagesentrepresentingtype 1
x-ms-exchange-transport-fromentityheader Hosted
x-originating-ip [84.216.244.244]
X-detected-operating-system by eggs.gnu.org: GNU/Linux 3.x
X-Received-From 2001:6b0:1:1300:250:56ff:fea6:2de3
X-Mailman-Approved-At Mon, 11 Nov 2019 19:42:34 -0500
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <1573517845300.26243@kth.se>
Xref csiph.com gnu.bash.bug:15594

Show key headers only | View raw


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.

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


Thread

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

csiph-web