[Top][All Lists]

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

Re: Apply Guix patches from debbugs

From: Chris Marusich
Subject: Re: Apply Guix patches from debbugs
Date: Thu, 18 Jul 2019 23:15:45 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Pierre Neidhardt <address@hidden> writes:

> Question for Emacs users: how do you apply patches directly from the debbugs
> interface?
> From the summary view, I can press M-m (debbugs-gnu-apply-patch).
> It asks me for a directory, I point to guix, and then I get the error
> cd: No such directory found via CDPATH environment variable
> which after some investigation turns out to be because the command
> expects a "lisp" folder (this is made for Emacs development indeed).
> There must be some other way then.
> I remember doing it in the past, so my memory must be failing me...

In Gnus, I press "#" to mark one or more messages with the "process
mark" ((gnus) Other Marks), then I press "|" (gnus-summary-pipe-output),
then I type "(cd ~/guix && git am)" to cd to my Guix checkout and apply
the patches.  This works pretty well for me.

I'm not sure if the parentheses in the "git am" command are required,
but I do it out of habit.  I suppose if I were doing this on a daily
basis, I would create some sort of function or macro to do it all in one
keystroke, but honestly I just type it out when I need to do it, so I
haven't thought about how to make it more automatic.


Attachment: signature.asc
Description: PGP signature

reply via email to

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