guix-devel
[Top][All Lists]
Advanced

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

Re: Emacs and URLs in Git commit messages


From: zimoun
Subject: Re: Emacs and URLs in Git commit messages
Date: Thu, 04 Feb 2021 14:16:57 +0100

Hi Chris,

On Thu, 04 Feb 2021 at 00:38, Chris Marusich <cmmarusich@gmail.com> wrote:

>       Fixes <https://issues.guix.gnu.org/45314>.

[...]

> Regarding the URL, do people just type it all out, including the opening
> and closing brackets (<>)?  Or is there an Emacs command that does it
> for you?  I've briefly looked on the Internet, but this is the kind of
> thing that seems difficult to search for.

I am not representative since I commit few fixes.  Well, I have a tiny
helper that pushes to the kill ring:

<https://github.com/zimoun/my-conf/blob/master/.config/emacs/lisp/funs.el#L271>

Especially reading bug#45314 in Debbugs mode, I type “M-x
my/guix-issues” then the URL ’http://issues.guix.gnu.org/issue/45314’ is
stashed.  If not in debbugs mode, as here in message mode, the tiny
helper asks the bug number then pushes it to the kill ring.  This tiny
helper is far from perfect, any improvements is welcome. :-) Especially
if it is already provided by an Emacs command.

About the brackets, I type them.


Aside I thought the convention was <http://bugs.gnu.org/45314> tough for
bug fix commit.  Anyway.


Hope that helps,
simon



reply via email to

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