From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aF+oOqToWGS72gAASxT56A (envelope-from ) for ; Mon, 08 May 2023 14:18:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2Hh+OqToWGTCJAAAauVa8A (envelope-from ) for ; Mon, 08 May 2023 14:18:44 +0200 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 AE8192EB78 for ; Mon, 8 May 2023 14:18:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvzoo-0002AW-NB; Mon, 08 May 2023 08:18:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvzom-00029y-RX for help-guix@gnu.org; Mon, 08 May 2023 08:18:16 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pvzol-0001Yd-AP for help-guix@gnu.org; Mon, 08 May 2023 08:18:16 -0400 Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-3f394fe5465so351921cf.3 for ; Mon, 08 May 2023 05:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683548294; x=1686140294; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=b3pIS5+fgB9ka0bt6uTJPl2SUpow8H7qdzBee3ug6Xo=; b=DyVly282CdKvnMjNRYvgvBfmfsTTTH39fk0IanIBPJ0eGwMhzWRUWtLkfb0eXu9/Q2 v529nlcKb7QqhVUPG9NwqKb/LOVF4p482R4Ss6KoHgbpLsjk89DpdDQi4O518daJy640 Aq+t94RInOzUuIIDKQkdrC447vflca1Bjk19MqeRhAGerTbW2mj6o1uqX/8eJZ4rgsza WWeS+iw2p3OYS9URunm/MSReTdKQeU2c5q1JaaMMaIzVapsUljsivBZjoaR87db8vUgC oxHg9uXHHaCidsAyVQdmh3hi3atyjEwl380GZGHnw3rfnBkjSWhiMPNX68lgk9AVoFUa zX2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683548294; x=1686140294; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=b3pIS5+fgB9ka0bt6uTJPl2SUpow8H7qdzBee3ug6Xo=; b=jT95kLMUkn6y36MBl/b2TVIYrnoo13aEmA8VE+rqkcnBFTBxeNqXN0pt1Axht85+H3 GejwlbQl/xSjQNFcG3b+3U655tM35giWu4HEF/CTB2/9MwVW1AMG/PqFCBeaRIuSJU4o yG2YU9fngTiBzVteXbKvbuDqWKSFWs32G9VaRaHmHZqr6p7WIO37aqqor72l/ux/N0OP U/oKTbCz7FRDbNOKJ96BLy0eii0nZYIi1ekzPEj42SRUXrVuzKmiLiuTd/S9w4/w33WL ipKVYcqsvNu0l1qCzx0UKSIszuUIAx4+9g/0l3CrsRYd4mMPd3xvtUxQMOB26sZNMqXi /9kg== X-Gm-Message-State: AC+VfDwY+N/8QP9NY5uoL/B0Fkr6dkHL70h7K/kNF3auPSne4Jn029Tu bYCldlsDg/tExS7+CxTsSALVQpkDNoL54g== X-Google-Smtp-Source: ACHHUZ4M2Raya3JOiaWeKOrYxZpm1cB4VrXmyQPULHHl4rXiSPGV3a4t4RB1QiILS7XSUId8kuDy1g== X-Received: by 2002:a05:622a:11c3:b0:3ee:b9bd:8da2 with SMTP id n3-20020a05622a11c300b003eeb9bd8da2mr15765197qtk.19.1683548294203; Mon, 08 May 2023 05:18:14 -0700 (PDT) Received: from hurd (dsl-10-131-119.b2b2c.ca. [72.10.131.119]) by smtp.gmail.com with ESMTPSA id x2-20020ac80182000000b003ef573e24cfsm2924982qtf.12.2023.05.08.05.18.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 05:18:13 -0700 (PDT) From: Maxim Cournoyer To: Mekeor Melire Cc: =?utf-8?Q?Andr=C3=A9?= A. Gomes , help-guix@gnu.org Subject: Re: Install and load new emacs package without restarting it References: <87ednw4etd.fsf@gmail.com> <871qjveo6r.fsf@posteo.de> <871qjry65w.fsf@gmail.com> <621B4198-8511-43C3-8B3D-10F34F7334B3@posteo.de> Date: Mon, 08 May 2023 08:18:12 -0400 In-Reply-To: <621B4198-8511-43C3-8B3D-10F34F7334B3@posteo.de> (Mekeor Melire's message of "Mon, 08 May 2023 08:11:00 +0000") Message-ID: <87bkivvwxn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x834.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683548324; a=rsa-sha256; cv=none; b=MDSPWhwIrIiWmVgYeW+mJZD8Qf3WxntPZ2Li2PkfU8eHZD4265Dq2vlM8nVVK8oPW4Ct9B a8/v57wmOoz52un9Lr8Oa2t0at21RJBnsUXmjfUaKogKuntLBeue9CUdzr42yMhf9TEO1/ WOjoUq9TyRLAPZX4oeoNNE6zbTc8CXFp6mTSlHV2VSy8bN75ugQRILLS96Q5/b4FIDdsRt bdM+B66DQrWtVPIoE2f0IcVtsbyTFTsQfwSapNxPzYHppGNJVppJx11R3ZY51S6URMuFnD eyAwoJsfnuWNAFdBLZy2bnGvyJXv0seWBEj9r3+O1ti43WLZBoCPqJtRlUOaCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=DyVly282; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683548324; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=b3pIS5+fgB9ka0bt6uTJPl2SUpow8H7qdzBee3ug6Xo=; b=oh7zBH1PAdAiXJh4Dltsky4fJotXFI3/orZRhiiqMtsULVqUk1bcut9Qh5ZeoMU7nID+9+ cB54NG8pnuBLrJy3xz86BNnWgmMmihGJ8C39Q75HFx/MMU2rdj7UJGsRs9KYz/mpR9HIrX nv/+D3dQbYP/XphL7w9j7eKR/IJwqI7TJZ8F0TYVvy5zpFyLq/yokt2tPPZ+b5LC5wep4P Tt29xL1YGKRiHopi0aaIjUbf+1gTzmPu4eUSK0Rfzt4hBv4i9gvz1KWeu44OPMWUxfmMvx utsnH0JC/B8omcP0Cg0r2zqVeS1TFAU8AMlLj+CWVEu2l5u7amvl6iD59MD7dA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=DyVly282; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.88 X-Spam-Score: -4.88 X-Migadu-Queue-Id: AE8192EB78 X-TUID: jZ5mf5PcCzYK Hi, Mekeor Melire writes: > On May 8, 2023 3:15:55 AM GMT+02:00, Maxim Cournoyer wrote: >>Hi, >> >>Mekeor Melire writes: >> >>> 2023-05-04 12:38 andremegafone@gmail.com: >>> >>>> Hi Guix, >>> >>> Hello! >>> >>>> I'm wondering whether it's possible to install an emacs package and >>>> enable it without restarting emacs. >>>> >> >>[...] >> >>> Or, if you have emacs-guix installed, you could try: >>> >>> M-x guix-emacs-autoload-packages RET >> >>It should be the above (note that it ships with Guix itself, not with >>emacs-guix) as the glue used to load the autoload packages. >> >>It used to work prior to reinstating elisp package installation to their >>own unique directory. I think it'd be worth it to open a bug for it and >>try to make it work again; it shouldn't be too difficult. >> >>-- >>Thanks, >>Maxim > > Thanks for clarification. > > So, you are suggesting that guix-emacs-autoload-packages currently > does not work? I just tested it on my machine and it works just fine. I think it would work only for "legacy" Elisp packages that still install directly to the EMACSLOADPATH (site-lisp) directory, but not those who install to their own sub-directory, basically those with directories listed in your $EMACSLOADPATH/subdirs.el file. One example in my profile is emacs-cmake-mode, which installs its files to: --8<---------------cut here---------------start------------->8--- /gnu/store/...-emacs-cmake-mode-3.25.1/share/emacs/site-lisp/cmake-mode-3.25.1 --8<---------------cut here---------------end--------------->8--- -- Thanks, Maxim