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:12:19 +0100

>>>>> On Mon, 29 Nov 2021 14:58:35 +0100, Lars Ingebrigtsen <larsi@gnus.org> 
>>>>> said:

    Lars> Manuel Uberti <manuel.uberti@inventati.org> writes:
    >>> Interesting, I didn't know about this. Although that's probably
    >>> because when I do C-h m in vc-dir buffers I don't see key bindings
    >>> related to stash-related commands, so I thought it was unbound.
    >> 
    >> Actually, I've now discovered that P is bound to
    >> vc-git-stash-pop-at-point when I move to a line that refers to a
    >> stash, so I have no need for my previous wrapper any more.
    >> 
    >> Thank you for pointing out the key binding. This can be closed, I guess.

    Lars> I'm wondering whether we could make these commands more discoverable,
    Lars> though.  If you put point there and hit `C-h b', it'll list the
    Lars> commands, but not elsewhere in the buffer (since these are text 
property
    Lars> keymaps).

    Lars> Anybody got any ideas here?  Adding some text to the major mode doc
    Lars> string about how there could be more commands available at certain
    Lars> points in the "header" of the buffer?

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).

Robert
-- 





reply via email to

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