From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QDIzMkQCDF+kBAAA0tVLHw (envelope-from ) for ; Mon, 13 Jul 2020 06:42:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CFUkLkQCDF9DKAAAB5/wlQ (envelope-from ) for ; Mon, 13 Jul 2020 06:42:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 30E709401CB for ; Mon, 13 Jul 2020 06:42:12 +0000 (UTC) Received: from localhost ([::1]:47640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jusAD-00020t-FI for larch@yhetil.org; Mon, 13 Jul 2020 02:42:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jusA6-00020j-65 for bug-guix@gnu.org; Mon, 13 Jul 2020 02:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jusA5-0001c5-Ro for bug-guix@gnu.org; Mon, 13 Jul 2020 02:42:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jusA5-0001NZ-QC for bug-guix@gnu.org; Mon, 13 Jul 2020 02:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42333: Emacs: error on guix-emacs-autoload-packages Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 Jul 2020 06:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42333 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42333@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15946224885251 (code B ref -1); Mon, 13 Jul 2020 06:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jul 2020 06:41:28 +0000 Received: from localhost ([127.0.0.1]:47414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jus9X-0001Mc-OP for submit@debbugs.gnu.org; Mon, 13 Jul 2020 02:41:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:35076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jus9W-0001MV-59 for submit@debbugs.gnu.org; Mon, 13 Jul 2020 02:41:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jus9V-0001yP-Tx for bug-guix@gnu.org; Mon, 13 Jul 2020 02:41:25 -0400 Received: from mout02.posteo.de ([185.67.36.66]:55781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jus9T-0001ZT-G8 for bug-guix@gnu.org; Mon, 13 Jul 2020 02:41:25 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AC3CC2400FB for ; Mon, 13 Jul 2020 08:41:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1594622480; bh=Pie7NA0y/R/OMyO6crTk+ZbXctp5F3Dyxb65wTNPoNU=; h=From:To:Subject:Date:From; b=bPMAeEG3vcaFOEIQWAqsWZkMKyP1xEJm1PWjwBRymWIDDwTSst5YjSHHJcyes4cp+ NiQIYtbYxp3HzKV6+4Xk7EVopAJA+kYsu2H3Ras3hY/Km7uZE816gERj018WoWYUiz GjPSEKsC04OnCbz5O04VJjyTsWGfsB46LiXOm+41VS1P2LDa2yHyQ0iG8ozhKYXwJB m5GpkuBDxSM9yu1HgrK70Rnzr3QaCp6B93QuDpeMEwxNSQrFg1F/I9sVtB2v5jfKqn J0rbgALsoyTLcPdFxbFasHjkz1cdjL1PlPzJpLQYHBcXtUP1/bb6K1didUGsfDBoWR ynPhle+GYjDCA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4B4vDw0VmCz9rxx for ; Mon, 13 Jul 2020 08:41:19 +0200 (CEST) From: Alexandru-Sergiu Marton In-Reply-To: <87r1tgj144.fsf@posteo.ro> (Alexandru-Sergiu Marton's message of "Sun, 12 Jul 2020 16:48:11 +0300") References: <87h7udm49d.fsf@posteo.ro> <87r1tgj144.fsf@posteo.ro> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Date: Mon, 13 Jul 2020 12:41:08 +0300 Message-ID: <87k0z7ycp7.fsf@posteo.ro> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=brown121407@posteo.ro; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/13 02:41:21 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.ro header.s=2017 header.b=bPMAeEG3; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.ro (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: r58KMgQqdBHN Alexandru-Sergiu Marton writes: > This way guix-emacs-autoload-packages works again. I installed ALL the > packages I needed from Guix (I ditched Doom Emacs) and generating my > site works too now. I managed to narrow down the problem. If I install Doom Emacs, Guix's EMACSLOADPATH doesn't seem to be loaded at all into the load-path variable. This can be fixed with: (mapc (lambda (p) (add-load-path! p)) (split-string (getenv "EMACSLOADPATH") ":")) At this point it doesn't complain about that contrib path not being found. To get there, I pulled my config [1] and ran `doom sync`. The next time I fired up Emacs and I tried to run `guix-emacs-autoload-packages` it started to complain about that path. So I guess somewhere in that processes it screws up the load-path even more if it manages to add "$GUIX_PROFILE/share/emacs/site-lisp/contrib" in there. Since I couldn't find anything actually there or using that path, for now I have this in my config: (delete (concat (getenv "HOME") "/.guix-profile/share/emacs/site-lisp/contrib") load-path) I still have no idea why is the thing behaving the way that it is since I never had issues like this with the same config on my other machine. If you have any pointers as to what might have happened or had similar problems yourself I would love to hear from you. [1] https://git.sr.ht/~brown121407/dotfiles/tree/master/doom/.config/doom -- Sergiu