From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#6815: 23.2; no key binding in *vc-dir* for stash commands Date: Mon, 09 Aug 2010 19:26:50 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281397117 32179 80.91.229.12 (9 Aug 2010 23:38:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Aug 2010 23:38:37 +0000 (UTC) Cc: 6815@debbugs.gnu.org To: Tom Tromey Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 10 01:38:36 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OibvP-00016D-QA for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Aug 2010 01:38:36 +0200 Original-Received: from localhost ([127.0.0.1]:56060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OibvP-0005Y2-7n for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Aug 2010 19:38:35 -0400 Original-Received: from [140.186.70.92] (port=54278 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OibvH-0005XS-HZ for bug-gnu-emacs@gnu.org; Mon, 09 Aug 2010 19:38:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OibvG-0007Cw-BY for bug-gnu-emacs@gnu.org; Mon, 09 Aug 2010 19:38:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59511) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OibvG-0007Cs-8A for bug-gnu-emacs@gnu.org; Mon, 09 Aug 2010 19:38:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OibkE-00037F-0R; Mon, 09 Aug 2010 19:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Aug 2010 23:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6815-submit@debbugs.gnu.org id=B6815.128139636911966 (code B ref 6815); Mon, 09 Aug 2010 23:27:01 +0000 Original-Received: (at 6815) by debbugs.gnu.org; 9 Aug 2010 23:26:09 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OibjN-00036x-H5 for submit@debbugs.gnu.org; Mon, 09 Aug 2010 19:26:09 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OibjL-00036r-UW for 6815@debbugs.gnu.org; Mon, 09 Aug 2010 19:26:08 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oibk2-0003oI-Ga; Mon, 09 Aug 2010 19:26:50 -0400 In-Reply-To: (Tom Tromey's message of "Mon\, 09 Aug 2010 10\:25\:36 -0600") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 09 Aug 2010 19:27:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39385 Archived-At: Tom Tromey writes: >>>>>> "Dan" == Dan Nicolaescu writes: > > Dan> Tom Tromey 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...