trying to fix
This commit is contained in:
parent
fa407dfeb6
commit
e013d7569e
22945 changed files with 447936 additions and 0 deletions
|
@ -0,0 +1,41 @@
|
|||
<p>Following my <a href="https://www.manueluberti.eu/emacs/2021/11/27/vc/">previous
|
||||
article</a> on VC, I felt like
|
||||
proposing a key binding for <code class="language-plaintext highlighter-rouge">vc-git-stash</code> to the Emacs developers was something
|
||||
that could turn out to be useful for other VC users.</p>
|
||||
|
||||
<p>As it is usually recommended to do in these cases<sup id="fnref:1"><a class="footnote" href="https://www.manueluberti.eu/feed#fn:1" rel="footnote">1</a></sup>, I filed my request using
|
||||
<kbd>M-x report-emacs-bug</kbd>:
|
||||
<a href="https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52158">#52158</a>. You can see that
|
||||
I specifically mentioned <code class="language-plaintext highlighter-rouge">mu-vc-git-stash</code>, the thin wrapper I coded to have VC
|
||||
stashing commands easily reachable, in order to back my proposal with the custom
|
||||
code I used to scratch a tiny itch.</p>
|
||||
|
||||
<p><a href="https://lars.ingebrigtsen.no/">Lars Ingebrigtsen</a>, one of the Emacs
|
||||
co-maintainers, replied to me quickly<sup id="fnref:2"><a class="footnote" href="https://www.manueluberti.eu/feed#fn:2" rel="footnote">2</a></sup> suggesting that I can use <kbd>C</kbd>
|
||||
if I put my cursor on the <code class="language-plaintext highlighter-rouge">Stash:</code> line of the <code class="language-plaintext highlighter-rouge">vc-dir</code> buffer. That led me to
|
||||
discover that if I move the cursor onto a line pointing to a stash I can press
|
||||
<kbd>P</kbd> to pop it with <code class="language-plaintext highlighter-rouge">vc-git-stash-pop-at-point</code>. The outcome should be
|
||||
obvious: I can get rid of <code class="language-plaintext highlighter-rouge">mu-vc-git-stash</code>.</p>
|
||||
|
||||
<p>Why wasn’t I using these key bindings before? As I wrote on the bug tracker,
|
||||
<kbd>C-h m</kbd> in <code class="language-plaintext highlighter-rouge">vc-dir</code> buffers does not document them and I did not find
|
||||
them explained in the <code class="language-plaintext highlighter-rouge">28.1.10.2 VC Directory Commands</code> section of the manual
|
||||
either. If the documentation is not added, I may get in touch with the Emacs
|
||||
maintainers to see if I can contribute it myself. Unless of course the
|
||||
documentation is already there and it’s just my reading and searching skills
|
||||
failing me.</p>
|
||||
|
||||
<h3 id="notes">Notes</h3>
|
||||
|
||||
<div class="footnotes">
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>I was once advised to use this approach on <code class="language-plaintext highlighter-rouge">emacs-devel</code>. <a class="reversefootnote" href="https://www.manueluberti.eu/feed#fnref:1">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:2">
|
||||
<p>This is something Emacs core developers do all the time and I don’t think
|
||||
it’s appreciated enough. They always reply to my questions, even the ones
|
||||
that on second thoughts I consider silly. <a class="reversefootnote" href="https://www.manueluberti.eu/feed#fnref:2">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue