From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qDAJLRdNL2EQLQAAgWs5BA (envelope-from ) for ; Wed, 01 Sep 2021 11:51:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2OXDKBdNL2FFUQAAB5/wlQ (envelope-from ) for ; Wed, 01 Sep 2021 09:51:19 +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 CE437B69F for ; Wed, 1 Sep 2021 11:51:18 +0200 (CEST) Received: from localhost ([::1]:39828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLMtp-0000Ch-8S for larch@yhetil.org; Wed, 01 Sep 2021 05:51:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLMta-0000Bh-35 for guix-patches@gnu.org; Wed, 01 Sep 2021 05:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLMtZ-0008Lr-Qn for guix-patches@gnu.org; Wed, 01 Sep 2021 05:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLMtZ-000700-NQ for guix-patches@gnu.org; Wed, 01 Sep 2021 05:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] Separate =?UTF-8?Q?=E2=80=98emacs=E2=80=99?= output vs separate =?UTF-8?Q?=E2=80=98emacs-=E2=80=99?= package (was Re: [bug#50077] [PATCH 1/3] gnu: notmuch: Add separate 'emacs' output.) Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 09:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50077 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen Cc: 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163048984826883 (code B ref 50077); Wed, 01 Sep 2021 09:51:01 +0000 Received: (at 50077) by debbugs.gnu.org; 1 Sep 2021 09:50:48 +0000 Received: from localhost ([127.0.0.1]:36360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLMtL-0006zX-Ty for submit@debbugs.gnu.org; Wed, 01 Sep 2021 05:50:48 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:44593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLMtJ-0006zH-Lf for 50077@debbugs.gnu.org; Wed, 01 Sep 2021 05:50:47 -0400 Received: by mail-lj1-f173.google.com with SMTP id s3so3812758ljp.11 for <50077@debbugs.gnu.org>; Wed, 01 Sep 2021 02:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=ERi2mARobPsvxJv/UO6/qPcYvLJTJ2i+m9ZXrusbepU=; b=SyVQTbPRFv5/grMW9nl1pOM20iPE2By8qQGbdkm7DQFLcqXdXZi2TcsWwjTUjiByjh 6xo2pUjD2t2Ujgn4psA6KB5RrK7AM77OIt75wOWXcHTucqrkH+Dj/rYqyczmYQBQa/+/ 9foxXxSW5p71gwNWsFJ7TgYW8ybnd4Q9Ty0px8tvFWgcQ21RF4lJpE/+sZE51PhpzSuS CPKDFmYOc7UJJoDs8r9aHGkVZ6unqbv+l5UYswJhdOypxve2x/MmCf7rT+5bgCOGTXDk jIzUFwZVugKfEBVcYRmZNHD8vLolUH5iPtoJeFyC/UtHa6lgC4j4qKk6ho8tLuWqbvAb ZK4A== 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:in-reply-to:references:date :message-id:mime-version; bh=ERi2mARobPsvxJv/UO6/qPcYvLJTJ2i+m9ZXrusbepU=; b=GPHQyxnoytyCa13HPFMVSDepswKOlkg4dopMffNHGTe9/So0zjaf4YJKzmSFOAf25e oL1jmv3VXMBmIylV+13hmoJ/sYb2qrOa8UeI9OUI5mWeAN3f5klJZSAe2y+map2r4M1g TdKm9N6R2USS7FQEaC1/lLUOXFIth9FX+M3FekShNgXf9sks8mrxi6J89rTRgWuS/9fQ eq2m/sSIfRhsMAqY+n6Ulsu0SDWq+RbWccT+ahugRXMkchB6W8EXebWq0oZdfiX6qDtR wCHfRx1PlcYcNNulCGujYlEfJhsDACQu01npTk461A74Hg88ECwxdLTCEu30bJbBD4Ya NX8w== X-Gm-Message-State: AOAM532Vg0HbLfCf98VnoljRPtN0wnyyjsO2JMTyCpfZ4ueHKiNQK2a1 HByxT1n/JOef4S9rUbhqAAEwyjsGlaGbYA== X-Google-Smtp-Source: ABdhPJz3aBvQCpUaymBm9bkilchBANv5OcEzLZ+Uv/cR+gM3/SE/QS8T5w0/GHr5ZbMsRDCODOaGLQ== X-Received: by 2002:a05:651c:1784:: with SMTP id bn4mr29189528ljb.371.1630489839439; Wed, 01 Sep 2021 02:50:39 -0700 (PDT) Received: from localhost ([109.252.93.92]) by smtp.gmail.com with ESMTPSA id q13sm64295lfo.309.2021.09.01.02.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 02:50:38 -0700 (PDT) From: Andrew Tropin In-Reply-To: <87r1ebm503.fsf@yoctocell.xyz> References: <87o89owoi0.fsf@trop.in> <87r1edvown.fsf@yoctocell.xyz> <87lf4j8kux.fsf@trop.in> <87r1ebm503.fsf@yoctocell.xyz> Date: Wed, 01 Sep 2021 12:50:35 +0300 Message-ID: <8735qozkt0.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630489879; 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: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=ERi2mARobPsvxJv/UO6/qPcYvLJTJ2i+m9ZXrusbepU=; b=LYE69fbzUY3Xfcad661UzKCWAy4EScRL7E0KJqwV96/NZhEPBfJxmsShc6jHqjkJVCD8Gb dbUAEh54NoYjawddCm4qVBQR9sjm+1gin0NfhmKATfYOVrEmcqieV0oGmsfpVEbyu7SXxv fjsS+YC5jVS0A+6sEdiJ09ov+LSK7qDfjctdkv5s9FgeKXRGdnewcqJE3zxWva03H3fSDW LvxrDT8Zse1su8mZrUsWvLu1q+QyxS/N6ZRJzbtsRsHhUBtEmDNtbLvTPQXI6YZS7zgk2r WQ20QcO1A0R50zhb6vxpyPJd6K6meFEwj9rtBVxjHMfPc3ksEE6r2CsrSMF9Jw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630489879; a=rsa-sha256; cv=none; b=XvxcwCvG3izXYD+dKSFP61XlbXxXjZTbluJbUYhg1znI0g7t9hVzx3qGnVFUAQTeJNKITz 1HC9zbbKT2L9nrx5nBojwseaPOYvFUZMh/jRy4hwwKkLX1N8Tsolgjoq1lwxigwi+zcKv2 yGvWSHpRDlXYtaIQseRY27FmMluC+w9mNmqM25UYN77u+GZ3Dk5jmgUKk7SkCRMmpvW3xQ 1gLIlx1oUyy6wdjPUxg2iYLZG8RjPXntrvXtUNZbaaVMR9wEyrJSQbregi3Sohtb61twIl e6QzxxkvH58JqlHOPIBkj+gJ0nvsbUmNScsQ+sSwsj2VBgN+Hzuqd2FxWPGhkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b=SyVQTbPR; dmarc=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-Migadu-Spam-Score: -3.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b=SyVQTbPR; dmarc=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-Migadu-Queue-Id: CE437B69F X-Spam-Score: -3.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: XscpLVcDMJgN --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2021-08-30 15:33, Xinglu Chen wrote: > On Mon, Aug 30 2021, Andrew Tropin wrote: > >>> Why would it be more consistent to make a separate package? Making a >>> separate package is usually used for packaging a slightly different >>> version of the =E2=80=9Cregular=E2=80=9D package, e.g., =E2=80=98emacs-= next-pgtk=E2=80=99 adds native >>> compilation and pure GTK support for Emacs., =E2=80=98emacs-no-x=E2=80= =99 removes X >>> suport for =E2=80=98emacs=E2=80=99. =E2=80=98emacs-notmuch=E2=80=99 is= n=E2=80=99t really a different version of >>> =E2=80=98notmuch=E2=80=99, it=E2=80=99s just =E2=80=98notmuch=E2=80=99 = but with all the non-Elisp stuff >>> removed. This is usually what using different outputs tries to achieve, >>> e.g., separate documentation from the main package, or in this case, >>> separate Elisp stuff from the main package. >>> >> >> Almost all elisp packages in Guix have a emacs- prefix, so as a user I >> expect to find notmuch*.el in emacs-notmuch package and notmuch binary >> in notmuch package, despite the fact that upstream distributes the >> source code for both of them in one tarball. > > Good point, however, If we were to have separate =E2=80=98emacs-=E2=80=99= packages for > the packages that also contain Elisp stuff, should those packages still > include the Emacs package in their output, i.e., should the =E2=80=98notm= uch=E2=80=99 > package still include notmuch.el, or should the Elisp stuff only be in > =E2=80=98emacs-notmuch=E2=80=99? > IMO, notmuch package should not include Elisp stuff, at least I don't see use cases, where it can be useful, but see where it can be harmful. > >> Moreover, with emacs-notmuch and notmuch packages it's possible to use >> different build systems, which helps in automated package >> modification, for example I want to native compile all emacs packages >> or generate some additional metainformation, I just find all packages >> in my profile with emacs-build-system and modify phases accordingly. >> Yes, it's possible to do such modification for other packages >> manually, but it feels hacky and inconvinient. > > This sounds like an interesting use-case, but I don=E2=80=99t know how us= eful > this will be for most people. Even if there are not so many people, who do it right now or even in some future, it's very likely that some derivative distribution with considerable amount of users will appear, which will be utilizing such capabilities. Actually, the exact use case doesn't matter so much, but the whole picture, where you need to track every package, which picks some phases of one build system to make sure that your transformation of package list works correctly is. More regular and consistent package definitions are, the easier and simplier to transform them programmatically. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmEvTOsACgkQIgjSCVjB 3rDU+Q//Z701kZCQDE2DIV2PwjbaPDr23uyLOoF+7a9Begci6tFoG4v+/ZORKmvn lwx2Hjf6qQCWbxW9CYUVwwmHmXpfHexUpz4rwHLBRfCK632i42IdF/X8+NjkqHZP xNbafRf83q0sxP82oM88mQcv+qVVbPR+WgHLM5IaMNxInXxncoZRm5cCiRQT2UjE ztJhWeUBu9ng9JJqKBbEv9vs40D7SZaEdCeM3ScOF0AvsK6lc3OcTAt52UlU+Mdq 0AbG7/ZJ3GmGL16Vj9HmvF/VBSmnXbqInDXoB1RUVUqyjtOwyuT3wgrLVODL4l9M sl5560B3RVEBmNdaq77Cxgp4FIHYooqzgbXc2FqgHcHTuXirDHM2ZlyP7UqXMm5p j9Ev+56ZqWxJn6gh95TvpflCPzDThkDN6rRkLOQpVyq6lyRHcf3TDF0IdTGVrcm7 AvJB2K+J8KviSdrPFB84Iv+wu+eqL6tV/cRXpTQv4z8HUqU5PllUP73QP8qLN+39 CsnnvYrkP9HfzZZHpyfNaAqJDT5vPagkGy9n0C6tdW9Lp8wKv7KAIzPZy7Cilq9y 2W7YC33511seXQz5rfB818Y+0JklLMNq/xtqCKKDf1f4QmmDxCtYN+ou7C9inaae yCCPMXNasJy6sSfP8/OPsDa/lYF7oAqCpQr99wy74rQW8t2M158= =vjxh -----END PGP SIGNATURE----- --=-=-=--