From unknown Sat Jun 14 19:12:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64586: Emacs-Packages should contain native-compiled files Resent-From: Mekeor Melire Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 12 Jul 2023 19:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64586 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64586@debbugs.gnu.org Cc: Liliana Marie Prikler , Andrew Tropin X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16891883619281 (code B ref -1); Wed, 12 Jul 2023 19:00:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jul 2023 18:59:21 +0000 Received: from localhost ([127.0.0.1]:52941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJf3Y-0002Pd-RR for submit@debbugs.gnu.org; Wed, 12 Jul 2023 14:59:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:55750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJf3W-0002PT-Ec for submit@debbugs.gnu.org; Wed, 12 Jul 2023 14:59:19 -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 1qJf3W-0000L9-2n for bug-guix@gnu.org; Wed, 12 Jul 2023 14:59:18 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJf3U-0005ri-88 for bug-guix@gnu.org; Wed, 12 Jul 2023 14:59:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 80C7E240027 for ; Wed, 12 Jul 2023 20:59:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1689188351; bh=hH1HXPNG14LM+LRz1gZdOXwBRPCPhh6lX3vomerK504=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=KKYW0gmlSm54Xs27/1X2I9uUqaUHiYQhiyu3rz/99ljTAjiCkcW0vY0cmJ+NPFBre V8wJi6FiH2cNjucsY6f6LP44wBoYnGh51XtF/lrtEgCIs9LdMX+RFd0NkGH/RLSz4A K69/L1bwrVaAZScc+Qt6aH7AN2MKX7IJ6sAci0k/+jBedAVLa8Nrs28uTXaBoxpMtV vzYHw34WGE3MIRpziD6Ny9FBt7+cxOB4/vxBATEU6qoxuf+AtWT6wrUHOZkWC6abm6 WTAYofjfaw+r4SaCdfUQWhUs3tOVI/J6noGsBOdzOKXMo9P+OGTFA1Ao6W3BtBW7vg 995VWpMnckQDg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R1RqL0V8Hz6twD; Wed, 12 Jul 2023 20:59:10 +0200 (CEST) From: Mekeor Melire Date: Wed, 12 Jul 2023 18:19:12 +0000 Message-ID: <875y6pgdnn.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=185.67.36.65; envelope-from=mekeor@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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 (--) Emacs can interpret/load at least four kinds of source files. Listed with increasing performance: - Emacs-Lisp source code: *.el - Byte-compiled Emacs-Lisp: *.elc - Native-compiled Emacs-Lisp: *.eln - Shared-object files: *.so Guix installs el- and elc-files into ~/.guix-profile/share/emacs/site-lisp which is added to the environment-variable EMACSLOADPATH. eln-files are installed into ~/.guix-profile/lib/emacs/native-site-lisp which is added to EMACSNATIVELOADPATH. For Emacs-related so-files, Guix currently does not have any convention; see . If I understand correctly, it is only the following Emacs-packages that ship with eln-files when installed with Guix, because they specify `#:emacs ,emacs` in the package declaration, so that native-compilation is available during build-time which is used if it's available: https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/emacs-utils.scm?h=6d0b3684628fe24555055d4a97d703a1b0b59660#n144 emacs-auctex emacs-citeproc-el emacs-zig-mode emacs-flycheck-grammalecte emacs-sudo-edit emacs-elquery emacs-cov emacs-pos-tip emacs-posframe emacs-xelb emacs-exwm emacs-xelb-no-x-toolkit emacs-exwm-no-x-toolkit emacs-exwm-x emacs-jabber emacs-ement emacs-circe emacs-esxml emacs-nov-el emacs-wordgen emacs-picpocket emacs-lsp-mode emacs-jsdoc emacs-tramp emacs-elpher emacs-telega So, if my understanding is correct, and assuming that we want to ship eln-files, Emacs-packages should all be built with a package of Emacs that supports native-compilation. From unknown Sat Jun 14 19:12:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64586: Emacs-Packages should contain native-compiled files Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 12 Jul 2023 19:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64586 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mekeor Melire , 64586@debbugs.gnu.org Cc: Andrew Tropin Received: via spool by 64586-submit@debbugs.gnu.org id=B64586.168919060413981 (code B ref 64586); Wed, 12 Jul 2023 19:37:02 +0000 Received: (at 64586) by debbugs.gnu.org; 12 Jul 2023 19:36:44 +0000 Received: from localhost ([127.0.0.1]:52972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJfdj-0003dP-NV for submit@debbugs.gnu.org; Wed, 12 Jul 2023 15:36:44 -0400 Received: from mail-ej1-f68.google.com ([209.85.218.68]:57392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJfdg-0003d3-AY for 64586@debbugs.gnu.org; Wed, 12 Jul 2023 15:36:41 -0400 Received: by mail-ej1-f68.google.com with SMTP id a640c23a62f3a-99384a80af7so848668466b.2 for <64586@debbugs.gnu.org>; Wed, 12 Jul 2023 12:36:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689190594; x=1691782594; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=xlJYpOVPZCPtx004V9c2W3AdX32sL2EzgOhNQjxswho=; b=ay29IFXn/oKy0gP+gPqN5N7KBE4ocnFHYMzz2GRoJ/ZU15s8h5g48wcx/SA/t6GLLc moaenSR7KY+j56lfPF39EVteZAJFH70ifsXBTu1zZF/ItTzONV+SalH6TNJB0RlT171Q wI68GgMrR1SwC4zbl9Mg6yHrSaLMsCFKhD2w0zX7TtBD5FsmQvJkAH5NIrX3R8zYZhEm EeyYNNbTK9g5mZHVxVFrnw4KsWQuTDSKIGk8q2KBisfhHSqIuWZHgb4+W3EWj3KJCvOA q54fQdQUu2gqb14Q7vjedmI4pL/WcRhgbQ71GrfjqZApjEM+XcQ3EyV7yLAN2oB+aEwi iGjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689190594; x=1691782594; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xlJYpOVPZCPtx004V9c2W3AdX32sL2EzgOhNQjxswho=; b=W4xvHxlq5ZcsYBo1LZe9IngxuRsDgJPr1aras+pMMJYqHk77Dwg/vixnGEGk0Wo+Jg hZX4uchJ42yxu2BEgerUK/8PxBl74VzSpeaR330t54cVMThFgyKqFD9hWLSXFmFAIxih acYZR/S9QYp0Z0OAv24zqi4pANpSqFRRhoPXsIMXVxkEqdSjZvbKWYkQA3Ehcs9a1xrj vPkUFEKOXh4Egz2kghTlsIVDcQCD8lJKJltfwP4gNvvQet17Mux7kq3AKowupCpCDtgi ohZZm2svnFhcDiJ5FOiOrZPA2FM2UNXnsnc8d/+9gRywgufGAbwsg8qtkyEZVH3ymrWG emwQ== X-Gm-Message-State: ABy/qLZT+g2n96x3fxxltbLE53JMBzg5zOS2va/LV76f9472T//xM0oq wT6ApCtpG10jYTFptSIaBWE= X-Google-Smtp-Source: APBJJlHTQBR/2H+TbDcPllHbFk8D8UPAfM1nNFSqjqnwF26IyIjYr1LEVips+0ulVKPV/mNsmvIVXw== X-Received: by 2002:a17:906:7385:b0:991:b292:699 with SMTP id f5-20020a170906738500b00991b2920699mr17899372ejl.5.1689190594116; Wed, 12 Jul 2023 12:36:34 -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 i4-20020a170906850400b0099293cdbc98sm2979011ejx.145.2023.07.12.12.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jul 2023 12:36:33 -0700 (PDT) Message-ID: <97bf7150bf27b67bd7028e4e55d0820bca31dcc3.camel@gmail.com> From: Liliana Marie Prikler Date: Wed, 12 Jul 2023 21:36:32 +0200 In-Reply-To: <875y6pgdnn.fsf@posteo.de> References: <875y6pgdnn.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-Spam-Score: 0.0 (/) 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 (-) Hi Mekeor, Am Mittwoch, dem 12.07.2023 um 18:19 +0000 schrieb Mekeor Melire: > If I understand correctly, it is only the following Emacs-packages > that ship with eln-files when installed with Guix, because they > specify `#:emacs ,emacs` in the package declaration, so that native- > compilation is available during build-time which is used if it's > available: > https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/emacs-utils.sc= m?h=3D6d0b3684628fe24555055d4a97d703a1b0b59660#n144 >=20 > =C2=A0=C2=A0=C2=A0 emacs-auctex > =C2=A0=C2=A0=C2=A0 emacs-citeproc-el > =C2=A0=C2=A0=C2=A0 emacs-zig-mode > =C2=A0=C2=A0=C2=A0 emacs-flycheck-grammalecte > =C2=A0=C2=A0=C2=A0 emacs-sudo-edit > =C2=A0=C2=A0=C2=A0 emacs-elquery > =C2=A0=C2=A0=C2=A0 emacs-cov > =C2=A0=C2=A0=C2=A0 emacs-pos-tip > =C2=A0=C2=A0=C2=A0 emacs-posframe > =C2=A0=C2=A0=C2=A0 emacs-xelb > =C2=A0=C2=A0=C2=A0 emacs-exwm > =C2=A0=C2=A0=C2=A0 emacs-xelb-no-x-toolkit > =C2=A0=C2=A0=C2=A0 emacs-exwm-no-x-toolkit > =C2=A0=C2=A0=C2=A0 emacs-exwm-x > =C2=A0=C2=A0=C2=A0 emacs-jabber > =C2=A0=C2=A0=C2=A0 emacs-ement > =C2=A0=C2=A0=C2=A0 emacs-circe > =C2=A0=C2=A0=C2=A0 emacs-esxml > =C2=A0=C2=A0=C2=A0 emacs-nov-el > =C2=A0=C2=A0=C2=A0 emacs-wordgen > =C2=A0=C2=A0=C2=A0 emacs-picpocket > =C2=A0=C2=A0=C2=A0 emacs-lsp-mode > =C2=A0=C2=A0=C2=A0 emacs-jsdoc > =C2=A0=C2=A0=C2=A0 emacs-tramp > =C2=A0=C2=A0=C2=A0 emacs-elpher > =C2=A0=C2=A0=C2=A0 emacs-telega >=20 > So, if my understanding is correct, and assuming that we want to ship > eln-files, Emacs-packages should all be built with a package of Emacs > that supports native-compilation. You are correct, but unlike other language ecosystems (e.g. Python or Common Lisp), we don't have a convenient "package-with-emacs" as of yet. This is basically step 3 of of which only step 1 has been concluded so far. (In fact, I need to merge 29.0.92 into emacs-team, but that shouldn't be as difficult as the rest in there.) If you want things to happen faster, just tag your patches with emacs-team and we will review them :) Cheers From unknown Sat Jun 14 19:12:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64586: Emacs-Packages should contain native-compiled files Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Aug 2023 16:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64586 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler , Mekeor Melire , 64586@debbugs.gnu.org Cc: Andrew Tropin Received: via spool by 64586-submit@debbugs.gnu.org id=B64586.16928088433399 (code B ref 64586); Wed, 23 Aug 2023 16:41:02 +0000 Received: (at 64586) by debbugs.gnu.org; 23 Aug 2023 16:40:43 +0000 Received: from localhost ([127.0.0.1]:34997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYquQ-0000sj-N2 for submit@debbugs.gnu.org; Wed, 23 Aug 2023 12:40:43 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:40343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYquH-0000rV-PJ for 64586@debbugs.gnu.org; Wed, 23 Aug 2023 12:40:34 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3fe8d816a40so9909975e9.1 for <64586@debbugs.gnu.org>; Wed, 23 Aug 2023 09:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692808824; x=1693413624; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=KMli95JT6C4VdAFBvsesfJiA/7ZI6FBNNQNivCu84qA=; b=cAmvr8nnViDfJOtZrc8gX+A06ZEIW8u7S2QwOEC/7+8uW2gZYjjDhVOG9aniXmVduo x2slkSA/lPE0yUlUWIvcN1gve+0V/8FN8QXmaDLvy3qoZp7t0VzWt7sy7TZXK73QfMje 7RMY39NjDoytHY6k2Pzvta5IUnn1eIKnbI6bUkPgxYgtqtzhYX5g4JygRjBftRomaEQL TFbzvoCQ1o8DFJXgxpyE+jJwEnDzFH8ncfPpobZR1z+b3udEKW3F/u+L7itq7cO+H3MM aNY1bybNIi3f/sacsAoyRoQMQTW+QOJIp5jar1KlMztjQJ8S08tLmRawkYV4Rt2vgyiI mglw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692808824; x=1693413624; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KMli95JT6C4VdAFBvsesfJiA/7ZI6FBNNQNivCu84qA=; b=LZp28PXcw9UuRzY3UXtBHSufA6riMHhimY65P4C6nR55Ej5XbXVSUmx5JVgXlCref2 AVwESoW7DL7esWS2ok9ULVKXTkJg0U2alGBf0YpjigdRR0xAKzhs1r62T3IW4A4sQc07 ed0dpKrY2De613MpEwIFuChrFEm/Lg+P8+aWfTHd50Ym/PFwQl09sqO/bLuY9hZX60ek YWhIwY9L6H8Yb8uVDM/J8jgFMhmZM3HzvjpLmy/zooF8ga5Urbg6htqQ0239BBnGJDXk LZGEgs4oN4Ytebb5XPw6GlF7A1WdGDf/LvaZufu+9p5aggeuLUys8e7E/qQOxPTzG3Bu P6Yw== X-Gm-Message-State: AOJu0YxQcCImRZ5syIoDr2W9gxthfhzfSVjqDZfiN2Efnf8aMbEVwbtN +SaCWyNGUh1IHhLiOnDeqDA= X-Google-Smtp-Source: AGHT+IGDYc11BdRDOQJcfpkChvbti4uByPRwyOHJ+T44KhqiRgesMTM5QgtIw/729aUYE4VfEZblCw== X-Received: by 2002:a05:600c:15c2:b0:3fb:aadc:41dc with SMTP id v2-20020a05600c15c200b003fbaadc41dcmr10485525wmf.4.1692808824539; Wed, 23 Aug 2023 09:40:24 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id x21-20020a05600c21d500b003fef30b28b2sm83535wmj.18.2023.08.23.09.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 09:40:24 -0700 (PDT) From: Simon Tournier In-Reply-To: <97bf7150bf27b67bd7028e4e55d0820bca31dcc3.camel@gmail.com> References: <875y6pgdnn.fsf@posteo.de> <97bf7150bf27b67bd7028e4e55d0820bca31dcc3.camel@gmail.com> Date: Wed, 23 Aug 2023 17:37:11 +0200 Message-ID: <864jkp3h3s.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-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 (-) Hi, On Wed, 12 Jul 2023 at 21:36, Liliana Marie Prikler wrote: > You are correct, but unlike other language ecosystems (e.g. Python or > Common Lisp), we don't have a convenient "package-with-emacs" as of > yet. This is basically step 3 of > of which only step 1 has been concluded so far. (In fact, I need to > merge 29.0.92 into emacs-team, but that shouldn't be as difficult as > the rest in there.) If you want things to happen faster, just tag your > patches with emacs-team and we will review them :) Just to point that a kind of =E2=80=99package-with-emacs=E2=80=99 had been = discussed in #41732 [1] and my current understanding is that some corner cases are annoying. Emacs packages use 3 variants for =E2=80=9Ccompiling=E2=80=9C: emacs-minima= l, emacs-no-x and emacs; see #:emacs in arguments field. (And I let aside emacs-no-x-toolkit. :-)) Therefore, it does not appear to me easy to have some generic package-with-emacs for rewriting the =E2=80=9Ccompiler=E2=80=9D of the Emac= s packages. Somehow, a profile containing Emacs packages has these packages not necessary built with the same Emacs build-system compiler but still work together; contrary to Python, Common Lisp, OCaml or others. And I do not know what could be an handy way to declare Emacs package variants. Any idea? 1: https://issues.guix.gnu.org/issue/41732 Cheers, simon From unknown Sat Jun 14 19:12:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64586: Emacs-Packages should contain native-compiled files Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Aug 2023 18:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64586 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Tournier , Mekeor Melire , 64586@debbugs.gnu.org Cc: Andrew Tropin Received: via spool by 64586-submit@debbugs.gnu.org id=B64586.169281583026491 (code B ref 64586); Wed, 23 Aug 2023 18:38:01 +0000 Received: (at 64586) by debbugs.gnu.org; 23 Aug 2023 18:37:10 +0000 Received: from localhost ([127.0.0.1]:35189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYsj8-0006tC-7s for submit@debbugs.gnu.org; Wed, 23 Aug 2023 14:37:10 -0400 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:56742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYsj3-0006sg-U1 for 64586@debbugs.gnu.org; Wed, 23 Aug 2023 14:37:09 -0400 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2b95d5ee18dso91651841fa.1 for <64586@debbugs.gnu.org>; Wed, 23 Aug 2023 11:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692815816; x=1693420616; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=xWHDPuUcEXLnIMw+svrLIuROEcBFO4/SM1A2ZcE9kfQ=; b=pcE41MjS0iY7hNC5B82S1nsdes8VDusE4GdqBWFmbEqe154m+KXNMP0T6yBB9iWfAp bl/UDxo/RPYIa8N5JtjPLNmkA8FBSPRz5+2wnPuh1IQhJ6RJU0LZqys2cZ8oLn6s5lGn iKWyEzVuKRRaKc64SyMXt3Fufxy9+0lsOEYOkWNwAh93NCE0JQ1eMLBU7OW6opXn5TEH cXUctUzot2J4kPlEWN+DbS3lmgnP4z1rHYDnRBhJmbjXBL49jlzW/wJhDGxCB0d3CtMm ONxCkXKAd4ZrlIXghvbkXjKzc0K6i6UYyNhrCmBTUg7Yg4225RDGUuogSURoFq5SjqRu u56A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692815816; x=1693420616; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xWHDPuUcEXLnIMw+svrLIuROEcBFO4/SM1A2ZcE9kfQ=; b=OCBmE5wdMCTb32SeJQPrKlfputLq7AgpntruUlFvssyiRse+WOFORz2Yx2WcHKCzW/ Y8eIDxE4fTSPjnXruMmxfa+dspx3gTE9gki0FAs91fNczYSF7h5wL/CQ8iOnMuIMFmxp yMQh0exNizSebHXO5uN0yGOQ5InpAUnQnn40lHvSyFY6XYlcVakNR76eJWkWBtGe9N1A 6w90dVkrno/9+dikSqSiliCkaiHoOlA+mwogVuiWiBwEBgpb431tGjtvbEAkSzMBU9t+ PdMZWNaaiS4thSK4HVnkXod5S19CQwQGvEFbVuWz7ram9o0KQ+lYtgVs14TsDRm8POky EfiA== X-Gm-Message-State: AOJu0YzJLi1s5/1XRmMHl+TXU/7LeYsbetn4mRSW7Z/NPuEd1iLmZeqw P6LH0orSf5IcULtKpOUyb3w= X-Google-Smtp-Source: AGHT+IF8Uk9uReCi6ASecpzhPGdj+tXrmbDCfXnNTHQQeb+BhmCrMZC3tghxmwIj6r5woxc5KnIecQ== X-Received: by 2002:a2e:9495:0:b0:2bc:d6d8:8ab5 with SMTP id c21-20020a2e9495000000b002bcd6d88ab5mr3463932ljh.24.1692815816003; Wed, 23 Aug 2023 11:36:56 -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 kj20-20020a170907765400b0099cc402d3ddsm9851693ejc.202.2023.08.23.11.36.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 11:36:54 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Wed, 23 Aug 2023 20:36:53 +0200 In-Reply-To: <864jkp3h3s.fsf@gmail.com> References: <875y6pgdnn.fsf@posteo.de> <97bf7150bf27b67bd7028e4e55d0820bca31dcc3.camel@gmail.com> <864jkp3h3s.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) 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 (-) Hi, Am Mittwoch, dem 23.08.2023 um 17:37 +0200 schrieb Simon Tournier: > Hi, >=20 > On Wed, 12 Jul 2023 at 21:36, Liliana Marie Prikler > wrote: >=20 > > You are correct, but unlike other language ecosystems (e.g. Python > > or Common Lisp), we don't have a convenient "package-with-emacs" as > > of yet.=C2=A0 This is basically step 3 of < > > https://issues.guix.gnu.org/63984#0> > > of which only step 1 has been concluded so far.=C2=A0 (In fact, I need > > to merge 29.0.92 into emacs-team, but that shouldn't be as > > difficult as the rest in there.)=C2=A0 If you want things to happen > > faster, just tag your patches with emacs-team and we will review > > them :) >=20 > Just to point that a kind of =E2=80=99package-with-emacs=E2=80=99 had bee= n discussed > in #41732 [1] and my current understanding is that some corner cases > are annoying. The plan would have been to address those, but we were caught with our panties down and are behind the latest Emacs release. Oh well, guess those nice things have to be delayed a little longer. > Emacs packages use 3 variants for =E2=80=9Ccompiling=E2=80=9C: emacs-mini= mal, emacs- > no-x and emacs; see #:emacs in arguments field. >=20 > (And I let aside emacs-no-x-toolkit. :-)) >=20 > Therefore, it does not appear to me easy to have some generic > package-with-emacs for rewriting the =E2=80=9Ccompiler=E2=80=9D of the Em= acs > packages. Somehow, a profile containing Emacs packages has these > packages not necessary built with the same Emacs build-system > compiler but still work together; contrary to Python, Common Lisp, > OCaml or others. I don't think there'd be that many cases to consider. You can either adjust #:emacs (when using emacs-build-system) or you have it as native-input (when using any other build system). For both cases, you can add some logic to make that emacs the one used as the argument to the hypothetical package-with-emacs function. > And I do not know what could be an handy way to declare Emacs package > variants.=C2=A0 Any idea? I'd have to investigate that myself. My basic idea would have been to copy what Common Lisp is doing and introduce consistent naming, i.e. have emacs-minimal-org, emacs-no-x-toolkit-org, etc. That being said, I consider some variants to be more important than others, particularly regular emacs-PACKAGE > emacs-any-other-variant-PACKAGE. Which ones to build on CI will imho be much rather a political discussion than a technical one. Cheers