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 kIyhLeiRyV4mRgAA0tVLHw (envelope-from ) for ; Sat, 23 May 2020 21:13: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 WG6IKeiRyV6gXgAAB5/wlQ (envelope-from ) for ; Sat, 23 May 2020 21:13: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 373819402A0 for ; Sat, 23 May 2020 21:13:11 +0000 (UTC) Received: from localhost ([::1]:52016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcbS8-00064S-9t for larch@yhetil.org; Sat, 23 May 2020 17:13:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcbS2-00064F-F7 for guix-patches@gnu.org; Sat, 23 May 2020 17:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52522) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcbS2-0002lc-53 for guix-patches@gnu.org; Sat, 23 May 2020 17:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jcbS2-0005cf-0g for guix-patches@gnu.org; Sat, 23 May 2020 17:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41366] [PATCH 4/4] gnu: Add emacs-importmagic. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 May 2020 21:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41366 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ryan Prior , Nicolas Goaziou Cc: 41366@debbugs.gnu.org Received: via spool by 41366-submit@debbugs.gnu.org id=B41366.159026836921594 (code B ref 41366); Sat, 23 May 2020 21:13:01 +0000 Received: (at 41366) by debbugs.gnu.org; 23 May 2020 21:12:49 +0000 Received: from localhost ([127.0.0.1]:35835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcbRo-0005cD-OP for submit@debbugs.gnu.org; Sat, 23 May 2020 17:12:49 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:33511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcbRn-0005c0-08 for 41366@debbugs.gnu.org; Sat, 23 May 2020 17:12:47 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A3E76A52; Sat, 23 May 2020 17:12:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 23 May 2020 17:12:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=D1qLbrWYUpg3MFSuj/kE5XjtD7 rKnD7lA7dN5vLxNWo=; b=JJBOoW7YWrjKiZgzKJSlb0unQtDGz4X9oqK9VixVRA kCn4AWsnFePk+8+VgieHIrB3T7hlN40znEOFe4LfPwoHKaV5x4v3H2VymQ0XrmoH pwcP65q2nywGUsAhEkOODyW7kdY8rqNXwSb0DetOcR7+97ruI0PgoGcUYoBWVbXC QbGeEdmaCyEvhSThIarZyY5boy3j7XZ8+lWKKk+hj7KUo4jv5L8mDPlzGplyHtT/ hPNYIkCRC/hiZz6Hj753Rjg7BgV/WoK13s55J+qggLEw1YAqmOJNxg2STmJ4iCxN 4XT9rlzlR1PktyG0OckUm2Cf2mJ7kbFoG78UpzNnlfOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=D1qLbr WYUpg3MFSuj/kE5XjtD7rKnD7lA7dN5vLxNWo=; b=Ijma655y2/QPVw7HyFV3am aiz+DT5ggGyGUdS5GY61XhkTZrKFQgi2DLIfcDC80c2hCfS1vyrEQ8RrhcJ1sGXh fx9/VvtJOmOxRUxKEIEHGO7LtYzrX/9QI5zGnkHhZ7cesVhQyaTrS8Mya4OkmbYi n+khAxqlz4I+9HieCtKFqn9TiTFV3KYaomlbTQXwSHbGX3P4aJup+uHyyLeBo030 JXJX2AOAfAv1XE8zIPaHHQ+/rq+KNBVLVlfzgmTE6zpwv8j+8dJSqEHqBbBeymOx hrZjyBRKOIbSJAvHiTskpmVtulfJIsMo2Qsep0jy2o09AX2U4swHEKTqJ9mz5nWQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudduhedgudehkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesghdtreertderjeenucfhrhhomhepofgrrhhi uhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuggftrf grthhtvghrnhepkedtleffveevtdelvdevudegffeifffhleegheetudegvdeggeeuudej hfejhfetnecukfhppeekgedrvddtvddrieekrdejheenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgt ohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id BCDB23066504; Sat, 23 May 2020 17:12:39 -0400 (EDT) From: Marius Bakke In-Reply-To: References: <20200517184142.16603-1-rprior@protonmail.com> <20200517184142.16603-4-rprior@protonmail.com> <87o8qe79vj.fsf@devup.no> <87lflibevo.fsf@nicolasgoaziou.fr> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 23 May 2020 23:12:37 +0200 Message-ID: <871rna73ui.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=fastmail.com header.s=fm3 header.b=JJBOoW7Y; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm2 header.b=Ijma655y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: VPVQCnSUYhMX --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ryan Prior writes: > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original = Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 > On Saturday, May 23, 2020 8:00 PM, Nicolas Goaziou wrote: > >> OOC, are you sure Python packages need to be propagated in this case? > > Hi Nicholas! I tried it with the python packages in "inputs" and impotmag= ic.el complained about not being able to find them. I'm going to be helping= with maintenance of importmagic.el so maybe that's something I can fix on = the package side? > > At present this seems to work better. I don't know yet what the differenc= e is between inputs and propagated-inputs when it comes to Python packages = so maybe somebody else might have a better answer. The difference is that propagated-inputs will be installed to the profile when you 'guix install emacs-importmagic'. Propagating these will only work if the user already has 'python' in the profile, which sets up PYTHONPATH. For regular executables, we solve this by "wrapping" the executable with PYTHONPATH to avoid the need for propagation. Ideally we'd patch importmagic.el so that it automatically sets PYTHONPATH referring to these two packages (prepending to any existing PYTHONPATH). I think python-shell-interpreter also should use the absolute file name of the "python" executable so it does not have to be installed separately. Do you think that can work? Thanks for chiming in Nicolas, I had completely missed those propagated Python packages. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7JkcUACgkQoqBt8qM6 VPp9OQgA1UGVo6SQHzk5mCp0nT+VxyKvIAiDiKAsKH/9ulot528pX2HPY0dq8j37 a5zbXK2qOMXF6blhtTWfwwbBA2AwO6ezOrpfk3xoAr3n5W8ZMouNdT+QnNzTRABu ft3755BvBHs2e42FoHTe5kyTiYazts465ftKCqFiUu1tEQWb5S0lcWxxWJBetu6U KSsFGQId8Nl4R/Z4I4ZlRFoKiWcl1jEId+NHBN7sa4sJ+e6Q3gibqbW4ahZnTKx9 ZMFqSd7yke4KGJKV0jWNvTTj4LlSTBZIp74z1kQT7AcXqPqcdRHPODK2kVebHh3B uLfiU12Mp3WNCLjLGEAKccNgASHlIw== =ezga -----END PGP SIGNATURE----- --=-=-=--