git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@kernel.org>
To: git@vger.kernel.org
Cc: Thomas Koutcher <thomas.koutcher@online.fr>,
	Jonas Fonseca <jonas.fonseca@gmail.com>
Subject: tig: bug when binding to 'generic'?
Date: Sat, 2 May 2020 21:04:33 +0200	[thread overview]
Message-ID: <20200502190433.GB25220@ninjato> (raw)

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

Hi,

here is a minimal, problematic .tigrc:

===
bind	generic	F	!echo "Hello World!"
===

This works for most views, but not for 'main' where it still toggles the
refs. Adding a specific 'main' binding works:

===
bind	main	F	!echo "Hello World!"
===

It also works if I bind the 'generic' command to an unused key, e.g. '4'.

Discovered with Debian's 2.4.1, but confirmed against HEAD of today.

A bug?

Thanks,

   Wolfram


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2020-05-02 19:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02 19:04 Wolfram Sang [this message]
2020-05-02 19:07 ` tig: bug when binding to 'generic'? Kevin Daudt
2020-05-02 19:31   ` Wolfram Sang
2020-05-04 22:05     ` Taylor Blau
2020-05-04 23:01       ` Junio C Hamano
2020-05-04 23:14         ` Taylor Blau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200502190433.GB25220@ninjato \
    --to=wsa@kernel.org \
    --cc=git@vger.kernel.org \
    --cc=jonas.fonseca@gmail.com \
    --cc=thomas.koutcher@online.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).