From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gL6EHlIHDGJBUAAAgWs5BA (envelope-from ) for ; Tue, 15 Feb 2022 21:04:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gJbwG1IHDGKdHQEA9RJhRA (envelope-from ) for ; Tue, 15 Feb 2022 21:04:34 +0100 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 23A9239BBF for ; Tue, 15 Feb 2022 21:04:34 +0100 (CET) Received: from localhost ([::1]:48510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nK43t-0002a4-9t for larch@yhetil.org; Tue, 15 Feb 2022 15:04:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK3uW-0000bN-NB for guix-devel@gnu.org; Tue, 15 Feb 2022 14:54:52 -0500 Received: from [2a00:1450:4864:20::541] (port=42654 helo=mail-ed1-x541.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nK3uR-00022k-7h for guix-devel@gnu.org; Tue, 15 Feb 2022 14:54:52 -0500 Received: by mail-ed1-x541.google.com with SMTP id b14so89780ede.9 for ; Tue, 15 Feb 2022 11:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=SGrhckr+MU9Adhv+1b7IQSuqh1u3as5iv5S7DL5tsRY=; b=K5n1OB3GWZYDq5jkaLYrat5VR+9tXycj5lekhC/H/iPoTMqiMGqrmpEdKkdF+Ideax IHNnDYMK7VLXuwu3lDAundlpGAXs7KY/fIodOvgH7P+FVifph0qlVPviX4nw6L10QGWX w4wjMkZOT4wA/VpHXQreONKEFcZDouxiMPTzxGwyxdoGWsCz/cM3yolOCo3BajWV1n4e 02LqDQyhFbGQiUnPB1BMulSBD9zTlkvUD6iO0dJ7mm1k8gz3K4ldHel2KfJ5J/pVK9Lw CZPObcnwTTcZcmtzGCF2FFV9hw7WzPEb5XUDnyULyZHPQcMJ72oSwzN0KeouMexOJCEA LdoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=SGrhckr+MU9Adhv+1b7IQSuqh1u3as5iv5S7DL5tsRY=; b=JEwFsJRm+MzCXB67ZlTIUiy49VJPSvca33E+WT/cspwKRczOkkcPnWiPpcG1UEMQxp wvlocuVhygYipLjwXw1VAbn7pwT0Gcwqc6k4OCVQBS1csPNc4H/QsFXKe3PR7gBZP6Ni yqsLznQYP/q2XgilBXSJWPAkB7lT2GPvOzi4qdtJdys+1rkUXdrPoPtG0nrh8wLOsjpT /n4tacNOw2rmm5wMb1bMHzYAuM8LCh91uMrKUOzUh3xGQ8dmrcft1+4awwjLegHiFXtE nRnYdSyGvUdtgM3MINFMy/PixSiGiwnwwIEgfLgJWmjcBDV3J7eQDQGZq0Ht6cLNQJYD 2alA== X-Gm-Message-State: AOAM530clTz2/MulChCaivqKJC4tDbsEAtalL1H1pjxet/KB+Q/8Dz3B eiA/OBpe79nuo6pYCb6BN4Y= X-Google-Smtp-Source: ABdhPJzSfNb9tSUsgUQpq87C2p8na0lXPlNnIlDEsCTJre5NjaPguXmE7Q0Whyq4qbPZuzck3o+iAg== X-Received: by 2002:a05:6402:d77:: with SMTP id ec55mr539001edb.201.1644954885164; Tue, 15 Feb 2022 11:54:45 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id v5sm397795edb.15.2022.02.15.11.54.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 11:54:44 -0800 (PST) Message-ID: Subject: Re: Missing dependency for emacs-magit From: Liliana Marie Prikler To: Zelphir Kaltstahl , Michael Rohleder Date: Tue, 15 Feb 2022 20:54:43 +0100 In-Reply-To: <58bffd3e-cd4d-ed22-93f7-2be34df216ad@posteo.de> References: <397c06b8-d16c-7c1f-05ba-31750de415d8@posteo.de> <87tud2maa6.fsf@rohleder.de> <779abb46-d5af-1312-84d0-a9339e456674@posteo.de> <58bffd3e-cd4d-ed22-93f7-2be34df216ad@posteo.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::541 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::541; envelope-from=liliana.prikler@gmail.com; helo=mail-ed1-x541.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.904, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644955474; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=SGrhckr+MU9Adhv+1b7IQSuqh1u3as5iv5S7DL5tsRY=; b=ivMiN81b63Z8168BkN5/sBXUw6g/kBHziH9mCIHqrZJoR7nzZJ36sEvazLTFcaxzQ3ZwjQ tjdBoJQU4HP1jhOrFkTUa0V7/Xky+gLCnPlA/6clW9Bg2fG1pk+dCXSLL6m+FOVorm+5rg LI1vosQTIm2LL+YV5g6Jkj4SVRu9Kyc3LKwMd2RxxMEVgyB+C9DsHyACqcWsV5wGhzYoJB NED0l7YXBk0dGaFmW9ZSnRktZbw5Dog9ZUsmkuvyE+pJzcC6H3kJGgDIrYxinyO1mAUQCv sSbczHJeFS1U8fgPcuoTT8M67MNmDPcFTnTXWUXwXsdrjKZcPUH3j1qp0NI/ig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644955474; a=rsa-sha256; cv=none; b=ufybhfBctQZhqS5pill4Zqav9JQfg4HYaSAkAyQ77wCRniXv6slTzluqYbfZ/QDgW6lDYv +0uQQyWGEhSE6z8qSnkAMCEh43oTDJhFuUgniNSlceCh6XhcaM0z1kAP2EZQIMgKP3u5QF a3IuAZp80LD+sMrRY6MtF3lgCpC4BKM4GkOKm2CUdzwQqhHadUM9iZJ3ezvLVMXhN1VMjF 5C0/c8mvurCaj52A/pALdKmnoUHwr3IBmiilCOdDfuKYHbyZ5yARaX4AL0iyMyIOzvhAPZ fHzmV8cnjcMQX+PXeZkqJocoxjrl/ec8FFez6qAKnbrJO06MP5beEHB6GQGmLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K5n1OB3G; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K5n1OB3G; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 23A9239BBF X-Spam-Score: -4.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: Qaa/gVCZ+8h8 Hi Zelphir, Am Dienstag, dem 15.02.2022 um 09:45 +0000 schrieb Zelphir Kaltstahl: > Hello Liliana, > > On 2/14/22 20:33, Liliana Marie Prikler wrote: > > Hi Zelphir, > > > > Am Montag, dem 14.02.2022 um 18:41 +0000 schrieb Zelphir Kaltstahl: > > > [...] > > I think we need some multi-level printf debugging here. > > > > First, after  `source "${GUIX_PROFILE}/etc/profile"`, is > > EMACSLOADPATH > > correctly pointing to the share/emacs/site-lisp of > > ${GUIX_EXTRA_PROFILES}/emacs-test-profile? > > > > Second, before and after executing your init.el snippet, what are > > the > > contents of load-path? > > Do they contain /gnu/store/SOME_LONG_HASH-magit-MAGIT_VERSION? > > > > Cheers > > To simplify things, I created a shell script, which does the calls: > > ~~~~ > #!/usr/bin/env bash > > set -Eeuxo pipefail > > # source the environment > GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/emacs-test-profile" > . "${GUIX_PROFILE}/etc/profile" > printf "emacs load path: %s\n" "${EMACSLOADPATH}" > > # run emacs > env XMODIFIERS='' emacs > ~~~~ > > This outputs the following: > > ~~~~ > [...] > ~~~~ > > Magit line is: > > ~~~~ > "/gnu/store/f0461m96rhnpkmhjlj06yz058pqyj02d-emacs-magit- > 3.3.0/share/emacs/site-lisp/magit-3.3.0" > ~~~~ Okay, this means that subdirs.el is correctly expanded. The next question regards autoloads. Is (featurep 'magit-autoloads) t or nil? > Seems to be the same as without running the `init.el` file regarding > magit at least. This makes sense, as I don't add things to the load- > path in the whole `init.el` file, except for: > > ~~~~ > (defconst xl-home "~") > (defconst xl-guix-profiles (concat xl-home "/" ".guix-extra- > profiles")) > (defconst xl-emacs-profile (concat xl-guix-profiles "/" "emacs-test- > profile")) > (defconst xl-site-lisp-dir (concat xl-emacs-profile "/" > "share/emacs/site-lisp/")) > (add-to-list 'load-path >               xl-site-lisp-dir) > ~~~~ That snippet should not be needed. As can be seen from EMACSLOADPATH, xl-site-lisp-dir should already be in load-path. > (Not sure if defconst is the best thing to use, but emacs was > complaining when using setq, that I was assigning to variables, which > are free, and those strings are actually constant, so I figured that > would be appropriate to do and emacs does not complain about it any > longer.) Let-binding would be nicer, but this is not the coding academy awards, so anything goes. Cheers