From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +EyZK3J7kmSzkwAASxT56A (envelope-from ) for ; Wed, 21 Jun 2023 06:24:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6CqzKnJ7kmRaEwAAG6o9tA (envelope-from ) for ; Wed, 21 Jun 2023 06:24:18 +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 5D2D7DB9A for ; Wed, 21 Jun 2023 06:24:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBpO0-0005NT-Ag; Wed, 21 Jun 2023 00:24:04 -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 1qBpNy-0005N8-Ny for guix-patches@gnu.org; Wed, 21 Jun 2023 00:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBpNy-0007zh-FG for guix-patches@gnu.org; Wed, 21 Jun 2023 00:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBpNy-0003Yp-Aa for guix-patches@gnu.org; Wed, 21 Jun 2023 00:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63987] Should jinx-mod.so be installed into /.../lib or into /.../share/emacs/site-lisp/...? Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 21 Jun 2023 04:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63987 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mekeor Melire , 63987@debbugs.gnu.org Received: via spool by 63987-submit@debbugs.gnu.org id=B63987.168732142113645 (code B ref 63987); Wed, 21 Jun 2023 04:24:02 +0000 Received: (at 63987) by debbugs.gnu.org; 21 Jun 2023 04:23:41 +0000 Received: from localhost ([127.0.0.1]:60249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBpNd-0003Y1-8O for submit@debbugs.gnu.org; Wed, 21 Jun 2023 00:23:41 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:61555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBpNa-0003Xg-0S for 63987@debbugs.gnu.org; Wed, 21 Jun 2023 00:23:40 -0400 Received: by mail-ed1-f66.google.com with SMTP id 4fb4d7f45d1cf-5189f49c315so5809736a12.2 for <63987@debbugs.gnu.org>; Tue, 20 Jun 2023 21:23:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687321412; x=1689913412; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=iRRuByZAQ1qw4fHtE/tQffh3ntVK8APL47duazEv0BI=; b=X/auPle6gT6c3pEJ4JmpBfOAuWLrL2vRseM/j7sML+V9qLXr81sDlY0VTzGtBMMN++ MLeljDlWZEyIQblOXpe3UjAIQT/2/rcnuRKDDJ5t2lZU06sc+bHKDw7zypLhPjiGEEPB n6Yd2qwuOHOwSfj25wg6snQrhcd6bMsJBH8V5dHeM4egSb4GB9qzo6rt8xul2c2wlItO AABMXwG4i+8403FCo5hz+f7efJWMM1BvS1QOmiP6cavtWs0y4sUF393yqVos1ieUixBZ SJ7NlMsE5PTk4FS0KsQnlHOKtY9LZToy7HKqWBaKf8B95+f+CsDqTWzLUNCuoq4lr4QC vPFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687321412; x=1689913412; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=iRRuByZAQ1qw4fHtE/tQffh3ntVK8APL47duazEv0BI=; b=VVY68jEtSvBazlX45iU3XQgyjLNRMQm9z2N/AmzQguUG/yisyROExMElDY8bggJjWy cA8CNvTgQ/6bfyeRDI86WfiFYC8d1dqZU6wf5w9b5dnSa2b3wu9JW/gLf0QIjxxZr45v 9y54Mkf+nDS0fVIqO6lBzmdxnDw3K9R/UHSwCrCLmmcK1mpGPM7QvsY0G2m4JXPClBK4 iGNz+GgAH/esk+n8Q/rcTPZk1SJqCPRSJc2a0JDq6DupCNDStDIc3oQMXqOptdPafNSN KYUPq2bkPSHnFS4EmjqiezAxGUivnm8+EwUoz7kuucHp79OxTsliUmbGd1vwx1Lh4CLj TXFw== X-Gm-Message-State: AC+VfDyi3SIbqkFfqZtBYeCcZZ0ajDu5SZkcXFFcOcWj2qg9NRPb1TuL uiwP1DYZpdbyHYa4IkWzo84= X-Google-Smtp-Source: ACHHUZ7vGA4qP4+vYwMkun25KrHKPw1zpKSIfI7ygDIOeISn58QkQa1RCBxMskRjlEqWhEJuzjKYPQ== X-Received: by 2002:a17:907:94c1:b0:982:7d5f:f608 with SMTP id dn1-20020a17090794c100b009827d5ff608mr13213966ejc.46.1687321412025; Tue, 20 Jun 2023 21:23:32 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id gs2-20020a170906f18200b00982943c7892sm2406807ejb.134.2023.06.20.21.23.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 21:23:31 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Wed, 21 Jun 2023 06:23:30 +0200 In-Reply-To: <874jn1bwxu.fsf@posteo.de> References: <874jn56lvd.fsf@posteo.de> <874jn1bwxu.fsf@posteo.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687321457; a=rsa-sha256; cv=none; b=A/iAF5fj5T10SVBIi5CK9UkY+Rhkfh8JytqyNHK/SHy2KDZsgc1ERp58OQ0EVOeyeaYMH0 W6g/BY6k3jUskDRmdVoJ4pp1Yv5FTOWes8FqIGWaWRSCBsws4sgC2Ccd7vUA4ekCANvcaD 6+ZOu0FkaNzwBQA3OxRtcAlzcwjKbKVICcFNCe+hMjLAAcqEWwOT+oQ7C6GR31yuGS0Cv8 9CS6mS4fwqvSSBT2WPw3CaXBoIPB0cx32qsPny2WCZLbu2vkhbGy9m6Q+hhTiBbYe6U62A zg9z76ydbzxThy3h9XXOfOtFbTY7CTWPIOPGk7cXFKUv1IdI02nX85E8UUxqAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="X/auPle6"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687321457; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iRRuByZAQ1qw4fHtE/tQffh3ntVK8APL47duazEv0BI=; b=Edu/20OUDGHDc19u6TKo5Wxrace8nClOyYPF5hDtr+SJz987p09gZj+E0O/l5aFCpvdQUx tv+JAtOh67s0dheFxirJtv7vVApbiL0q5DzCSbVJ9iKB9khfXkQlpbaecnNoTWoCHwRLER ANKIUhHwCSvIIOw5Bn73vnH9zJtp3OEGFOJX5bG0mxI4XFrgKp+xbiwKvKlP/J66uO4qHb 3B9L/zrcev50JhJqutzvo9cuTAGxdZTPpDDybHAhKjP9WgKS6gNUZwEaaRljRPvADSC0fB 6O8HF6GYQy8Y6yZAJb1egKhbFOSCLE5b+H2wCEHifG35GrOBP2CyyUa4gK6TQg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="X/auPle6"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.75 X-Spam-Score: -2.75 X-Migadu-Queue-Id: 5D2D7DB9A X-TUID: KTDzt8QYw1jL Am Dienstag, dem 20.06.2023 um 22:04 +0000 schrieb Mekeor Melire: > Daniel Mendler says: "My suggestion is that you put the library=20 > file [jinx-mod.so] in some appropriate directory, which must be on=20 > the load-path. I assume that there exists some convention on Guix on > where to install native modules."=20 > https://github.com/minad/jinx/issues/86#issuecomment-1597221252 >=20 > And I think they are right. We should have a convention about where > to install native modules (.so-files) and add that directory to > Emacs' load-path. >=20 > One approach would be to use $out/lib/emacs (or a new subdirectory of > it). E.g. we would install jinx-mod.so into that path and Guix would > add it to the EMACSLOADPATH environment-variable. (Currently, Guix > only makes use of .../lib/emacs/native-site-lisp which is added to > EMACSNATIVELOADPATH environment-variable.) What's the functional difference between EMACSLOADPATH and EMACSNATIVELOADPATH here? Why would the latter not work? > Another approach would be to agree on installing *.so-files into > $out/share/site-lisp/PACKAGE-VERSION/ so that it is already present > Emacs' load-path as is. >=20 > What do you think? /lib/emacs/native-site-lisp sounds like the wrong place regardless, as does /share/site-lisp. Perhaps /lib/emacs/site-mod? Cheers