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: Lars Ingebrigtsen
Subject: bug#52158: 29.0.50; Add key binding fo vc-git-stash
Date: Mon, 29 Nov 2021 19:46:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

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

Well, by using the normal minor mode mechanism, we get better support
(via `C-h b' and `C-h m') than if we add some sort of special mechanism
to vc-dir for this.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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