[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Writing GNU Guix commit messages
From: |
Zelphir Kaltstahl |
Subject: |
Re: Writing GNU Guix commit messages |
Date: |
Tue, 27 Jul 2021 08:23:18 +0000 |
Hi Ricardo!
Thanks for your reply!
I am using Emacs and Magit, but not yet Yasnippet. Is the snippet for Yasnippet
loaded from the source code of Guix automatically? I imagine I have to somehow
add this snippet first, before I can use it. Or perhaps there is some special
yasnippet file, which yasnippet recognizes and then it completes from that?
About etc/committer.scm: I assume, that I would run this using "guile
etc/committer.scm". Is that the correct way to go?
Best regards,
Zelphir
On 7/26/21 12:03 AM, Ricardo Wurmus wrote:
>
> Zelphir Kaltstahl <zelphirkaltstahl@posteo.de> writes:
>
>> I also remember it being mentioned, that there is some
>> tools distributed with GNU Guix, that is supposed to help with that.
>
> If you use Emacs and Magit you can use the “update” or “add” snippets with
> Yasnippet, i.e. within the commit message window opened by magit just type
> “add” and hit TAB to expand the snippet.
>
> You can also use etc/committer.scm, which is part of the source checkout. It
> was written to help with mass-upgrades of CRAN packages; it will not do the
> right thing in all cases. Notably, it has some problems separating
> consecutive package additions.
>
--
repositories: https://notabug.org/ZelphirKaltstahl