From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 21 11:42:39 2022 Received: (at 58652) by debbugs.gnu.org; 21 Oct 2022 15:42:39 +0000 Received: from localhost ([127.0.0.1]:38749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oluAQ-0006ob-Tj for submit@debbugs.gnu.org; Fri, 21 Oct 2022 11:42:39 -0400 Received: from mx1.dismail.de ([78.46.223.134]:13827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oluAO-0006oL-3E for 58652@debbugs.gnu.org; Fri, 21 Oct 2022 11:42:37 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 785e4fc3; Fri, 21 Oct 2022 17:42:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=20190914; bh=5c0osLW8j2edxcJuDCW44BNUdp84nXzFcP 8JMhmhnCI=; b=oZ8A8uRefps0Yg+G66j6HtYlqE9V6IxoAXlrUZFCPZLbzh/NsF rN13t0cakl9c3D23JtWv2iNs6SNDRK+sW4gpB6yxxfeLRzVwRqn8GmGqCRLNbfC5 Ma62CJC6F6YPx14EUckrjmuEMiN8POe3Q47g0943jORY9kv0HhkH3Q4dlvzdvLuO 3mklOJL6XuYtEeMVOYzOzP7pMi3EJFjjAcxY0Wxeet1CRoTPzGgcIAy3Xf9XCPL4 mnn6C0F+hp6utVjhHHSMzK3z7Vs1bKoDNrXiznnN85wvwJvhnEmlnw1cS1yN6dP9 gAezCBu9pKQpceIzDFitfY8ueh2aBWh8k7Xg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 24e4cf52; Fri, 21 Oct 2022 17:42:27 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 4d2b3aee; Fri, 21 Oct 2022 17:42:27 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id face3a0b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 21 Oct 2022 17:42:27 +0200 (CEST) From: Joshua Branson To: Liliana Marie Prikler Subject: Re: Creating home-emacs-service-type In-Reply-To: <77fbe7e648edfc15c8007616199a867dbae72b71.camel@ist.tugraz.at> (Liliana Marie Prikler's message of "Fri, 21 Oct 2022 08:05:53 +0200") References: <495a0fab9b20dd40f9fb1aef2261b60e053bf5cd.camel@ist.tugraz.at> <77fbe7e648edfc15c8007616199a867dbae72b71.camel@ist.tugraz.at> X-Gnus-Sucks: I know man Date: Fri, 21 Oct 2022 11:42:23 -0400 Message-ID: <87o7u55gkg.fsf@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 58652 Cc: 58652@debbugs.gnu.org, Zain Jabbar X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Liliana Marie Prikler writes: > Am Donnerstag, dem 20.10.2022 um 11:30 -1000 schrieb Zain Jabbar: >> Aloha All, >> >> Thank you for your input. >> >> > Note that you reverted the patch direction. >> >> Please forgive me for that. Is it possible to explain what I did >> wrong? I will outline my steps to help you figure out what I did >> incorrectly. >> >> 1. I cloned the repo >> 2. Used =guix shell -D guix= >> 3. Ran =./bootstrap= >> 4. Ran =./configure --localstatedir=/var= >> 5. Ran =make && make check=. By the way, my =make check= had a failed >> test, I don't know if that was expected. >> 6. Made some commits >> 7. I used =git diff HEAD origin/HEAD > my-guix-patch.patch=. >> >> I might have messed around too much in my cloned repo, throwing >> something off. > Instead of 6+7, write a single commit and use =git format-patch=. > > You can of course do multi-patch series, but this feature seems not to > be one that requires that. Always clean up your commit log after a > hacking session ;) I personally find it really easy to use git send-email. :) Assuming you are in the guix git directory, then this command will send the latest commit as a patch to the guix-patches email list. #+BEGIN_SRC sh git send-email --to='guix-patches@gnu.org' \ --cc='efraim@flashner.co.il' \ --subject-prefix='Patch staging ' --annotate HEAD^ #+END_SRC This website will walk you through setting up git send email. https://git-send-email.io/