* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
@ 2010-08-06 21:02 Tom Tromey
2010-08-07 18:40 ` Dan Nicolaescu
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Tom Tromey @ 2010-08-06 21:02 UTC (permalink / raw
To: 6815
*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.
In GNU Emacs 23.2.1 (i386-redhat-linux-gnu, GTK+ Version 2.20.1)
of 2010-05-13 on x86-01.phx2.fedoraproject.org
Windowing system distributor `Fedora Project', version 11.0.10802000
configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=at
om -fasynchronous-unwind-tables''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: C++/l
Minor modes in effect:
auto-fill-function: tjt-c++-do-auto-fill
shell-dirtrack-mode: t
diff-auto-refine-mode: t
erc-list-mode: t
erc-menu-mode: t
erc-autojoin-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-track-mode: t
erc-track-minor-mode: t
erc-match-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-netsplit-mode: t
erc-spelling-mode: t
erc-truncate-mode: t
flyspell-mode: t
erc-status-mode: t
erc-services-mode: t
erc-networks-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-move-to-prompt-mode: t
erc-readonly-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t
Recent input:
d d d SPC = n n n P SPC SPC SPC SPC n SPC n q SPC C-s
SPC . SPC C-u d d d d d d d C-u C-p C-p C-p C-p C-n
SPC q s n n SPC SPC C-z o C-z o q n SPC c SPC n n n
n n M-g M-g M-g M-g M-g p SPC c SPC C-u C-p p n SPC
q SPC q n n n n n n n n n n M-g M-g M-g M-g s z C-c
b C-z n <f10> <f10> C-z n C-v C-x C-f C-a M-f C-g C-z
n C-x v d ~ / g n <tab> a r <tab> a r <tab> <return>
C-x 1 C-v C-v M-< C-h m C-x o C-x 1 C-s s t a s h C-a
C-s s h e l f C-a C-v C-v C-v C-v C-v C-v C-v M-v M-v
M-> C-c b M-x m e n u - b a r - m o d e <return> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> C-h f <help-echo> C-g C-h k
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<vc-dir-mode> <git-ss> C-h k <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <vc-dir-mode> <git-st> C-x 1
C-h n M-< C-s s t a s h C-a C-z o M-x r e p o r t -
e m <tab> b <tab> <return>
Recent messages:
Quit
Mark set
Type C-x 1 to delete the help window, C-M-v to scroll help.
Mark saved where search started [2 times]
Mark set
Menu-Bar mode enabled
Quit
Type C-x 1 to delete the help window.
Mark set
Mark saved where search started
Load-path shadows:
/home/tromey/lib/lisp/rpm-spec-mode hides /usr/share/emacs/site-lisp/rpm-spec-mode
/usr/share/emacs/site-lisp/flim/sha1 hides /usr/share/emacs/23.2/lisp/sha1
/usr/share/emacs/site-lisp/flim/md4 hides /usr/share/emacs/23.2/lisp/md4
/usr/share/emacs/site-lisp/flim/hex-util hides /usr/share/emacs/23.2/lisp/hex-util
/home/tromey/.emacs.d/elpa/css-mode-1.0/css-mode hides /usr/share/emacs/23.2/lisp/textmodes/css-mode
/home/tromey/.emacs.d/elpa/ruby-mode-1.0/ruby-mode hides /usr/share/emacs/23.2/lisp/progmodes/ruby-mode
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/nxml-glyph hides /usr/share/emacs/23.2/lisp/nxml/nxml-glyph
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-valid hides /usr/share/emacs/23.2/lisp/nxml/rng-valid
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/nxml-maint hides /usr/share/emacs/23.2/lisp/nxml/nxml-maint
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-cmpct hides /usr/share/emacs/23.2/lisp/nxml/rng-cmpct
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-loc hides /usr/share/emacs/23.2/lisp/nxml/rng-loc
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-dt hides /usr/share/emacs/23.2/lisp/nxml/rng-dt
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-parse hides /usr/share/emacs/23.2/lisp/nxml/rng-parse
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-uri hides /usr/share/emacs/23.2/lisp/nxml/rng-uri
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-util hides /usr/share/emacs/23.2/lisp/nxml/rng-util
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/nxml-uchnm hides /usr/share/emacs/23.2/lisp/nxml/nxml-uchnm
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/nxml-ns hides /usr/share/emacs/23.2/lisp/nxml/nxml-ns
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/nxml-rap hides /usr/share/emacs/23.2/lisp/nxml/nxml-rap
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/xsd-regexp hides /usr/share/emacs/23.2/lisp/nxml/xsd-regexp
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/nxml-mode hides /usr/share/emacs/23.2/lisp/nxml/nxml-mode
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/nxml-enc hides /usr/share/emacs/23.2/lisp/nxml/nxml-enc
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/nxml-outln hides /usr/share/emacs/23.2/lisp/nxml/nxml-outln
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-xsd hides /usr/share/emacs/23.2/lisp/nxml/rng-xsd
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-nxml hides /usr/share/emacs/23.2/lisp/nxml/rng-nxml
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-maint hides /usr/share/emacs/23.2/lisp/nxml/rng-maint
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/xmltok hides /usr/share/emacs/23.2/lisp/nxml/xmltok
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/nxml-util hides /usr/share/emacs/23.2/lisp/nxml/nxml-util
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/nxml-parse hides /usr/share/emacs/23.2/lisp/nxml/nxml-parse
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-pttrn hides /usr/share/emacs/23.2/lisp/nxml/rng-pttrn
/home/tromey/.emacs.d/elpa/nxml-mode-20041004/rng-match hides /usr/share/emacs/23.2/lisp/nxml/rng-match
/usr/share/emacs/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.2/lisp/net/sasl-cram
/usr/share/emacs/site-lisp/flim/hmac-def hides /usr/share/emacs/23.2/lisp/net/hmac-def
/usr/share/emacs/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.2/lisp/net/hmac-md5
/usr/share/emacs/site-lisp/flim/sasl hides /usr/share/emacs/23.2/lisp/net/sasl
/usr/share/emacs/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.2/lisp/net/sasl-digest
/usr/share/emacs/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.2/lisp/net/sasl-ntlm
/usr/share/emacs/site-lisp/flim/ntlm hides /usr/share/emacs/23.2/lisp/net/ntlm
/home/tromey/.emacs.d/elpa/emms-3.0/tq hides /usr/share/emacs/23.2/lisp/emacs-lisp/tq
Features:
(shadow emacsbug cus-start cus-load python-21 python vc-annotate
cal-move warnings rfc2368 tcl find-file gdb-shell shell skeleton
noutline outline mule-util smerge-mode vc-sccs vc-dir ewoc ffap
make-mode edmacro kmacro etags idutils gnus-fun w3m-form w3m doc-view
image-mode w3m-hist w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image
w3m-proc w3m-util grep compile vc-svn vc-git browse-url bbdb-hooks
jka-compr cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs apropos mule-diag newcomment dabbrev jimb-patch bbdb-sc
supercite regi mail-hist goto-addr sh-script executable flow-fill
diff-mode parse-time vc-cvs autoconf autoconf-mode bbdb-gui gnus-cite
smiley ansi-color gnus-async gnus-bcklg gnus-ml disp-table auth-source
byte-opt bytecomp byte-compile nnml nndraft nnmh bbdb-gnus bbdb-snarf
mail-extr bbdb-com gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime dig nntp
gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
gnus-start gnus-spec gnus-int gnus-range message idna sendmail ecomplete
rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils
mailheader canlock hashcash gnus-win gnus gnus-ems nnheader gnus-util
netrc mail-utils log-edit pcvs-util add-log copyright vc vc-dispatcher
multi-isearch vc-rcs erc-menu erc-join erc-ring erc-pcomplete pcomplete
erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit
erc-spelling erc-truncate vc-bzr sha1 sha1-el hex-util texinfo help-mode
view flyspell ispell eldoc emms-status emms-lastfm emms-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-util url-parse url-vars mm-util mail-prsvr mailcap emms-browser sort
emms-playlist-sort emms-score emms-player-xine emms-player-mpd tq
emms-playing-time emms-lyrics time-date emms-streams emms-mode-line
emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do
emms-playlist-mode emms-player-mplayer emms-player-simple
emms-source-playlist emms-source-file dired emms-setup emms emms-compat
gdb-shell-autoloads nxml-enc info weblogger-autoloads xml-rpc-autoloads
package reporter cal-china lunar solar cal-dst cal-bahai cal-islam
cal-hebrew holidays hol-loaddefs appt diary-lib diary-loaddefs cal-menu
easymenu calendar cal-loaddefs uniquify mouse-sel easy-mmode status cl
cl-19 erc-services erc-networks erc-goodies erc erc-backend erc-compat
format-spec thingatpt pp bbdb timezone ange-ftp regexp-opt comint ring
server advice help-fns advice-preload u-vm-color vm-autoloads vm-vars
vm-version bbdb-autoloads tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)
Tom
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
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-10 13:45 ` Stefan Monnier
2022-01-27 18:05 ` Lars Ingebrigtsen
2 siblings, 1 reply; 11+ messages in thread
From: Dan Nicolaescu @ 2010-08-07 18:40 UTC (permalink / raw
To: Tom Tromey; +Cc: 6815
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.
There are some key bindings, but they are only active when the point is over a stash.
(tooltips over the stash show what's available).
Should vc-git-stash and vc-git-stash-snapshot have key bindings in *vc-dir*?
Ideas (and patches) on how to improve the UI are more than welcome!
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
2010-08-07 18:40 ` Dan Nicolaescu
@ 2010-08-09 16:25 ` Tom Tromey
2010-08-09 23:26 ` Dan Nicolaescu
0 siblings, 1 reply; 11+ messages in thread
From: Tom Tromey @ 2010-08-09 16:25 UTC (permalink / raw
To: Dan Nicolaescu; +Cc: 6815
>>>>> "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.
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.
Tom
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
2010-08-09 16:25 ` Tom Tromey
@ 2010-08-09 23:26 ` Dan Nicolaescu
2010-08-10 9:10 ` Stefan Monnier
2010-08-15 19:15 ` Tom Tromey
0 siblings, 2 replies; 11+ messages in thread
From: Dan Nicolaescu @ 2010-08-09 23:26 UTC (permalink / raw
To: Tom Tromey; +Cc: 6815
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...
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
2010-08-09 23:26 ` Dan Nicolaescu
@ 2010-08-10 9:10 ` Stefan Monnier
2010-08-10 12:11 ` Dan Nicolaescu
2010-08-15 19:15 ` Tom Tromey
1 sibling, 1 reply; 11+ messages in thread
From: Stefan Monnier @ 2010-08-10 9:10 UTC (permalink / raw
To: Dan Nicolaescu; +Cc: Tom Tromey, 6815
> How about adding buttons on the Stash line:
> Stash : Nothing sashed CREATE STASH STASH SNAPSHOT
I don't see any need for such buttons, but a menu entry to create
a stash sounds about right.
Of course, I think it's more important to first move the support for
stash/shelve from backends to the generic vc.el.
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
2010-08-10 9:10 ` Stefan Monnier
@ 2010-08-10 12:11 ` Dan Nicolaescu
2010-08-10 13:46 ` Stefan Monnier
0 siblings, 1 reply; 11+ messages in thread
From: Dan Nicolaescu @ 2010-08-10 12:11 UTC (permalink / raw
To: Stefan Monnier; +Cc: Tom Tromey, 6815
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> How about adding buttons on the Stash line:
>
>> Stash : Nothing sashed CREATE STASH STASH SNAPSHOT
>
> I don't see any need for such buttons, but a menu entry to create
> a stash sounds about right.
There's already a menu entry about that, and Tom's original complaint
was that it's hard to discover...
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
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-10 13:45 ` Stefan Monnier
2022-01-27 18:05 ` Lars Ingebrigtsen
2 siblings, 0 replies; 11+ messages in thread
From: Stefan Monnier @ 2010-08-10 13:45 UTC (permalink / raw
To: Tom Tromey; +Cc: 6815
> I had to enable the menu bar to find out what was available.
You don't need to enable the menu-bar for that.
C-down-mouse-3 will show you the menu-bar even if it's disabled.
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
2010-08-10 12:11 ` Dan Nicolaescu
@ 2010-08-10 13:46 ` Stefan Monnier
0 siblings, 0 replies; 11+ messages in thread
From: Stefan Monnier @ 2010-08-10 13:46 UTC (permalink / raw
To: Dan Nicolaescu; +Cc: Tom Tromey, 6815
>>> Stash : Nothing sashed CREATE STASH STASH SNAPSHOT
>>
>> I don't see any need for such buttons, but a menu entry to create
>> a stash sounds about right.
> There's already a menu entry about that,
Duh! Sorry.
> and Tom's original complaint was that it's hard to discover...
We could provide a tool-bar, and in that tool-bar, maybe shelve/stash
would get a spot (not sure, but possible). But text buttons don't
seem justified.
Tom's problem is that he's not used to using the menu-bar to
find features.
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
2010-08-09 23:26 ` Dan Nicolaescu
2010-08-10 9:10 ` Stefan Monnier
@ 2010-08-15 19:15 ` Tom Tromey
2010-08-16 11:22 ` Stefan Monnier
1 sibling, 1 reply; 11+ messages in thread
From: Tom Tromey @ 2010-08-15 19:15 UTC (permalink / raw
To: Dan Nicolaescu; +Cc: 6815
>> These key bindings are not very discoverable. It would be nice if they
>> showed up in `C-h m' at least.
Dan> I am not aware of an easy way to do that. Creating a vc-git-dir-mode
Dan> derived from vc-dir-mode would help...
How about just putting the bindings in the mode's map, and having the
commands error when outside the stash area?
Tom
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
2010-08-15 19:15 ` Tom Tromey
@ 2010-08-16 11:22 ` Stefan Monnier
0 siblings, 0 replies; 11+ messages in thread
From: Stefan Monnier @ 2010-08-16 11:22 UTC (permalink / raw
To: Tom Tromey; +Cc: Dan Nicolaescu, 6815
>>> These key bindings are not very discoverable. It would be nice if they
>>> showed up in `C-h m' at least.
Dan> I am not aware of an easy way to do that. Creating a vc-git-dir-mode
Dan> derived from vc-dir-mode would help...
> How about just putting the bindings in the mode's map, and having the
> commands error when outside the stash area?
And/or move stash/shelve to the generic code, of course.
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#6815: 23.2; no key binding in *vc-dir* for stash commands
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-10 13:45 ` Stefan Monnier
@ 2022-01-27 18:05 ` Lars Ingebrigtsen
2 siblings, 0 replies; 11+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-27 18:05 UTC (permalink / raw
To: Tom Tromey; +Cc: 6815
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.
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
This has been fixed in Emacs 29 -- `z c' etc.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-01-27 18:05 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.