From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Apply Guix patches from debbugs Date: Thu, 18 Jul 2019 23:15:45 -0700 Message-ID: <87h87i7dny.fsf@gmail.com> References: <87o91v7ela.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42220) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoMBS-00031j-5z for guix-devel@gnu.org; Fri, 19 Jul 2019 02:15:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoMBQ-00012O-63 for guix-devel@gnu.org; Fri, 19 Jul 2019 02:15:58 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:44827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hoMBO-0000zK-9r for guix-devel@gnu.org; Fri, 19 Jul 2019 02:15:54 -0400 Received: by mail-pl1-x633.google.com with SMTP id t14so15070944plr.11 for ; Thu, 18 Jul 2019 23:15:52 -0700 (PDT) In-Reply-To: <87o91v7ela.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Mon, 15 Jul 2019 12:54:25 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pierre Neidhardt writes: > Question for Emacs users: how do you apply patches directly from the debb= ugs > 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. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl0xYBIACgkQ3UCaFdgi Rp1ulw/7BywQMh8TEhP4p/q02JifcnUpdM8DYOIWG3UI+sCCDANAOF4W0lMQzPEN SnNEuFrA1HXCR/MYeMAoeDUn88K/t0d/8B4covtOPlYZtVnGrL5JVhiQk+PeE4Cb +dsb0xkhYw/GUoAGk/TtD51n8qNEjjxxYe4a1T10/mms/af2XIQGu8IM50rRuqHg vt1rbAyt/wUYJ2D1xYsYOxVsZFxCL3JgJOp/dKhJ/1seFRu3WPe+IPyLwLuiQBiN nTkrGdR1PcThvzCZpWL5Y/ClU1vHkOrpU1lCt7lQ5HNjdTADJUWbZ+ZsLV9ffg4C 7oBqX+vhVrGucZWFW5S/2NpECfbB5nY9tbmsiPQy4S+iO4T53jMv6T/JB8OkFsJe K7AF3Tkh/vDE+y0Hx1vZvpU7NbqqYuUv9R9th9E2h2pQmpMWPLPCvTBC63OOXxj3 VI1uqiySUZWwL8Uq3MgeGiSE+ZETbzX7vWwbPFiKDPwDMdpcP76wQkkHtgtZFufn 2jo0gn3nrfgK14OW/Bl6zmjLeZfJodJCh9/kbKHVJhDAKSdATlFFvMgol2GRrumO dMgm2coia00ijNp3mgQoOak8F/ZsVIQdWkkooN38vdcblkm83/kO+oPusiYYvAVh 8kiwcb5PBSBzNHz64P1YrnSukNLBIv1Fmo0hRMUM3nO2558fNYE= =Wid2 -----END PGP SIGNATURE----- --=-=-=--