From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 13 10:03:01 2021 Received: (at submit) by debbugs.gnu.org; 13 Aug 2021 14:03:02 +0000 Received: from localhost ([127.0.0.1]:42771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEXm1-0005JH-Kr for submit@debbugs.gnu.org; Fri, 13 Aug 2021 10:03:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:34438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEXlx-0005Iu-8v for submit@debbugs.gnu.org; Fri, 13 Aug 2021 10:03:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEXlw-0007DG-MN for guix-patches@gnu.org; Fri, 13 Aug 2021 10:02:56 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:34665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEXlv-0007aE-7q for guix-patches@gnu.org; Fri, 13 Aug 2021 10:02:56 -0400 Received: by mail-lf1-x12f.google.com with SMTP id z2so20121293lft.1 for ; Fri, 13 Aug 2021 07:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=D49X8FHcG5a17koDYWscGqSFnz8WqM/K6v0JOaeXH7I=; b=X+c7vxx1iUF5QRdScqELi0X43RAt/AianjRsdeWA6By8/NENpNW7SjEJaLdTexDT4d jS/dWEl601MkJeBSyqYxqiXMWk1KDaHr3MPYKoNGPpSn2w39ZYuFeDvmW2AvL+XF/ql4 Vh+RAsKhJthCCzlfPFXfot2H5BLv6FMDrjYW4/HsB3nkQ+L8Hxz3iEUvsrJbfiT7KY6o yJDsaZdb8pkHMD7z2qUbPFeIhActbZa12R9bjO/Z2RhiTqSUqD5kWrGwCYxuKeRWzlwl Nh2Ew8codHeqTo5S+V9CFwhVNxxEGahTGWyoEch1Lgv3rkHxhlK0pSZmZYYsMYPwNfuY 5Y9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=D49X8FHcG5a17koDYWscGqSFnz8WqM/K6v0JOaeXH7I=; b=RwsegjM8QzYaU4n3krVaKNm+SKU+665P3/zbu7ZBNM5jigZEu7KULMJqaiiadYTGU1 bQbg8ZpJe+QMVy3ffSU5HWOL9p7lPrxrQUoJ5xBOHhPM+wB5k4y7xBfEOZUo+wlnj1iu OhlbFvCbAmftRZ8M1zpVBrsoK9jh6pN5v0gL6HH6hsQzU1T8kNfQvs4tuYD5fJtmmPES cOyTvw7dSf/pd40RQsU72yLBYZ8w7hElW6PyzsfeVqTpQ7qeBKJCUHUCCQbXVxHKyoPG 2NbQFVcAWRDTp0+rCavcZ2MCJZTigfmBT1rYpnBen7QaICjYYzLAAkwUtd1iaaFRXHm2 8JEQ== X-Gm-Message-State: AOAM530B9SyMFCePzpCacJdRH4J/OPnBb2s2m8W+/KNSZ3hVksKIUypQ hB9MjRiJZeCHIFLb/nB8RGIfGQNi/hs= X-Google-Smtp-Source: ABdhPJx0trTjyjGVNe0YiO6YsNUf4YZcjCNjfjKQKf/FYZslb5koWB/ugzTKtLgy9MyZPQOiy3wyiw== X-Received: by 2002:a05:6512:3399:: with SMTP id h25mr1753182lfg.247.1628863373416; Fri, 13 Aug 2021 07:02:53 -0700 (PDT) Received: from guix-xps13 ([78.107.92.112]) by smtp.gmail.com with ESMTPSA id b12sm165926lfb.132.2021.08.13.07.02.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 07:02:52 -0700 (PDT) From: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= To: guix-patches@gnu.org Subject: =?utf-8?Q?=5BAndr=C3=A9?= A. Gomes] [PATCH] Documentation fix Date: Fri, 13 Aug 2021 17:02:48 +0300 Message-ID: <874kbtigs7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=andremegafone@gmail.com; helo=mail-lf1-x12f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Guix, I noticed that unless geiser-guile-load-path is given an absolute path, emacs-guix doesn't work properly. Here's a recipe to see it failing: Write a file, say test-emacs.el: --8<---------------cut here---------------start------------->8--- (with-eval-after-load 'geiser-guile (add-to-list 'geiser-guile-load-path "~/src/guix")) --8<---------------cut here---------------end--------------->8--- $ emacs -q -l /path/to/test-emacs.el M-x guix p n --8<---------------cut here---------------start------------->8--- Starting Guix REPL ... [5 times] guix-geiser-eval: Error in evaluating guile expression: ice-9/boot-9.scm:16= 85:16: In procedure raise-exception: error: package-names*: unbound variable Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(emacs-guix) [1]> --8<---------------cut here---------------end--------------->8--- The attached patch fixes the code snippet in the documentation, thus preventing others from stumbling on it. Thank you. -- Andr=C3=A9 A. Gomes "Free Thought, Free World" --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-doc-Fix-code-snippet.patch From 5c402baa846f1a3bb330b4430c0dd2ae4c0da944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= Date: Fri, 13 Aug 2021 16:22:13 +0300 Subject: [PATCH] doc: Fix code snippet. * doc/contributing.texi (Contributing The Perfect Setup): Use absolute paths. --- doc/contributing.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/contributing.texi b/doc/contributing.texi index d1b77d7d05..23e11d6408 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -256,7 +256,7 @@ that it finds source files from your checkout: @lisp ;; @r{Assuming the Guix checkout is in ~/src/guix.} (with-eval-after-load 'geiser-guile - (add-to-list 'geiser-guile-load-path "~/src/guix")) + (add-to-list 'geiser-guile-load-path (expand-file-name "~/src/guix"))) @end lisp To actually edit the code, Emacs already has a neat Scheme mode. But in -- 2.32.0 --=-=-=--