bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52158: 29.0.50; Add key binding fo vc-git-stash


From: Robert Pluim
Subject: bug#52158: 29.0.50; Add key binding fo vc-git-stash
Date: Mon, 29 Nov 2021 15:30:18 +0100

>>>>> On Mon, 29 Nov 2021 15:18:11 +0100, Lars Ingebrigtsen <larsi@gnus.org> 
>>>>> said:

    Lars> Robert Pluim <rpluim@gmail.com> writes:
    >> Either that or add commands that go to the first stash and pops
    >> etc. They'd have to unhide the stash list if it were hidden,
    >> though (and I wouldnʼt bind the 'kill-stash' thingy).

This wouldnʼt work anyway, since the bindings conflict with vc-dir

    Lars> The problem is that vc-mode is generic and stashes are very specific 
to
    Lars> Git.  Perhaps we should have introduced a bunch of minor modes, 
really.
    Lars> Like `vc-dir-git-mode' etc.  These might be pretty empty modes, but at
    Lars> least they'd offer a convenient place to put doc strings, if nothing
    Lars> else.

We could steal^Wborrow from magit, which puts all the stash commands
on the 'z' prefix. To be honest I never do much with vc mode anymore,
magit does everything I need and more, and git has taken over the
world, so Iʼm not sure we should work too hard on vc mode.

Robert
-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]