unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@gnu.org>
To: Tom Tromey <tromey@redhat.com>
Cc: 6815@debbugs.gnu.org
Subject: bug#6815: 23.2; no key binding in *vc-dir* for stash commands
Date: Mon, 09 Aug 2010 19:26:50 -0400	[thread overview]
Message-ID: <yxqeie71i6d.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m3mxsvkb27.fsf@fleche.redhat.com> (Tom Tromey's message of "Mon\, 09 Aug 2010 10\:25\:36 -0600")

Tom Tromey <tromey@redhat.com> writes:

>>>>>> "Dan" == Dan Nicolaescu <dann@gnu.org> writes:
>
> Dan> Tom Tromey <tromey@redhat.com> writes:
>>> *vc-dir* shows the git stash but offers no key bindings for manipulating
>>> it.  I had to enable the menu bar to find out what was available.
>
> Dan> There are some key bindings, but they are only active when the
> Dan> point is over a stash.  (tooltips over the stash show what's
> Dan> available).
>
> Thanks.
>
> The problem with tooltips is they only show up if I happen to hover
> there with the mouse.

Sure, tooltips are just one thing that can make things easier to use...


> Dan> Should vc-git-stash and vc-git-stash-snapshot have key bindings in
> Dan> *vc-dir*?
>
> These key bindings are not very discoverable.  It would be nice if they
> showed up in `C-h m' at least.

I am not aware of an easy way to do that.  Creating a vc-git-dir-mode
derived from vc-dir-mode would help...

How about adding buttons on the Stash line:

Stash   : Nothing sashed     CREATE STASH     STASH SNAPSHOT

That would make it more obvious how to create a stash.
These are not very frequent actions, so it would help not having to
remember a key binding.

There's some difficulty with the buttons: the "Stash:" is inserted as
a string in the EWOC, and the widget.el buttons want to be inserted
using widget-create (or somesuch), so the buttons might need to be
created from scratch...





  reply	other threads:[~2010-08-09 23:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-06 21:02 bug#6815: 23.2; no key binding in *vc-dir* for stash commands Tom Tromey
2010-08-07 18:40 ` Dan Nicolaescu
2010-08-09 16:25   ` Tom Tromey
2010-08-09 23:26     ` Dan Nicolaescu [this message]
2010-08-10  9:10       ` Stefan Monnier
2010-08-10 12:11         ` Dan Nicolaescu
2010-08-10 13:46           ` Stefan Monnier
2010-08-15 19:15       ` Tom Tromey
2010-08-16 11:22         ` Stefan Monnier
2010-08-10 13:45 ` Stefan Monnier
2022-01-27 18:05 ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=yxqeie71i6d.fsf@fencepost.gnu.org \
    --to=dann@gnu.org \
    --cc=6815@debbugs.gnu.org \
    --cc=tromey@redhat.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).