From unknown Wed Jun 18 23:17:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#38399 <38399@debbugs.gnu.org> To: bug#38399 <38399@debbugs.gnu.org> Subject: Status: Recent $EMACSLOADPATH changes break emacs-org Reply-To: bug#38399 <38399@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:17:31 +0000 retitle 38399 Recent $EMACSLOADPATH changes break emacs-org reassign 38399 guix submitter 38399 Diego Nicola Barbato severity 38399 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 27 05:01:10 2019 Received: (at submit) by debbugs.gnu.org; 27 Nov 2019 10:01:10 +0000 Received: from localhost ([127.0.0.1]:53458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZu8D-0003s4-Nt for submit@debbugs.gnu.org; Wed, 27 Nov 2019 05:01:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:51449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZu8C-0003rv-CU for submit@debbugs.gnu.org; Wed, 27 Nov 2019 05:01:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59072) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZu8A-00069f-Ty for bug-guix@gnu.org; Wed, 27 Nov 2019 05:01:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZu86-0006qi-28 for bug-guix@gnu.org; Wed, 27 Nov 2019 05:01:06 -0500 Received: from mout02.posteo.de ([185.67.36.66]:54119) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iZu85-0006pt-Jd for bug-guix@gnu.org; Wed, 27 Nov 2019 05:01:02 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8F05C2400E6 for ; Wed, 27 Nov 2019 11:00:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1574848859; bh=RAMV7PYuE5wftsAxyjGoEon1RIvubuMDvJBczSkN1zo=; h=From:To:Subject:Date:From; b=WSGOQmrt74M0nc2KSNlYXHiZ6LvHjrsZI+D8tR8yf+TuCWcr9raKf73pLmV8WUPTq BtDr5yzmw1tEMW2T0jZCHRs9DxHDn2JkAoZQF3UIAmHhxpofR2AEsdE2DXLROkakUz 2gTIS9uS34/YrFeMjDlOjM/XMk/yD1AROFcFeNQI0qMBjK2/phAB5aL+FPL7MY9cd1 Rm3iYprJ2brPNtJ6iNLA2Kiaj2qv3pNKOvVncoJ7NUuwi4l3qvmJfXiwAscx4jgXHH TNR3bkcxtrLJg1r/aRSSxHC1Zi3Sg0NR42SJEq1X40d9oeYkjDtpqG4lltxaLTKyNA Cs9EOmOdb72Aw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47NGVy5822z9rxR for ; Wed, 27 Nov 2019 11:00:58 +0100 (CET) From: Diego Nicola Barbato To: bug-guix@gnu.org Subject: Recent $EMACSLOADPATH changes break emacs-org Date: Wed, 27 Nov 2019 11:00:58 +0100 Message-ID: <87v9r58wpx.fsf@GlaDOS.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 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 (--) Hi Guix, Since the recent changes to the way Guix handles Emacs packages Emacs loads the wrong =E2=80=98org=E2=80=99 (the one bundled with Emacs instead o= f the one provided by the =E2=80=98emacs-org=E2=80=99 package installed with Guix). = This happens because in EMACSLOADPATH the directory containing the bundled =E2=80=98org= =E2=80=99 precedes the directory containing the =E2=80=98org=E2=80=99 provided by =E2= =80=98emacs-org=E2=80=99. It stands to reason that the elisp libraries provided by Emacs itself shouldn=E2=80=99t be in EMACSLOADPATH in the first place as they are alread= y in =E2=80=98load-path=E2=80=99 to which the directories in EMACSLOADPATH are p= repended (as described in the Emacs manual). I=E2=80=99m currently on commit 116787d. Regards, Diego From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 28 00:11:18 2019 Received: (at 38399) by debbugs.gnu.org; 28 Nov 2019 05:11:18 +0000 Received: from localhost ([127.0.0.1]:56496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaC5G-0004JD-2w for submit@debbugs.gnu.org; Thu, 28 Nov 2019 00:11:18 -0500 Received: from mail-qv1-f68.google.com ([209.85.219.68]:39632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaC5E-0004J0-BO for 38399@debbugs.gnu.org; Thu, 28 Nov 2019 00:11:17 -0500 Received: by mail-qv1-f68.google.com with SMTP id v16so9853322qvq.6 for <38399@debbugs.gnu.org>; Wed, 27 Nov 2019 21:11:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=VOdvehmpXhp6r4wwGz8FaEgxZ88SfJYb7GDh+N3NYnA=; b=kIYsc7kftXHw9rXFcswpFRagy88Q08Aa34aElCj65CgwBNvG176e5VE4ykWlt5ySDt WFdVxDxNhbT4vlgROM20ofV9wnENlmPr3AYPiaMP2PHzXsjM6B5xD24MgHxwBhcDGgOG Ox0rIf68DyuOZLrV/Emkb8JRFjuaoQJfElm67i7yG/YJ3rpTO5B1/fU+pS8suTZNeVn9 cYCT/WVr/mvJGkzhP1qsCQ3hyyeAI+RFXdA+MYmzRkBQbf06dHj71edYmBtx/4Bp8qAG 2V1IkugcMmIqzdE9eqk4woXPt/QDisLZRQSTAigF+5g4qsObmux/E4i4BevBgQ+kAjOs 7fMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=VOdvehmpXhp6r4wwGz8FaEgxZ88SfJYb7GDh+N3NYnA=; b=NoDE6u7Vmyag2pM46qcfIlelWvMCRZJ6P1WXoTLiFmvxemwy3uh0bCDtrRyk2MNgpX I37Acs9DypXaQouEE1ByJVzxv+wFG3sSap3NCelbYOWdKTSa1op9cwD5/s8V8jxIioeT jUFPHfp7Mn/Lsg4z9lkHLYYSnEwRiPz5h8K+fXT2zR2VwqjbkXNAa5R9HjSoGhRCaXR2 E4PDQ9sibnhZ/63jlPph6jKGicy2ekIiRNQMyBdp1pbbrYOCGB4SU4s1aEPV7YTjhhrZ VjnxG1L8/sVdQicQ+uaBl35TF/MRy18fAexf0M9UVLkxbaTn47uM1UuVawqiAbN5Y4gW 1tGQ== X-Gm-Message-State: APjAAAWw/WSANunra1/Agr6qvqsBh44tkswWflxn7yhclgrdaoMa40QV 4HKCQu6EzKIrwotOewrSdyO6J139 X-Google-Smtp-Source: APXvYqwJA7e7s91xMXbWK8JgoABaNsGJZvVoflMKzyVdKmhncMeD5WoAX3J8kxO8c4Y59FcuZZeOmQ== X-Received: by 2002:a0c:d40c:: with SMTP id t12mr9132005qvh.157.1574917870737; Wed, 27 Nov 2019 21:11:10 -0800 (PST) Received: from x200 ([206.55.91.146]) by smtp.gmail.com with ESMTPSA id v143sm8053065qka.3.2019.11.27.21.11.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2019 21:11:10 -0800 (PST) From: Maxim Cournoyer To: Diego Nicola Barbato Subject: Re: bug#38399: Recent $EMACSLOADPATH changes break emacs-org In-Reply-To: <87v9r58wpx.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Wed, 27 Nov 2019 11:00:58 +0100") References: <87v9r58wpx.fsf@GlaDOS.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Date: Thu, 28 Nov 2019 14:11:07 +0900 Message-ID: <87a78gtwk4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38399 Cc: 38399@debbugs.gnu.org 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.0 (-) Hello Diego, Diego Nicola Barbato writes: > Hi Guix, > > Since the recent changes to the way Guix handles Emacs packages Emacs > loads the wrong =E2=80=98org=E2=80=99 (the one bundled with Emacs instead= of the one > provided by the =E2=80=98emacs-org=E2=80=99 package installed with Guix).= This happens > because in EMACSLOADPATH the directory containing the bundled =E2=80=98or= g=E2=80=99 > precedes the directory containing the =E2=80=98org=E2=80=99 provided by = =E2=80=98emacs-org=E2=80=99. Thanks for the report! > It stands to reason that the elisp libraries provided by Emacs itself > shouldn=E2=80=99t be in EMACSLOADPATH in the first place as they are alre= ady in > =E2=80=98load-path=E2=80=99 to which the directories in EMACSLOADPATH are= prepended (as > described in the Emacs manual). That's not true; when using EMACSLOADPATH the Emacs' bundled libraries must be included explicitly, or an empty item be present (which means, an extra ':' present). See (elisp)Library Search: An empty element in the value of the environment variable, whether trailing (as in the above example), leading, or embedded, is replaced by the default value of =E2=80=98load-path=E2=80=99 as determi= ned by the standard initialization procedure. If there are no such empty elements, then =E2=80=98EMACSLOADPATH=E2=80=99 specifies the entire =E2= =80=98load-path=E2=80=99. You must include either an empty element, or the explicit path to the directory containing the standard Lisp files, else Emacs will not function. That said, the search path specification defined in our Emacs packages should be reordered so that a user profile appears first (before Emacs bundled libraries). I'll address this as part of bug #38309 (see: https://bugs.gnu.org/38309). I'm planning to have it merged in a few days at most. Thanks! Maxim From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 28 09:25:19 2019 Received: (at 38399) by debbugs.gnu.org; 28 Nov 2019 14:25:20 +0000 Received: from localhost ([127.0.0.1]:56916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaKjP-0002Bt-IU for submit@debbugs.gnu.org; Thu, 28 Nov 2019 09:25:19 -0500 Received: from mout02.posteo.de ([185.67.36.66]:59567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaKjL-0002Bb-QU for 38399@debbugs.gnu.org; Thu, 28 Nov 2019 09:25:16 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D04B42400FD for <38399@debbugs.gnu.org>; Thu, 28 Nov 2019 15:25:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1574951108; bh=U+kyA3QI1zP83+UX0geiv+QpqcaIjCwpp++qEGhCKGA=; h=From:To:Cc:Subject:Date:From; b=IayE7pH9v7B/VwnofhB0FL1O9Iy+xyk6VUh6+J6DN3eRELFbkl6yNkopyJq9tD/hg kgN3iuwwP/DMTfvLc9K/elLR8x/OjiUKCHfpzl6oivi7hvJGf/0IAFUrCiNTwbSsoY iOkKq7xMpY1o7oZRz5osLK4I+HS112af3TDx+A9GH5JQAlt8D42fIsNYV8FXf4W/L8 ILyUWlznhiYDDUDi/WXElt6j0mq6QfZmsJshXBhaXXNrO2I6/I9A7o5h60dbwhRGF7 nhdZW/6FRf5LGQk11R+jvfAcDRVoRV9ag20JwHVzdYDi/TkkuyMJd4rXt/EljZWtKt IJKOdIGO7hr0w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47P0KJ2NPgz9rxR; Thu, 28 Nov 2019 15:25:08 +0100 (CET) From: Diego Nicola Barbato To: Maxim Cournoyer Subject: Re: bug#38399: Recent $EMACSLOADPATH changes break emacs-org References: <87v9r58wpx.fsf@GlaDOS.home> <87a78gtwk4.fsf@gmail.com> Date: Thu, 28 Nov 2019 15:25:07 +0100 In-Reply-To: <87a78gtwk4.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 28 Nov 2019 14:11:07 +0900") Message-ID: <87mucg84e4.fsf@GlaDOS.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38399 Cc: 38399@debbugs.gnu.org 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: -3.3 (---) Hello Maxim, Maxim Cournoyer writes: [...] >> It stands to reason that the elisp libraries provided by Emacs itself >> shouldn=E2=80=99t be in EMACSLOADPATH in the first place as they are alr= eady in >> =E2=80=98load-path=E2=80=99 to which the directories in EMACSLOADPATH ar= e prepended (as >> described in the Emacs manual). > > That's not true; when using EMACSLOADPATH the Emacs' bundled libraries > must be included explicitly, or an empty item be present (which means, > an extra ':' present). > > See (elisp)Library Search: > > An empty element in the value of the environment variable, > whether trailing (as in the above example), leading, or embedded, is > replaced by the default value of =E2=80=98load-path=E2=80=99 as deter= mined by the > standard initialization procedure. If there are no such empty > elements, then =E2=80=98EMACSLOADPATH=E2=80=99 specifies the entire = =E2=80=98load-path=E2=80=99. > You must include either an empty element, or the explicit path to > the directory containing the standard Lisp files, else Emacs will > not function. Thanks for the clarification! And sorry for the noise, I should have read it more closely. Regards, Diego From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 23:32:53 2019 Received: (at 38399-done) by debbugs.gnu.org; 7 Dec 2019 04:32:53 +0000 Received: from localhost ([127.0.0.1]:47240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idRm0-0005VP-Vv for submit@debbugs.gnu.org; Fri, 06 Dec 2019 23:32:53 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:43164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idRly-0005VA-HN for 38399-done@debbugs.gnu.org; Fri, 06 Dec 2019 23:32:51 -0500 Received: by mail-qk1-f176.google.com with SMTP id t129so3354708qke.10 for <38399-done@debbugs.gnu.org>; Fri, 06 Dec 2019 20:32:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=G2E9jcYiKhQHlx0qhHU0CfLSt8JPAhBV3Tjapg5NpHc=; b=Zck9+Us6GHCsXwNezvf54TIWImealaeM8G1o/Y0mTPhm7EGggnG2/iebJ+9354E8l4 PTjvtWLt07GYcfj6lQMrVMIN+uglxQ00vFyuPEyKh9T4LxtgOqOy9UJEPPsreiMMauKc TJXvxae9T8FlDRCLcxjdUNEvypxBbWg9k21GlxqtxghOBz2w0hf/RWPJSP7k6oEUU/6o cThtcquuz/yUXJe0mgD9Dq58stnmiGIl52iQnulMEmStOp3TbcGEcMYy+BpD/N/vBIUY kWSzdHcboQT1mDAIQlZy5/xzK5Ozr44yyrg8lGg3jn3PBWOauR1G5yQe2kHh3JNWb/3l LPPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=G2E9jcYiKhQHlx0qhHU0CfLSt8JPAhBV3Tjapg5NpHc=; b=q+LoyLHYENAzpoT1TrekTA2D/XTTDFlz9c2LJxLOSDcjbp92L7gIlOARyJl4gNKWaU HiFlXH/45vL4oa//zwU2dIgtv7TFU99LtBXNBcFadDdhIXytPnTaTsQNKIqWAKF+eaNm aB8KFRApexHvMLVyGo9Zhee9+8bU2wOok+dYGFCPbQGdomtuSUiia34+9G3DFwfyQK9e aBsiisnOTJHOWJ83jcp+4Jn3CBh8FdETL7VtTRJ4tWIMyuXPgKiEqibBPANChk685Ppy C02w6+HPdXtmBE5EeIPtdEyY5j7vb0yJChSIqsQCaGpDs0yL4dcxQo8VjntrDCfAZfvc e2uA== X-Gm-Message-State: APjAAAVZ/QeDqQF/Fdci0brWea4KgkQTt3Tfgodtw9G2GtlHRh3JcL6j LxOBl0B/jChs4qV9TmyEkxbQX2Gs X-Google-Smtp-Source: APXvYqxqDTNpxptHli7Qb6VWNQSN+DNXQnidYdOkw7zy/K073z9d250mYRJcQrSylvzYJwzOkZppZw== X-Received: by 2002:a37:72c3:: with SMTP id n186mr18070356qkc.166.1575693164550; Fri, 06 Dec 2019 20:32:44 -0800 (PST) Received: from x200 ([206.55.91.146]) by smtp.gmail.com with ESMTPSA id f7sm6446745qkb.134.2019.12.06.20.32.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2019 20:32:43 -0800 (PST) From: Maxim Cournoyer To: Diego Nicola Barbato Subject: Re: bug#38399: Recent $EMACSLOADPATH changes break emacs-org References: <87v9r58wpx.fsf@GlaDOS.home> <87a78gtwk4.fsf@gmail.com> <87mucg84e4.fsf@GlaDOS.home> Date: Sat, 07 Dec 2019 13:32:41 +0900 In-Reply-To: <87mucg84e4.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Thu, 28 Nov 2019 15:25:07 +0100") Message-ID: <87sglwrc0m.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38399-done Cc: 38399-done@debbugs.gnu.org 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.0 (-) Hello, This was fixed on master with commit 3ffdd0026b. Thank you! Maxim From unknown Wed Jun 18 23:17:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 04 Jan 2020 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator