git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean-Luc Herren <jlh@gmx.ch>
To: git@vger.kernel.org
Subject: How to make gitk not overwrite my selection?
Date: Tue, 04 Mar 2008 16:39:08 +0100	[thread overview]
Message-ID: <47CD6D1C.1080202@gmx.ch> (raw)

Hi list!

In gitk, whenever I select a commit in the tree, the SHA1 field
gets automatically selected, putting its hash into the current
selection for easy pasting into other applications.  I wonder if I
can disable this, because I find it rather annoying; if I do
happen to want to paste the hash somewhere, I can easily double
click the SHA1 field.

This is specially annoying when I select a hash in xterm and then
start gitk to paste it in the SHA1 field.  But immediately after
gitk opens, it preselects the current HEAD, overwriting my
previous selection from xterm.

Generally I think an application should not replace the selection
unless the user explicitely marks something.  Although I can
understand that it can be useful sometimes with gitk.  Therefore
it should maybe be optional.

Thanks,
jlh

             reply	other threads:[~2008-03-04 15:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 15:39 Jean-Luc Herren [this message]
2008-03-04 23:03 ` How to make gitk not overwrite my selection? Jeff King
2008-03-05 22:44   ` Jean-Luc Herren
2008-03-05 23:00     ` Martin Langhoff
2008-03-06 10:34   ` Paul Mackerras
2008-03-06 11:49     ` [PATCH] gitk: make autoselect optional Jeff King

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=47CD6D1C.1080202@gmx.ch \
    --to=jlh@gmx.ch \
    --cc=git@vger.kernel.org \
    /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).