diff mbox series

[bug#55794] doc: Add debbugs-gnu-guix command for Emacs.

Message ID 87leucmwwk.fsf@gmail.com
State New
Headers show
Series [bug#55794] doc: Add debbugs-gnu-guix command for Emacs. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Oleg Pykhalov June 4, 2022, 12:32 p.m. UTC
Hi,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Brian Cully <bjc@spork.org> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>>     If you are using Emacs, does debbugs.el have
>>>     shortcomings that make it a problem to review patches?
>
> To be clear, the question was directed primarily at current committers.
>
>> 1) It’d be nice if ‘M-x debbug-guix’ existed. I (briefly) looked at
>> making such a command, thinking it’d be relatively straight-forward to
>> just copy ‘debbugs-gnu’ and tweak some variables, but when it looked
>> like it was going to take more than 10 minutes just to figure out how
>> it was all put together I gave up as I can’t really dedicate time to
>> it right now.
>
> Try: C-u M-x debbugs-gnu.  From there you can choose ‘guix’,
> ‘guix-patches’, or anything else (info "(guix) Debbugs User
> Interfaces").

I have a command in my Emacs config, which is handy to skip those steps.
diff mbox series

Patch

commit a603a7eeb06afa2ebd0c3015ece6fdb5ef43e95a
Author: Oleg Pykhalov <go.wigust@gmail.com>
Date:   Sat Jun 4 03:42:43 2022 +0300

    doc: Add debbugs-gnu-guix command for Emacs.
    
    * doc/contributing.texi (Debbugs User Interfaces): Add debbugs-gnu-guix
    command for Emacs.

diff --git a/doc/contributing.texi b/doc/contributing.texi
index e1902f120f..bf77b6e774 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -1459,6 +1459,17 @@  For example, to list all open issues on @code{guix-patches}, hit:
 @kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y
 @end example
 
+Additionally, @kbd{M-x debbugs-gnu-guix} command in (@pxref{Init File,,,
+emacs, The GNU Emacs Manual}) can be defined with:
+
+@lisp
+(defun debbugs-gnu-guix ()
+  "List Guix issues."
+  (interactive)
+  (debbugs-gnu '("serious" "important" "normal")
+               '("guix" "guix-patches")))
+@end lisp
+
 @xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on
 this nifty tool!