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 aHg8M5Mf+F5aNAAA0tVLHw (envelope-from ) for ; Sun, 28 Jun 2020 04:41:55 +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 YIgaL5Mf+F4IagAAB5/wlQ (envelope-from ) for ; Sun, 28 Jun 2020 04:41:55 +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 17FD994051C for ; Sun, 28 Jun 2020 04:41:55 +0000 (UTC) Received: from localhost ([::1]:36570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpP8a-0006bK-BP for larch@yhetil.org; Sun, 28 Jun 2020 00:41:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpP8S-0006Zl-55 for help-guix@gnu.org; Sun, 28 Jun 2020 00:41:44 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:36776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpP8Q-0000ur-Em for help-guix@gnu.org; Sun, 28 Jun 2020 00:41:43 -0400 Received: by mail-qt1-x82e.google.com with SMTP id x62so10548469qtd.3 for ; Sat, 27 Jun 2020 21:41:41 -0700 (PDT) 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=B31UFQ/Ox8OfS5M/sgCWRRD3uTWelk2c98KJDqS0UzY=; b=T8y1RmYm42OSNOfPf/5TKKOrFoqx/aao3VCNERculNhGzSHI1NDhab10p/atotqanx zO4RQlDvqabi66p6jtXt0vDICRiqv10POUtgTkrT7hW+4fcDviVPjd13Yq3tZVf04INi Udp1UOt7F5hKuc8fO4K4lS5YhKjIHosdm10eHg/hvAq4I5Rl53eT9ElOXC835TdQVzR7 daYajP7ARi1vZIxQBFVdHyYou7PAlia2situ8NvZisExrQkTMtqp0JoAdEx3IrHKrRm1 KYIOWgIyolkvNOur097zUXNd0+oh6XM9TJWwVp7N5nGXyBRRdaGa27HzVbtxVP+MRc2M AU6A== 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=B31UFQ/Ox8OfS5M/sgCWRRD3uTWelk2c98KJDqS0UzY=; b=izID/EJGV7+WlBgKIiu3Jp0XEcHDoValORDuDUOZSBnrYvfolhCD/hlXANtJDn4PcW 1HmhcKi99IXWmnbtOvo86l9cew5ErJNvPG2nXpqoqrq4x6zAL7889Svk1louWPWoZb4d znsFWgdANoylKtxE4jln0I5qKc6u7F7194aiJ+JAFwn3Aqy5xrx+sPvbUfrE8KUQwYKW jfSuHh0kfk70yJlwGBNVSeMem+qJLRGJjUER+P8XZrG5Hsu4NEqurcqMlB1LNMIBqAp+ o2ch2YJCvt8khHo93mZnlR+EuboGJEz8Kcl+ztVIFYgoeiIOPDPcMJHxdUMf2dIdbtBc TvfA== X-Gm-Message-State: AOAM5305KWhe41RdbXnJ6VFcqCHTxe3x0hLHgk4y2WoM/puNNAyOrANj cfPMSDfq989LWbK/tRGJuh2GAgl79ic= X-Google-Smtp-Source: ABdhPJyumaZeeFrmz+ZXLDOoGnniady0EQ+IGGiiA3dhO5tKOMwFXks4gEKBPhKkNYJwljf8qddcSw== X-Received: by 2002:ac8:36bb:: with SMTP id a56mr10132112qtc.201.1593319300496; Sat, 27 Jun 2020 21:41:40 -0700 (PDT) Received: from hurd (dsl-150-161.b2b2c.ca. [66.158.150.161]) by smtp.gmail.com with ESMTPSA id e9sm7926184qtq.70.2020.06.27.21.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jun 2020 21:41:40 -0700 (PDT) From: Maxim Cournoyer To: Zelphir Kaltstahl Subject: Re: Erlang + Emacs profile References: <3801410f-667e-9cac-74f3-d56a519adcc2@posteo.de> <871rm4mcm1.fsf@gmail.com> <8211be1b-21d0-36bb-c89d-a92581af594a@posteo.de> Date: Sun, 28 Jun 2020 00:41:39 -0400 In-Reply-To: <8211be1b-21d0-36bb-c89d-a92581af594a@posteo.de> (Zelphir Kaltstahl's message of "Thu, 25 Jun 2020 21:25:19 +0200") Message-ID: <87pn9jls3g.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=T8y1RmYm; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: Wxpjpsm98nuG Hello, Zelphir Kaltstahl writes: > Hi Maxim! > > Thanks for your message! I'll try it out. It implies some things I'd > rather not do though: > > * It requires keeping multiple Emacs on my system. How will they > interact with the same ~/.emacs.d/.init.el? Badly, unless you've carefully crafted .init.el to load modules only when they're present (it's doable, and some packages even aim to simplify this kind of thing). Otherwise you'd have to launch emacs with the -q switch to prevent reading your main ~/.emacs.el (or .init.el). > * This approach seems to install everything only temporary, reinstalling > every single time. But I can use a profile, so that's fine. Yes, you can change the 'guix environment -m' command for a 'guix package -m' one for a persistent result (or use the -r option of 'guix environment'). > How did you package emacs-ob-erlang? (I did not yet package a single > package for Guix, so I assume no prior knowledge.) 'guix edit emacs-ob-erlang' should bring you right to the definition of the package. > Or is it a rather > lengthy procedure to do so? No, it probably took me less than 15 minutes total; it was a small and straightforward package. The emacs-build-system is remarkably simple. > I learn about Guix, which is very useful, because if a package is > missing, one can add it oneself, without having to rely on others to add it. Yes, that's one of my favorite things about Guix. It's hackable. > It's an OK-ish solution to simply modify my PATH to make ob-erlang find > erl, however, I was hoping for a configuration value in ob-emacs itself, > so that I can set everything inside that plugin. Such as configuration would need to be possible in ob-erlang, but it's not [0]. You could define a bunch of defvars and contribute a patch upstream, if you are so inclined. > I usually install Emacs packages inside Emacs, instead of using Guix for > it. I do this, because probably not all packages I want are available in > Guix, but I have not checked this assumption at all. The collection is growing, and as mentioned earlier, it's rather easy to add new items to it :-). Managing everything the same way makes for a better experience in my opinion (isn't that what Guix is about? :-)). > I think I'll be fine with adapting my PATH for now, just need to do it > in a way, that will keep working when I update Guix packages. Note that you could also choose to install erlang in your main profile along Emacs and emacs-ob-erlang; that'd remove the need to mess with PATH. Maxim