Pierre Neidhardt <m...@ambrevar.xyz> 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. -- Chris
signature.asc
Description: PGP signature