From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH 0/3] Various improvements to Notmuch Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: mail@nicolasgoaziou.fr, andrew@trop.in, guix-patches@gnu.org Resent-Date: Mon, 16 Aug 2021 14:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50077 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50077@debbugs.gnu.org Cc: Nicolas Goaziou , Andrew Tropin X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Nicolas Goaziou , Andrew Tropin Received: via spool by submit@debbugs.gnu.org id=B.162912304118577 (code B ref -1); Mon, 16 Aug 2021 14:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2021 14:10:41 +0000 Received: from localhost ([127.0.0.1]:50661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdK5-0004pZ-6R for submit@debbugs.gnu.org; Mon, 16 Aug 2021 10:10:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:54754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdK1-0004pM-BM for submit@debbugs.gnu.org; Mon, 16 Aug 2021 10:10:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFdK1-0001VA-2x for guix-patches@gnu.org; Mon, 16 Aug 2021 10:10:37 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:42136 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFdJy-0001oN-VH for guix-patches@gnu.org; Mon, 16 Aug 2021 10:10:36 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1629123024; bh=6v5skwu7gD6DbPad4wihLv9J5wgLHyYCSzvPng8/uGo=; h=From:To:Subject:Date; b=jPwgnRq/Chj3iHvXq3508wvLrB8bJcc5WcJSrtyonQvtge0yP7mlMwmnTSnzHvMqM TpJclrM3J0cokaYE/IyY8v5CppcdNNSzuzTlloBd+l68emgCVEqTYAULlJAXHQBnRl ZlI4N2SoMt4kcTcKspVKFD81K2xnRN1wEXs5cHcA= Message-Id: Date: Mon, 16 Aug 2021 16:10:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 30 X-Spam_score: 3.0 X-Spam_bar: +++ X-Spam_report: (3.0 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.588, PDS_OTHER_BAD_TLD=1.997, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Adding an extra =?UTF-8?Q?=E2=80=98emacs=E2=80=99?= output would allow one to propagate notmuch.el without propagating the Notmuch executable and libnotmuch. This was mentioned in . Xinglu Chen (3): gnu: notmuch: Add separate 'emacs' output. gnu: notmuch: Build Info manual. gnu: notmuch: Use 'cc-for-target' instead of hardcoding 'gcc'. Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] 0.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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: 0.2 (/) Adding an extra =E2=80=98emacs=E2=80=99 output would allow one to propagate= notmuch.el without propagating the Notmuch executable and libnotmuch. This was mentioned in . Xinglu Chen (3): gnu: notmuch: Add separate 'emacs' output. gnu: notmuch: Build Info manual. gnu: notmuch: Use 'cc-for-target' instead of hardcoding 'gcc'. gnu/packages/mail.scm | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) base-commit: 0fa49fd2a8f0d1d2c37ea276cc44d0d5adcea701 --=20 2.32.0 From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH 1/3] gnu: notmuch: Add separate 'emacs' output. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Aug 2021 14:13:02 +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: 50077@debbugs.gnu.org Cc: Nicolas Goaziou , Andrew Tropin Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.162912315418785 (code B ref 50077); Mon, 16 Aug 2021 14:13:02 +0000 Received: (at 50077) by debbugs.gnu.org; 16 Aug 2021 14:12:34 +0000 Received: from localhost ([127.0.0.1]:50672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdLt-0004su-OJ for submit@debbugs.gnu.org; Mon, 16 Aug 2021 10:12:33 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:50454 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdLr-0004sh-P9 for 50077@debbugs.gnu.org; Mon, 16 Aug 2021 10:12:32 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1629123144; bh=Mck8+RN4a+JI2cFzpcFLhiuQEqPibAeFOwLolNsngjg=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=JHSwRy5OU6ClkQb5GAJ8Ji8d9ib5fxaJhREvUKYnJiU2eEXx5Hip8nXb7dMH6CKqw j6ZEe4aiNTkUsUPMsRf7Fp6uog5soNnflEBzsWR3HDG6G85y3YYETt8nNmcY+7Q2f4 nu+vZRUngy8Ggd6NTRhKXD0l5WPRiHtbVjz5xPYY= In-Reply-To: References: Message-Id: Date: Mon, 16 Aug 2021 16:12:19 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[outputs]: Add =?UTF-8?Q?=E2=80=98emacs=E2=80=99?= output [arguments]<#:modules>: Add (guix build emacs-utils). <#:phases>{configure}: Use the =?UTF-8?Q?=E2=80=98emacs=E2=80=99?= output. {make-autoloads}: Modify the [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[outputs]: Add =?UTF-8?Q?=E2=80=98emacs=E2=80=99?= output [arguments]<#:modules>: Add (guix build emacs-utils). <#:phases>{configure}: Use the =?UTF-8?Q?=E2=80=98emacs=E2=80=99?= output. {make-autoloads}: Modify the [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * gnu/packages/mail.scm (notmuch)[outputs]: Add =E2=80=98emacs=E2=80=99 out= put [arguments]<#:modules>: Add (guix build emacs-utils). <#:phases>{configure}: Use the =E2=80=98emacs=E2=80=99 output. {make-autoloads}: Modify the default =E2=80=98make-autoloads=E2=80=99 phase= to use the =E2=80=98emacs=E2=80=99 output. --- gnu/packages/mail.scm | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index ccf44b7cf3..bbc616f6f5 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1337,7 +1337,8 @@ invoking @command{notifymuch} from the post-new hook.= ") (arguments `(#:modules ((guix build gnu-build-system) ((guix build emacs-build-system) #:prefix emacs:) - (guix build utils)) + (guix build utils) + (guix build emacs-utils)) #:imported-modules (,@%gnu-build-system-modules (guix build emacs-build-system) (guix build emacs-utils)) @@ -1355,7 +1356,8 @@ invoking @command{notifymuch} from the post-new hook.= ") (setenv "CONFIG_SHELL" (which "sh")) =20 (let* ((out (assoc-ref outputs "out")) - (elisp (emacs:elpa-directory out))) + (emacs (assoc-ref outputs "emacs")) + (elisp (emacs:elpa-directory emacs))) (invoke "./configure" (string-append "--prefix=3D" out) (string-append "--emacslispdir=3D" elisp) @@ -1373,7 +1375,14 @@ invoking @command{notifymuch} from the post-new hook= .") (substitute* (find-files "test" "\\.sh$") (("/bin/sh") (which "sh"))))) (add-after 'install 'make-autoloads - (assoc-ref emacs:%standard-phases 'make-autoloads))))) + (lambda* (#:key outputs inputs #:allow-other-keys) + (let* ((emacs (string-append (assoc-ref inputs "emac= s") "/bin/emacs")) + (out (assoc-ref outputs "emacs")) + (elpa-name-ver ((@@ (guix build emacs-build-s= ystem) + store-directory->elpa-nam= e-version) out)) + (elpa-name (package-name->name+version elpa-n= ame-ver)) + (el-dir (emacs:elpa-directory out))) + (emacs-generate-autoloads elpa-name el-dir))))))) (native-inputs `(("bash-completion" ,bash-completion) ("emacs" ,emacs-no-x) ; -minimal lacks libxml, needed for some t= ests @@ -1394,6 +1403,7 @@ invoking @command{notifymuch} from the post-new hook.= ") ("talloc" ,talloc) ("xapian" ,xapian) ("zlib" ,zlib))) + (outputs '("out" "emacs")) (home-page "https://notmuchmail.org/") (synopsis "Thread-based email index, search, and tagging") (description --=20 2.32.0 From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH 2/3] gnu: notmuch: Build Info manual. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Aug 2021 14:13:02 +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: 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.162912316218806 (code B ref 50077); Mon, 16 Aug 2021 14:13:02 +0000 Received: (at 50077) by debbugs.gnu.org; 16 Aug 2021 14:12:42 +0000 Received: from localhost ([127.0.0.1]:50675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdM2-0004tG-0l for submit@debbugs.gnu.org; Mon, 16 Aug 2021 10:12:42 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:50464 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdLz-0004t3-U8 for 50077@debbugs.gnu.org; Mon, 16 Aug 2021 10:12:40 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1629123152; bh=x0jIieE4ebZQeY9HGqWZ48l+B2LcAT2K6L6gZoXzP7w=; h=From:To:Subject:In-Reply-To:References:Date; b=qC78f5hNRpy3viWcg5TMmb1WNlV4jpCBE0l8cxEcc0TwcGEuzKxxol2Bl3bU4wz/W N6Q/vOiAMHBZh09RSu0bg0obYUIBbkeygjXgXI5zS6yVIxO6ZrJQiTIxVkWnPclYPE sRBQynGS/G+D74N4uFdObv4zeXdllX2P8RXEf4V8= In-Reply-To: References: Message-Id: Date: Mon, 16 Aug 2021 16:12:32 +0200 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[native-inputs]: Add 'texinfo'. --- gnu/packages/mail.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index bbc616f6f5..66e0d2482d 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1390,6 +1390,7 @@ invoking @command{notifymuc [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[native-inputs]: Add 'texinfo'. --- gnu/packages/mail.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index bbc616f6f5..66e0d2482d 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1390,6 +1390,7 @@ invoking @command{notifymuc [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * gnu/packages/mail.scm (notmuch)[native-inputs]: Add 'texinfo'. --- gnu/packages/mail.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index bbc616f6f5..66e0d2482d 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1390,6 +1390,7 @@ invoking @command{notifymuch} from the post-new hook.") ("python" ,python) ("python-docutils" ,python-docutils) ("sphinx" ,python-sphinx) + ("texinfo" ,texinfo) ;; The following are required for tests only. ("which" ,which) -- 2.32.0 From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH 3/3] gnu: notmuch: Use 'cc-for-target' instead of hardcoding 'gcc'. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Aug 2021 14:13:03 +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: 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.162912317018827 (code B ref 50077); Mon, 16 Aug 2021 14:13:03 +0000 Received: (at 50077) by debbugs.gnu.org; 16 Aug 2021 14:12:50 +0000 Received: from localhost ([127.0.0.1]:50678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdMA-0004tb-71 for submit@debbugs.gnu.org; Mon, 16 Aug 2021 10:12:50 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:50470 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdM8-0004tO-1j for 50077@debbugs.gnu.org; Mon, 16 Aug 2021 10:12:48 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1629123160; bh=UmjwRxtkoCZqe9JZn+xCM0EpA9VSSp0IfmbCr46Ufcg=; h=From:To:Subject:In-Reply-To:References:Date; b=cdAOCKYH0SU6QjLViSNXenYTdaa6D/9nTEWZUKh9EKLOkWMFTit3s9rKlJ3QUCLnz RWENT3/xKNN+TNkV+G53CyVUdIgL3p3amBiSLJsNM/IcCPgs9h7jexA6ZltcufYNLY O/npwOwUql6KRLhRhPtdDD338MlTnI6rC9c19Et8= In-Reply-To: References: Message-Id: <6ce89bf8646d07c68dc5b27b0795de45030b4adc.1629122681.git.public@yoctocell.xyz> Date: Mon, 16 Aug 2021 16:12:40 +0200 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[arguments]<#:phases>: Use 'cc-for-target' instead of 'gcc'. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 66e0d2482d..2c2d740f9b 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1352, 7 +1352, 7 @@ invoking @command{notifymuc [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[arguments]<#:phases>: Use 'cc-for-target' instead of 'gcc'. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 66e0d2482d..2c2d740f9b 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1352,7 +1352,7 @@ invoking @command{notifymuc [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * gnu/packages/mail.scm (notmuch)[arguments]<#:phases>: Use 'cc-for-target' instead of 'gcc'. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 66e0d2482d..2c2d740f9b 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1352,7 +1352,7 @@ invoking @command{notifymuch} from the post-new hook.") (("/bin/sh") (which "sh"))))) (replace 'configure (lambda* (#:key outputs #:allow-other-keys) - (setenv "CC" "gcc") + (setenv "CC" ,(cc-for-target)) (setenv "CONFIG_SHELL" (which "sh")) (let* ((out (assoc-ref outputs "out")) @@ -1370,7 +1370,7 @@ invoking @command{notifymuch} from the post-new hook.") (("\\$NOTMUCH_GMIME_X509_CERT_VALIDITY") "0")))) (add-before 'check 'prepare-test-environment (lambda _ - (setenv "TEST_CC" "gcc") + (setenv "TEST_CC" ,(cc-for-target)) ;; Patch various inline shell invocations. (substitute* (find-files "test" "\\.sh$") (("/bin/sh") (which "sh"))))) -- 2.32.0 From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH 1/3] gnu: notmuch: Add separate 'emacs' output. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 Aug 2021 10:35:02 +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: Andrew Tropin Cc: 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163014689910958 (code B ref 50077); Sat, 28 Aug 2021 10:35:02 +0000 Received: (at 50077) by debbugs.gnu.org; 28 Aug 2021 10:34:59 +0000 Received: from localhost ([127.0.0.1]:53452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJvfr-0002qc-6R for submit@debbugs.gnu.org; Sat, 28 Aug 2021 06:34:59 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:44582 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJvfk-0002qI-Tp for 50077@debbugs.gnu.org; Sat, 28 Aug 2021 06:34:53 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630146878; bh=InNYTCiS7BH/2UNCbDq4yHrqFvBU+9qpga/u1aNA0nw=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=hRo2DtDGN868yhAS5eWU3Z1Ew+IkwKEjbRVDsZw7cr4RVHfC+9vzmtzIug6Xhi1T/ oWXUVfu03WjGi/mma8Q61LbCjkYkhTbs+F93DYnFa2lcyMyoq+rL+Oh9Wt7qgn7BbW nn+T91FgNh2I+FRMneqlCbEqa320PqNvSjcI0g54= In-Reply-To: <87o89owoi0.fsf@trop.in> References: <87o89owoi0.fsf@trop.in> Date: Sat, 28 Aug 2021 12:34:16 +0200 Message-ID: <87r1edvown.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [ Debbugs =?UTF-8?Q?wasn=E2=80=99t_?= =?UTF-8?Q?Cc=E2=80=99d?= in the previous message ] On Mon, Aug 23 2021, Andrew Tropin wrote: > On 2021-08-16 16:12, Xinglu Chen wrote: > >> * gnu/packages/mail.scm (notmuch)[outputs]: Add =?UTF-8?Q?=E2=80=98emacs=E2=80=99?= output >> [arguments]<#:modules>: Add (guix build emacs-utils). >> <#:phases>{configure}: Use [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [ Debbugs =?UTF-8?Q?wasn=E2=80=99t_?= =?UTF-8?Q?Cc=E2=80=99d?= in the previous message ] On Mon, Aug 23 2021, Andrew Tropin wrote: > On 2021-08-16 16:12, Xinglu Chen wrote: > >> * gnu/packages/mail.scm (notmuch)[outputs]: Add =?UTF-8?Q?=E2=80=98emacs=E2=80=99?= output >> [arguments]<#:modules>: Add (guix build emacs-utils). >> <#:phases>{configure}: Use [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable [ Debbugs wasn=E2=80=99t Cc=E2=80=99d in the previous message ] On Mon, Aug 23 2021, Andrew Tropin wrote: > On 2021-08-16 16:12, Xinglu Chen wrote: > >> * gnu/packages/mail.scm (notmuch)[outputs]: Add =E2=80=98emacs=E2=80=99 = output >> [arguments]<#:modules>: Add (guix build emacs-utils). >> <#:phases>{configure}: Use the =E2=80=98emacs=E2=80=99 output. >> {make-autoloads}: Modify the default =E2=80=98make-autoloads=E2=80=99 ph= ase to use the =E2=80=98emacs=E2=80=99 >> output. >> --- >> gnu/packages/mail.scm | 16 +++++++++++++--- >> 1 file changed, 13 insertions(+), 3 deletions(-) >> >> diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm >> index ccf44b7cf3..bbc616f6f5 100644 >> --- a/gnu/packages/mail.scm >> +++ b/gnu/packages/mail.scm >> @@ -1337,7 +1337,8 @@ invoking @command{notifymuch} from the post-new ho= ok.") >> (arguments >> `(#:modules ((guix build gnu-build-system) >> ((guix build emacs-build-system) #:prefix emacs:) >> - (guix build utils)) >> + (guix build utils) >> + (guix build emacs-utils)) >> #:imported-modules (,@%gnu-build-system-modules >> (guix build emacs-build-system) >> (guix build emacs-utils)) >> @@ -1355,7 +1356,8 @@ invoking @command{notifymuch} from the post-new ho= ok.") >> (setenv "CONFIG_SHELL" (which "sh")) >>=20=20 >> (let* ((out (assoc-ref outputs "out")) >> - (elisp (emacs:elpa-directory out))) >> + (emacs (assoc-ref outputs "emacs")) >> + (elisp (emacs:elpa-directory emacs))) >> (invoke "./configure" >> (string-append "--prefix=3D" out) >> (string-append "--emacslispdir=3D" elis= p) >> @@ -1373,7 +1375,14 @@ invoking @command{notifymuch} from the post-new h= ook.") >> (substitute* (find-files "test" "\\.sh$") >> (("/bin/sh") (which "sh"))))) >> (add-after 'install 'make-autoloads >> - (assoc-ref emacs:%standard-phases 'make-autoloads))= ))) >> + (lambda* (#:key outputs inputs #:allow-other-keys) >> + (let* ((emacs (string-append (assoc-ref inputs "e= macs") "/bin/emacs")) >> + (out (assoc-ref outputs "emacs")) >> + (elpa-name-ver ((@@ (guix build emacs-buil= d-system) >> + store-directory->elpa-= name-version) out)) >> + (elpa-name (package-name->name+version elp= a-name-ver)) >> + (el-dir (emacs:elpa-directory out))) >> + (emacs-generate-autoloads elpa-name el-dir)))))= )) >> (native-inputs >> `(("bash-completion" ,bash-completion) >> ("emacs" ,emacs-no-x) ; -minimal lacks libxml, needed for som= e tests >> @@ -1394,6 +1403,7 @@ invoking @command{notifymuch} from the post-new ho= ok.") >> ("talloc" ,talloc) >> ("xapian" ,xapian) >> ("zlib" ,zlib))) >> + (outputs '("out" "emacs")) >> (home-page "https://notmuchmail.org/") >> (synopsis "Thread-based email index, search, and tagging") >> (description > > The separate output is ok, but I think making a separate emacs-notmuch > package looks more consistent. We can inherit it from notmuch package > to be sure that the packages are built from the same source code. 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 r= emoves X suport for =E2=80=98emacs=E2=80=99. =E2=80=98emacs-notmuch=E2=80=99 isn=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. The =E2=80=98notmuch=E2=80=99 package in Nixpkgs also uses multiple outputs= [1], which I think makes sense. > > Thank you for working on this, the changes are good and useful!) You are welcome! :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmEqESgVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5kZcP/RTgDyBP+weLceLnv5Xo6z4wvR1y mpqjSSoz7xEKazB7JGNkjKx+1Xcz15AcC1VOAyGUPJdBUGTbHtp1jSIMcmwCY5Xb dNUlv+aGXZzQdKzMw2lTRxe4JPKq6fbIZN9aIhezCAX8oojDI8LIuRK4H6onZzkt NijrdN09oYkfEsHTDXdoDu/EZNV25MH3MAW4lVQKnpwZIDqj6m3A46Z/2jvMFeoH HaXQUD6ZJc4zN1n1tklds09hYyHeR+0ijBG33HmZ8KQloaOx+9J2k9AO326i3R2Y Evjqt1DL3RoaCMqwSXIsxKBZmJj84YJZm2MxmZz8wGWdxf5AzpFzdmWl4svaPS2T nCRrjf3M0PvW+eNUagLAnF186p3alC9incQqq/o9aOeri7YggHkoxQL/drHFlEik 93589LuGBa+cyaXIjV4t9hD7O47/sZyudT5kwIsDnyo+QZMTeMH/Mo9fPN7YhORm 0Am3niBcEMc0lZ6zNWQyupU4UdtLrgOcltJYYOH29wA5DrSb5WlM9rQZTu6O4PkD HLlsa75O4e9OiENSllJClA/lM3dSmPp+VCWH08I5i1yduDaJ28EbF45Dwxh1Bgxx P4LgB6XhBdGcsi2AFnF+worHqIv9qshfwBzLU10Qcxy3rvFTC+HDZ41JZtIlYPhK 2EdnAyHscS2FFONS =kd3P -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [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: Mon, 30 Aug 2021 07:15:02 +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.163030770031626 (code B ref 50077); Mon, 30 Aug 2021 07:15:02 +0000 Received: (at 50077) by debbugs.gnu.org; 30 Aug 2021 07:15:00 +0000 Received: from localhost ([127.0.0.1]:57987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKbVU-0008E1-3R for submit@debbugs.gnu.org; Mon, 30 Aug 2021 03:15:00 -0400 Received: from mail-lj1-f176.google.com ([209.85.208.176]:44822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKbVQ-0008Dk-JS for 50077@debbugs.gnu.org; Mon, 30 Aug 2021 03:14:58 -0400 Received: by mail-lj1-f176.google.com with SMTP id s3so24216108ljp.11 for <50077@debbugs.gnu.org>; Mon, 30 Aug 2021 00:14:56 -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=WjS/SN6BkYiDdwA4deLSXY5sUMM0q91X4HYd+mL2DvM=; b=XOLxMq4UOE61B74BfV/mfymj35TbGLmHzDtKe7Iygw0j5FTj49wVpQuCUQJQqETWWv pRMJC8AVk1cWZrKY6obdhNJTHg0nALuIoWZOP5MlVCjWnr95mSF9lSElnzlGuWhQU4dI eZ/b9/EvByYoJjTJWonOqAGussYUggHMy/MrqLLs6A14gYPnGAkx1RLTBOoCehOgH4EQ p4M+qlxgeMmTnU7FLmtRtzBpbMb6YUIs3UwV0iV5TcOon9PKdgR9hJveN9PoD7l6927R ZGfaUDmFIJjbLXjga5gUMixCh7W/txzskJbRM/tjeu1yEIzk76+6mBL92tkxkUQEVAqi PdWg== 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=WjS/SN6BkYiDdwA4deLSXY5sUMM0q91X4HYd+mL2DvM=; b=JwOEpCDLE7koqljksXXaA0ttt13qpAtpD3l/OIu7FbyGj7GRIlayzEJUOtzF9+dhLD xTj/OK0MDjwbYJcI29ff8gIFC2QWHV1e2kD/rOAJSpg0Vr14gVJt5mq3BPqF7Aw224tT lQRpwh3iAxvQvlZMGuujafYj5AIe8Z9RRoI33b18ycX5ZpM8k189xRtuvafNw5meCW3j vREtR9U37SlxMaUEWhmVYukJfUklpB4ojTikIbTKReV7CZOfXQpIVHnOmPE0K0sCceHK DxnsAzuHaPaayazlnAs+mXaZNMPjiMQ2gqlPzio/OOdOwJ7sDrTKaPCYq0crkKMgUO/D AiAw== X-Gm-Message-State: AOAM531lFniydwLJ+4T7oJX6JyCEhDMVf0uXM30F0aD7tQ0vtuVO5Tk5 rI7tj4lbO+3le5TkshP+Vr/WqRxyNdLVjA== X-Google-Smtp-Source: ABdhPJyEO3QudRrp6xP1Bm2wA35iP0fXS0G/AWa1O93sNla257j/xeyQyl+zb1dHO7ERtZ7YXCjhPA== X-Received: by 2002:a2e:8881:: with SMTP id k1mr19642389lji.443.1630307690353; Mon, 30 Aug 2021 00:14:50 -0700 (PDT) Received: from localhost (109-252-93-92.nat.spd-mgts.ru. [109.252.93.92]) by smtp.gmail.com with ESMTPSA id m1sm648090lfc.144.2021.08.30.00.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Aug 2021 00:14:49 -0700 (PDT) From: Andrew Tropin In-Reply-To: <87r1edvown.fsf@yoctocell.xyz> References: <87o89owoi0.fsf@trop.in> <87r1edvown.fsf@yoctocell.xyz> Date: Mon, 30 Aug 2021 10:14:46 +0300 Message-ID: <87lf4j8kux.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2021-08-28 12:34, Xinglu Chen wrote: > [ Debbugs wasn=E2=80=99t Cc=E2=80=99d in the previous message ] > Oops) > > On Mon, Aug 23 2021, Andrew Tropin wrote: > >> On 2021-08-16 16:12, Xinglu Chen wrote: >> >>> * gnu/packages/mail.scm (notmuch)[outputs]: Add =E2=80=98emacs=E2=80=99= output >>> [arguments]<#:modules>: Add (guix build emacs-utils). >>> <#:phases>{configure}: Use the =E2=80=98emacs=E2=80=99 output. >>> {make-autoloads}: Modify the default =E2=80=98make-autoloads=E2=80=99 p= hase to use the =E2=80=98emacs=E2=80=99 >>> output. >>> --- >>> gnu/packages/mail.scm | 16 +++++++++++++--- >>> 1 file changed, 13 insertions(+), 3 deletions(-) >>> >>> diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm >>> index ccf44b7cf3..bbc616f6f5 100644 >>> --- a/gnu/packages/mail.scm >>> +++ b/gnu/packages/mail.scm >>> @@ -1337,7 +1337,8 @@ invoking @command{notifymuch} from the post-new h= ook.") >>> (arguments >>> `(#:modules ((guix build gnu-build-system) >>> ((guix build emacs-build-system) #:prefix emacs:) >>> - (guix build utils)) >>> + (guix build utils) >>> + (guix build emacs-utils)) >>> #:imported-modules (,@%gnu-build-system-modules >>> (guix build emacs-build-system) >>> (guix build emacs-utils)) >>> @@ -1355,7 +1356,8 @@ invoking @command{notifymuch} from the post-new h= ook.") >>> (setenv "CONFIG_SHELL" (which "sh")) >>>=20=20 >>> (let* ((out (assoc-ref outputs "out")) >>> - (elisp (emacs:elpa-directory out))) >>> + (emacs (assoc-ref outputs "emacs")) >>> + (elisp (emacs:elpa-directory emacs))) >>> (invoke "./configure" >>> (string-append "--prefix=3D" out) >>> (string-append "--emacslispdir=3D" eli= sp) >>> @@ -1373,7 +1375,14 @@ invoking @command{notifymuch} from the post-new = hook.") >>> (substitute* (find-files "test" "\\.sh$") >>> (("/bin/sh") (which "sh"))))) >>> (add-after 'install 'make-autoloads >>> - (assoc-ref emacs:%standard-phases 'make-autoloads)= )))) >>> + (lambda* (#:key outputs inputs #:allow-other-keys) >>> + (let* ((emacs (string-append (assoc-ref inputs "= emacs") "/bin/emacs")) >>> + (out (assoc-ref outputs "emacs")) >>> + (elpa-name-ver ((@@ (guix build emacs-bui= ld-system) >>> + store-directory->elpa= -name-version) out)) >>> + (elpa-name (package-name->name+version el= pa-name-ver)) >>> + (el-dir (emacs:elpa-directory out))) >>> + (emacs-generate-autoloads elpa-name el-dir))))= ))) >>> (native-inputs >>> `(("bash-completion" ,bash-completion) >>> ("emacs" ,emacs-no-x) ; -minimal lacks libxml, needed for so= me tests >>> @@ -1394,6 +1403,7 @@ invoking @command{notifymuch} from the post-new h= ook.") >>> ("talloc" ,talloc) >>> ("xapian" ,xapian) >>> ("zlib" ,zlib))) >>> + (outputs '("out" "emacs")) >>> (home-page "https://notmuchmail.org/") >>> (synopsis "Thread-based email index, search, and tagging") >>> (description >> >> The separate output is ok, but I think making a separate emacs-notmuch >> package looks more consistent. We can inherit it from notmuch package >> to be sure that the packages are built from the same source code. > > 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-ne= xt-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 isn= =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 bu= t 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. 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. The separate output can work, but a separate package looks better to me. P.S. I know that there are some emacs packages in Guix already, which doesn't use emacs-build-system, but I think we should keep that number as low as possible and ideally to make it equal to 0 =3D) >=20 > The =E2=80=98notmuch=E2=80=99 package in Nixpkgs also uses multiple outpu= ts[1], which > I think makes sense. > > >> >> Thank you for working on this, the changes are good and useful!) > > You are welcome! :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmEshWYACgkQIgjSCVjB 3rBY5A/9Fb5hO8de8DXW+b3JXdba0EiIvzo8FItr6Vl25iW5y6RQSBDAAwHyq7oE +ej2oC/5o0GnC5ECYsxirHP3HTtRyG7DIQaw/MX2T9CVoCMa3sL2TaYfiqCfC074 tJJCMbTQ77P9ng3ZQNtAAzf3qn/sRgmPKPcmEsX+khY5J5sqtPD7FGo0j8R+wDvz W/9vdMpkvnQP1poBvZ2MSz+AQI9+iJo8cZjeX/zl2L1eUZLE+UYlHKe/77rSRqUG x5JHmoRTOO/1Qrg8XxcF0XVVWAPVsBTP2QwEnCTm2Pz4zUxNv9zl9xUThsztoWIJ u57dMiQIOae21DmWvQPZFEfBaeXGgs7feglCoxXiLzAtqLst7cSQXpRnU24cyLWW MElOtDq4B36XFOO9/ennf2hecyOgX36plZ62694h7wwxf2ha3iKVJtOUtlYgBhq8 W8p6cnNv1S0L+JGp8fC3xd/vxLc3w2sMFhmYqq/wH7Cv/exhM1/0X2v66QocB39y prvSOWqiLQ15nEkobB7xtjtxq1jVStTTAZWQKPPd6YlYn8p1NBI8UKYCeHK7GjP1 8Y5XUldymU0BgimzgqrQC/Aw+v1Jy+f27xz4z/v9iupYHFUiz42RMk8kLB/qgk/1 EjHswkGE/hotsbkYZvhlztUtEMZuVSkzjsQ5xuDS82uZXpv22B8= =vYqN -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Aug 20 01:20:02 2025 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: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Aug 2021 13:34: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: Andrew Tropin Cc: 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163033044015271 (code B ref 50077); Mon, 30 Aug 2021 13:34:01 +0000 Received: (at 50077) by debbugs.gnu.org; 30 Aug 2021 13:34:00 +0000 Received: from localhost ([127.0.0.1]:58480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKhQF-0003yD-LR for submit@debbugs.gnu.org; Mon, 30 Aug 2021 09:33:59 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:57798 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKhQA-0003xq-NX for 50077@debbugs.gnu.org; Mon, 30 Aug 2021 09:33:58 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630330425; bh=ZxjcsrC+mMg9SqzXvJGk+hkrpKD/Hq4klRwbGUwgRU0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=JMgL5WXAxnU4KH9MvJLQ0m1YL6CHcm1ZOnZSTF63hMEmoeby0QthEk3o1o8ewtW1M VYf5x+qurlpUSkR7qMu7tgeDgnYtGykMSH12QviQPMvC6+2mUFVH2gSj/EOQ3jJb1R T6DcHSNAqPCP2rKlRi6fzxpW9KdO+/2fF8IByPj0= In-Reply-To: <87lf4j8kux.fsf@trop.in> References: <87o89owoi0.fsf@trop.in> <87r1edvown.fsf@yoctocell.xyz> <87lf4j8kux.fsf@trop.in> Date: Mon, 30 Aug 2021 15:33:32 +0200 Message-ID: <87r1ebm503.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 =?UTF-8?Q?=E2=80=9Cregular=E2=80=9D?= package, e.g., =?UTF-8?Q?=E2=80=98emacs-n?= [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 =?UTF-8?Q?=E2=80=9Cregular=E2=80=9D?= package, e.g., =?UTF-8?Q?=E2=80=98emacs-n?= [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-n= ext-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 isn= =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 b= ut 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 p= ackages 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=98notmuc= h=E2=80=99 package still include notmuch.el, or should the Elisp stuff only be in =E2=80=98emacs-notmuch=E2=80=99? > 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 usef= ul this will be for most people. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmEs3iwVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5LCEQAJhsIHTuXqy8Wo69MC3D3nnv//SX ax6sRTEg/rgElWEzKxNo6ren+Srk9p9pZCMn8NUgbRtPQsksd6X1jtjwxikFrpUp P4e5gMTDF/EytPGZRG7KmocueqMELa2MAc7WOrZMI5Dhe4sTB1q0O1C+/47d/nKY fNMK+ZHH7IhErzUNQ8bxcfXWFnsJ3XLa6cUSQ0qMKoWC7hHuPexIJjleM31IUg4/ zmp9SsZSyc7VpNg3wXX15vd5O8s8HkyfgeM/4Pd5dxer39xChZwvMujA8ZVFsak3 KOuCVdL37dYK2Bin8+o61EWZ4GffHUPRKNCL5slajOCVbb2z2JL7qu4JMT5BK7B9 yXvjiYqTwrtBpGejv6FoWRlwY2Dnx6Gpoteur3fa4XaY9pYvTC3L1ZZfvfqMbqXv nFto9nkeixuvhyQYAe3QBAiOxg77GkhpOcXZIttLPs9Zu/672/pf5EuJRpO3pfne eEpWbkldhwfoNc1zCdD151zNbhGjfcKvuCWY0exlrY70QyrC1swVlQOs89wyN+eB 5h4q6ydBA91m8nFahb4HmbyJ8TXcmgLm+fFXIZBaYnjOVj2MQwdETZhPgBwV1myx YqUmdZEgKGI1H7CRSVDyaLB2QGcCJupP7bk5HL9C7LonoVyGvbmnpOS2uCwEPTGU /ANxAlOx+lOYfDP2 =3x6X -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Aug 20 01:20:02 2025 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-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 (-) --=-=-= 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----- --=-=-=-- From unknown Wed Aug 20 01:20:02 2025 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: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 12:06: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: Andrew Tropin Cc: 50077@debbugs.gnu.org, guix-devel@gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.16304979518699 (code B ref 50077); Wed, 01 Sep 2021 12:06:01 +0000 Received: (at 50077) by debbugs.gnu.org; 1 Sep 2021 12:05:51 +0000 Received: from localhost ([127.0.0.1]:36543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLP03-0002GF-8U for submit@debbugs.gnu.org; Wed, 01 Sep 2021 08:05:51 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:59154 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLP01-0002Fy-Mp for 50077@debbugs.gnu.org; Wed, 01 Sep 2021 08:05:50 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630497942; bh=if/U+kW3IFVU9TroPuUX4TzHpGAYCuKIAQyJihLCD+4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=hQPKsdBlXRiiOm322L2uJ/EqQREvRw+EjMucECNyeeIto6ab+rFevIYE69clhpRKY bVdY/RIFaZqyjzPRppugOx8LukueJaBslIk2fyT8C2SpBPAJ/qIzqnaKmaG0KgBVA6 mxftW9ISMrt0HcaJyt/5OUJBG8RivY3leBfKN7xU= In-Reply-To: <8735qozkt0.fsf@trop.in> References: <87o89owoi0.fsf@trop.in> <87r1edvown.fsf@yoctocell.xyz> <87lf4j8kux.fsf@trop.in> <87r1ebm503.fsf@yoctocell.xyz> <8735qozkt0.fsf@trop.in> Date: Wed, 01 Sep 2021 14:05:40 +0200 Message-ID: <874kb4lcvf.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Sep 01 2021, Andrew Tropin wrote: > 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 u [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Sep 01 2021, Andrew Tropin wrote: > 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 u [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Sep 01 2021, Andrew Tropin wrote: > 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 i= sn=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 achiev= e, >>>> 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=98not= much=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. Should this apply to other packages that contains Elisp stuff too, or is it specific to =E2=80=98notmuch=E2=80=99? Cc=E2=80=99ing guix-devel to see what other people think before we start breaking people=E2=80=99s setups. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmEvbJQVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x56t8P/2kqL4vYvy0B4xBoUNey+oW24dCj 5FDMDgdn8aPYzuwBIoU6P68tRL6dTu3QOVxTwosJxs6/pR0GpiK/CgJLhBlVFgSr pRIZRUB53YUv2m8vjmUTm4ImwDGAzqCaTPINQlkq6IDKBgn709A951IUs15dXBGQ U3Skb5GwLM5BK2Em9ZHhVz6K/x5U5GF/RLqkQFftqRhl9i8pavWGFbJq3YKUeyB8 qdGbxM+TLOmR0c63JEhqtmXnS918PYJREaNSJF79dBSsEp6BGyz/mm6dXPzlLSJ2 zhfjDcBqL5CyIyuHidV+WeqrqjZ3DGVeqBe6foTfTIqcXqe6Kka95CEJtbs+Ooch rdoHJSTF+ITogaWd8T+HxwR9QjBv8eZZM2gv4I/GRsq/HsB5rrGssb2tKupM1pJm +BZ5ZfC1C08KAvMxYWrrxPQ8So8B/oEVSo7p72ZD09bfS7x9xxQzH8Lvf9H7o26m avkqVlLjhehprCYWsrrUFcsuJu3ukEGXotvHp64L+2Ij9hBORekqPKXzR/nZAVEA PN8FVLh2pxtkv+qOcRE5Kof4eS7uudPgUH4w2bLZ9n2zjvzrPuYmpvrkv67IbNcm QV7V4kdPP4AVAIUE30txDRewLtSa0cbeq+GpnDZDDA+miB2wGGyyxxj1H4vmmcct CE7hFP54QN9/ietW =uNAt -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Aug 20 01:20:02 2025 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: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 12:49:02 +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 , Andrew Tropin Cc: 50077@debbugs.gnu.org, guix-devel@gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163050051021835 (code B ref 50077); Wed, 01 Sep 2021 12:49:02 +0000 Received: (at 50077) by debbugs.gnu.org; 1 Sep 2021 12:48:30 +0000 Received: from localhost ([127.0.0.1]:36608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLPfH-0005g2-01 for submit@debbugs.gnu.org; Wed, 01 Sep 2021 08:48:30 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:36363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLPfB-0005fp-JI for 50077@debbugs.gnu.org; Wed, 01 Sep 2021 08:48:25 -0400 Received: from nijino.local (194-118-34-199.adsl.highway.telekom.at [194.118.34.199]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4H03kn71ssz3wmD; Wed, 1 Sep 2021 14:48:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1630500498; bh=Y8NogQkiPVwyRkIkeSffdxt+c3aAzHnygUNJThxaSII=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Xtf4p01DtyWhdFMYW6bjoBXRwZWusdzqIDR7WzqhBpBK0Qb/00XEKbVk2Yz/362w2 bEFHWekfbNQ6rPGZws9H4BGlQH3kcN2/UJIAhyi3ACx0gYnpEp+zhCxRlzlGeEveNq FzxZdxWh8i1E49S6eOcB69H8lbztKwA1k2C+XYtM= Message-ID: <456243eca955ecc83b26663ed4e7e22d5170f03d.camel@student.tugraz.at> From: Liliana Marie Prikler Date: Wed, 01 Sep 2021 14:48:17 +0200 In-Reply-To: <874kb4lcvf.fsf@yoctocell.xyz> References: <87o89owoi0.fsf@trop.in> <87r1edvown.fsf@yoctocell.xyz> <87lf4j8kux.fsf@trop.in> <87r1ebm503.fsf@yoctocell.xyz> <8735qozkt0.fsf@trop.in> <874kb4lcvf.fsf@yoctocell.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.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: -3.3 (---) Am Mittwoch, den 01.09.2021, 14:05 +0200 schrieb Xinglu Chen: > > 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. > > Should this apply to other packages that contains Elisp stuff too, or > is it specific to ‘notmuch’? > > Cc’ing guix-devel to see what other people think before we start > breaking people’s setups. :-) In my personal opinion providing a separate package (perhaps one using emacs-build-system) is to be preferred as per the principle of least surprise. However, in some situations we might want to hold back on that, e.g. if providing an extra emacs package would entail propagating the original package just because. On current master, there's quite a number of packages that require mixing emacs-build-system into something else. Reducing this number would make changes to emacs-build-system cause less breakages, some of which we've seen in the past and some of which could possibly happen in the future, if e.g. post native-compilation we realize that we need an extra phase to deal with . TL;DR: I'm generally in favor of branching emacs support packages off, even if origins are to be inherited. Regards From unknown Wed Aug 20 01:20:02 2025 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: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 13:54: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 , Andrew Tropin Cc: 50077@debbugs.gnu.org, guix-devel@gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163050439928184 (code B ref 50077); Wed, 01 Sep 2021 13:54:01 +0000 Received: (at 50077) by debbugs.gnu.org; 1 Sep 2021 13:53:19 +0000 Received: from localhost ([127.0.0.1]:36717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQg2-0007KV-LR for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:53:19 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:40777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQfm-0007Jo-Fv for 50077@debbugs.gnu.org; Wed, 01 Sep 2021 09:53:17 -0400 Received: by mail-wm1-f51.google.com with SMTP id x2-20020a1c7c02000000b002e6f1f69a1eso4831072wmc.5 for <50077@debbugs.gnu.org>; Wed, 01 Sep 2021 06:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=RUCAruPRVD144TqSJE99MrE/xqw0KMA4y+igVHhxaIY=; b=O3QNIWBxQdpXRoi6VZPyZQ65E+4g5Bx7uchsef5eImmH62JQwmWmh+boP5vpAvnqKR kfeEh4TZp77LxvH5Qb42O9lP1Jb/2MDXsAg0rvf8/i5P6k9rW1g1fh3vgr7GqOouWSq1 1fItynv0JObiJaw+26tsd4Se2DZnKJ7tOS3hwPiZlK69uc4fK4NroVIQbYyc48lrmWbR YPQgtNzPqDBpvOaSay2gGPNVxuhGY4UwbdfAwzZQVo79HrKUmI09hN3+5saZs17lQihj +md0V2qJNimm9O91VynHShdtC8ZmjUafDQh4gDnozmMabJFPVHMi0VOZkcJlSYUe5In5 lCQQ== 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:content-transfer-encoding; bh=RUCAruPRVD144TqSJE99MrE/xqw0KMA4y+igVHhxaIY=; b=DitiMVUf44xGRWoNeDdK4RIRzwfZjvj10++a0Ua5Cw5ezqXgaqH0VaqnyQrRoswFFm exMVHrT/hBijTKoleRG6QjC9oas8RFjEK/3ipj8LRxRxXSnA0ZBNtAUIgrtKKKK1+Y27 rvvkPaMittQFN+72C/mxJWIgNpiWLwCrwIHDzCUeTD58jpsfBXuCPSTEThpBExdaArIo 2ZIN2ww8SwxUIM5FAFw1sGtto7tmQvIDbZd0AnksD56WwPQC52A8TL4a1nVXJLAFxC09 sFIZNt0vLE1LdmTd5Setm+753Bp4CL7Xkm8i1uFgB1QlL4wLqzQUvdkg8h41kONi32XT E5Ow== X-Gm-Message-State: AOAM533qmbjRSVbi/dSxsZ9NRF7fWo3yrtrAPq6Zu6aLGH4c3w50KPe7 w6v3MOLBgTl2FWBMxHreR0g= X-Google-Smtp-Source: ABdhPJzGMuLkN6Bus173fSKOIVB1JL8hcYDSquN2VFjBVZlxVO40lF/kzekqUmY1ADsTs9yw8X0OuQ== X-Received: by 2002:a05:600c:3b15:: with SMTP id m21mr9942549wms.162.1630504376596; Wed, 01 Sep 2021 06:52:56 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id o2sm16550099wrh.13.2021.09.01.06.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 06:52:56 -0700 (PDT) From: zimoun In-Reply-To: <874kb4lcvf.fsf@yoctocell.xyz> References: <87o89owoi0.fsf@trop.in> <87r1edvown.fsf@yoctocell.xyz> <87lf4j8kux.fsf@trop.in> <87r1ebm503.fsf@yoctocell.xyz> <8735qozkt0.fsf@trop.in> <874kb4lcvf.fsf@yoctocell.xyz> Date: Wed, 01 Sep 2021 15:52:01 +0200 Message-ID: <86mtowo132.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On Wed, 01 Sep 2021 at 14:05, Xinglu Chen wrote: > =?UTF-8?Q?Cc=E2=80=99ing?= guix-devel to see what other people think before we start > breaking =?UTF-8?Q?people=E2=80=99s?= setups. :-) Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 T_SPF_TEMPERROR SPF: test of record failed (temperror) 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, 01 Sep 2021 at 14:05, Xinglu Chen wrote: > Cc=E2=80=99ing guix-devel to see what other people think before we start > breaking people=E2=80=99s setups. :-) I agree with this Andrew=E2=80=99s comment: P.S. I know that there are some emacs packages in Guix already, whi= ch doesn't use emacs-build-system, but I think we should keep that num= ber as low as possible and ideally to make it equal to 0 =3D) =20=20=20=20=20=20=20=20 If I do: guix install emacs-next notmuch then there is no guarantee that =E2=80=9CM-x notmuch=E2=80=9D will work. B= ecause =E2=80=99notmuch.el=E2=80=99 is byte-compiled using =E2=80=99emacs-no-x=E2= =80=99. The issue is that some Emacs packages rely on =E2=80=99emacs-minimal=E2=80=99, others on =E2= =80=99emacs-no-x=E2=80=99 as input, others on other Emacs VM variant, therefore the transformation guix build -m manifest.scm --with-input=3Demacs-minimal=3Demacs-next will not work, as pointed by Nicolas here [1]. Well, you will tell me that =E2=80=99outputs=E2=80=99 does not change much the issue. :-) For sure= , but IMHO having Emacs packages using =E2=80=99emacs-build-system=E2=80=99 eases the = write of generic transformation. Well, there is enough corner cases with Emacs packages using =E2=80=99emacs-build-system=E2=80=99 which rewriting their = =E2=80=99#:emacs=E2=80=99 argument. Other speaking about Emacs packages using other build systems. Another point is, if I want to build =E2=80=99notmuch=E2=80=99 but I am not= an Emacs user, then: guix environment notmuch will download =E2=80=99emacs-no-x=E2=80=99 for nothing. When my network is= poor, I am unhappy. Although, it is already the case. :-) Well, this is something known, see: I am not convinced that several outputs help. And generally speaking, personally, I tend to prefer package inherit over several outputs. Matter of taste I guess. :-) Without speaking about cross-compilation. ;-) >From my point of view, I would split the package =E2=80=99notmuch=E2=80=99 = and propagate this new =E2=80=99notmuch=E2=80=99 package with a new =E2=80=99emacs-notmuc= h=E2=80=99 (if =E2=80=99notmuch.el=E2=80=99 requires it). Well, from my point of view, it would be how to improve the situation. :-) All the best, simon 1: From unknown Wed Aug 20 01:20:02 2025 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: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 23:42: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: Liliana Marie Prikler Cc: 50077@debbugs.gnu.org, guix-devel@gnu.org, Xinglu Chen , Andrew Tropin Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163053971325288 (code B ref 50077); Wed, 01 Sep 2021 23:42:01 +0000 Received: (at 50077) by debbugs.gnu.org; 1 Sep 2021 23:41:53 +0000 Received: from localhost ([127.0.0.1]:39186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLZrd-0006Zo-2K for submit@debbugs.gnu.org; Wed, 01 Sep 2021 19:41:53 -0400 Received: from zancanaro.com.au ([45.76.117.151]:42018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLZrb-0006Zg-LE for 50077@debbugs.gnu.org; Wed, 01 Sep 2021 19:41:52 -0400 Received: by zancanaro.com.au (Postfix, from userid 116) id 8AAD4357B2; Wed, 1 Sep 2021 23:41:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on vultr X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Received: from golem (n114-78-12-98.bla3.nsw.optusnet.com.au [114.78.12.98]) by zancanaro.com.au (Postfix) with ESMTPSA id 324DC3578E; Wed, 1 Sep 2021 23:41:49 +0000 (UTC) References: <87o89owoi0.fsf@trop.in> <87r1edvown.fsf@yoctocell.xyz> <87lf4j8kux.fsf@trop.in> <87r1ebm503.fsf@yoctocell.xyz> <8735qozkt0.fsf@trop.in> <874kb4lcvf.fsf@yoctocell.xyz> <456243eca955ecc83b26663ed4e7e22d5170f03d.camel@student.tugraz.at> User-agent: mu4e 1.6.3; emacs 27.2 From: Carlo Zancanaro Date: Thu, 02 Sep 2021 09:25:32 +1000 Message-ID: <87sfynq2xm.fsf@zancanaro.id.au> In-reply-to: <456243eca955ecc83b26663ed4e7e22d5170f03d.camel@student.tugraz.at> MIME-Version: 1.0 Content-Type: text/plain; format=flowed 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 (-) On Wed, Sep 01 2021, Liliana Marie Prikler wrote: > TL;DR: I'm generally in favor of branching emacs support > packages off, even if origins are to be inherited. This is my preference, and there is precedent for this in Guix already. I know of emacs-protobuf-mode and emacs-erlang which are separate packages, but which reference the source of an existing package (with (package-source protobuf) and (package-source erlang), respectively). I like how easy it is to discover Emacs packages by looking for the emacs- prefix. Mu and notmuch already violate that prefix expectation, moving their elisp into a separate output would be further hiding the Emacs modes. Carlo From unknown Wed Aug 20 01:20:02 2025 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: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Sep 2021 16:15:02 +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: Carlo Zancanaro , Liliana Marie Prikler Cc: 50077@debbugs.gnu.org, guix-devel@gnu.org, Andrew Tropin Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.1630685696302 (code B ref 50077); Fri, 03 Sep 2021 16:15:02 +0000 Received: (at 50077) by debbugs.gnu.org; 3 Sep 2021 16:14:56 +0000 Received: from localhost ([127.0.0.1]:45807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMBqC-0008WT-3g for submit@debbugs.gnu.org; Fri, 03 Sep 2021 12:14:56 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:38628 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMBqA-0008WH-Ar for 50077@debbugs.gnu.org; Fri, 03 Sep 2021 12:14:55 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630685688; bh=sQf+bkPaeJQmcRO4QImNrPnMQxfQcCKeL5UKycssDp8=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=fPkjC2myFQwIQKOHgtH5x8cjFqVWQ7YVMcU7skEzGEqVsAIHCGiuWl8v4oli37+J1 58p5dzpPEbYYpntjJplQksvRhfSpIc9uhRMauB/GMAdLiRg0SjEJO3zWEAs3+kKLFz xieesboRjosUkkY6u+l6pVrqiBQTQzEsuQsNf9TE= In-Reply-To: <87sfynq2xm.fsf@zancanaro.id.au> References: <87o89owoi0.fsf@trop.in> <87r1edvown.fsf@yoctocell.xyz> <87lf4j8kux.fsf@trop.in> <87r1ebm503.fsf@yoctocell.xyz> <8735qozkt0.fsf@trop.in> <874kb4lcvf.fsf@yoctocell.xyz> <456243eca955ecc83b26663ed4e7e22d5170f03d.camel@student.tugraz.at> <87sfynq2xm.fsf@zancanaro.id.au> Date: Fri, 03 Sep 2021 18:14:42 +0200 Message-ID: <87lf4diqkt.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Thu, Sep 02 2021, Carlo Zancanaro wrote: > On Wed, Sep 01 2021, Liliana Marie Prikler wrote: >> TL;DR: I'm generally in favor of branching emacs support >> packages off, even if origins are to be inherited. > > This is my preference, and the [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Thu, Sep 02 2021, Carlo Zancanaro wrote: > On Wed, Sep 01 2021, Liliana Marie Prikler wrote: >> TL;DR: I'm generally in favor of branching emacs support >> packages off, even if origins are to be inherited. > > This is my preference, and the [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Sep 02 2021, Carlo Zancanaro wrote: > On Wed, Sep 01 2021, Liliana Marie Prikler wrote: >> TL;DR: I'm generally in favor of branching emacs support=20 >> packages off, even if origins are to be inherited. > > This is my preference, and there is precedent for this in Guix=20 > already. I know of emacs-protobuf-mode and emacs-erlang which are=20 > separate packages, but which reference the source of an existing=20 > package (with (package-source protobuf) and (package-source=20 > erlang), respectively). > > I like how easy it is to discover Emacs packages by looking for=20 > the emacs- prefix. Mu and notmuch already violate that prefix=20 > expectation, moving their elisp into a separate output would be=20 > further hiding the Emacs modes. > > Carlo Looks like there is consensus on the matter, unless someone objects, I will send an updated series that adds =E2=80=98emacs-notmuch=E2=80=99 inste= ad of adding an extra output to =E2=80=98notmuch=E2=80=99. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmEySfIVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x575YQAK807vIrOhJHCl6J932RmRV5JMVk HSGo/Aajbicxt0Mib3rezqmokqwEkXNnD9/G8oTWHeiRdHSLMXz1keGXm4QE3fzn L0bIbEq+Z/zQutD019753p1on09qo7hW5Dj+iAVf/+izq5smToY77q3E5YbD5tIy 0+9Y6TBhccCCUWnoNM3zNX9uXnhyVxCxgrs8aoPTrnVAYTbKXqEBNkFiNPR5YGP1 6uitxyLCuJKWrUd2tiyq+8qHEFjIY8ABBZXfwKGxshcOCN+5E3Oj34D0H+KX4M72 hVTaBxbhCl+zaL90/OqKrCP1f46gr+sWcmSQAlbCQigislbG1YCS319vyH5Vj4FA RFyU+kZGkOsQa4SGs5+b4mTvaAXJR745a1Y6haR15bcZ1OOPHpHDfPM3m80Bda4V mf1NWTuNEuktTm/sgulW/9Jib0VnGFiVGBn589Z9JyKlYhmc0IeHwTPeL/eJqJiL 15VO9TLAO3SsG4K5NbHpz2gBOo5/z3QBwQemlS96W8qHVFheMYTDjfVCoH6mop2U D8q9AGFIUslNoq5frE8mKHc11b1xIzVd3kdLIgODhItybjXDbexScUQHOay/KZNK Zg5qu4+frn95T/RbaSSgm9o5lu/IGYVe/T8UIHhWwlHenGmQixw12BLRsyQVWqpT 2x84MPsGRrHrXNKt =uOBD -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH v2 0/3] Improvements to Notmuch Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Sep 2021 09:42:02 +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: 50077@debbugs.gnu.org Cc: Andrew Tropin Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163074849610611 (code B ref 50077); Sat, 04 Sep 2021 09:42:02 +0000 Received: (at 50077) by debbugs.gnu.org; 4 Sep 2021 09:41:36 +0000 Received: from localhost ([127.0.0.1]:46640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSB6-0002l5-0U for submit@debbugs.gnu.org; Sat, 04 Sep 2021 05:41:36 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:60112 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSB3-0002kn-LI for 50077@debbugs.gnu.org; Sat, 04 Sep 2021 05:41:34 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630748485; bh=B8tJKEGBZpWn/H1q5w3cA439Rx4bPsAi/Gfm/egK5pw=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=TUC03YxUYlIMQn461WqLAYGQ3C1zc5EDdZTYUDWSSFNojCLIj0QYeilQrDTdhnFTl hhAiLt17ajqggwwXQgBTfUkKdlSJdL8y8Obv6QDCivYf05To6zNTLSLhAfJ3zYy/6n 2FpWKK/DU6Xvin2bBAARi28/UAiAVOUA468ZFsrI= In-Reply-To: References: Message-Id: Date: Sat, 04 Sep 2021 11:41:22 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Changes since v1: * Add separate =?UTF-8?Q?=E2=80=98emacs-notmuch=E2=80=99?= package instead of =?UTF-8?Q?=E2=80=98emacs=E2=80=99?= output, and adjust other Emacs packages accordingly. Xinglu Chen (3): gnu: notmuch: Build Texinfo manual. gnu: notmuch: Make cross-compilable. gnu: Add emacs-notmuch. Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Changes since v1: * Add separate =?UTF-8?Q?=E2=80=98emacs-notmuch=E2=80=99?= package instead of =?UTF-8?Q?=E2=80=98emacs=E2=80=99?= output, and adjust other Emacs packages accordingly. Xinglu Chen (3): gnu: notmuch: Build Texinfo manual. gnu: notmuch: Make cross-compilable. gnu: Add emacs-notmuch. Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Changes since v1: * Add separate =E2=80=98emacs-notmuch=E2=80=99 package instead of =E2=80=98= emacs=E2=80=99 output, and adjust other Emacs packages accordingly. Xinglu Chen (3): gnu: notmuch: Build Texinfo manual. gnu: notmuch: Make cross-compilable. gnu: Add emacs-notmuch. gnu/packages/emacs-xyz.scm | 8 ++++-- gnu/packages/mail.scm | 57 +++++++++++++++++++++++--------------- 2 files changed, 40 insertions(+), 25 deletions(-) base-commit: 9540323458de87b0b8aa421e449a4fe27af7c393 =2D-=20 2.33.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmEzP0IVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5psoP/0/2qZ00ExPAZRgUvFHuBOTmGSSr VCaD3zeXvScyLYJcIYuOBljGrzfw2kAEOcsDztNmJ+tUXdSOz/zy6XF/sMEprpPJ BYhxUc3HIkQS3qaGZyMaUsC/A9yigaKlWc4rAYeernC1JHdzxHAy4EMxorp5TagN zmXcwvPRWAAjGXxlDp2oLGhSEgulEWH6lmrHjkcZq7HIigcM8pMdrH0ICemXOpd0 +8vSjyG8oBX9sJoCGyNEyAVAKQP7FZwZWaLcnCdJ0V/Q5N1q0mV0mAaUF84ZbAyS ZY2nJSife5YN+VsBX8PKnnXGVFDxfpgRdZD/DRBC21cCBAxZcMVtaZncmvAdbve/ TydLLXi4/6cFipAKoK8yF2POD92Gju19F33H2b2mwOG+qRWHpcZzHmpxWwF35arj m5rKBYFq3qDwfBmDJgrYijtA9ZMYbaKs9pUquNDPx9H2HZr/tUuocfU//VkzS4xy jxBdU375A5yzwOLulx1oDp4D0YX5Rld9USSm7jacD6IbZ7IaI0eJYVnxeTmamQwo buJMb78rkQoaOXmThjISh0JCIkbk4gUVG6ir/ladaJnBqLeeIbq6mJPfAdLpiFWe UcQUQDIUoTnFn9udacnkEvOsNZRuOGkvysabTdqAaMe5EmR5KhOLXj5LW4OxHlaS SRCeW6826zR/+svp =RSHY -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH v2 1/3] gnu: notmuch: Build Texinfo manual. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Sep 2021 09:42:02 +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: 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163074850410635 (code B ref 50077); Sat, 04 Sep 2021 09:42:02 +0000 Received: (at 50077) by debbugs.gnu.org; 4 Sep 2021 09:41:44 +0000 Received: from localhost ([127.0.0.1]:46643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSBE-0002lT-6H for submit@debbugs.gnu.org; Sat, 04 Sep 2021 05:41:44 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:60126 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSBC-0002lD-0p for 50077@debbugs.gnu.org; Sat, 04 Sep 2021 05:41:42 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630748496; bh=4ubAYvGRPuvW701rKIvOs1ToihUgwRI/ZOmx7k/5788=; h=From:To:Subject:In-Reply-To:References:Date; b=iy5nTl0+040zPqvI/mTEvGkSSEYw/jpGcWml3T4rO7du2o9pObm047xP7E2eWlFxu 4etVpVMTtbyKTcewfy4EReM1ENlnRTgiqUpgx2zlanA74W+iDDy6KdlJ5jCe9s1i4I jlqZFc3elXn/nQ2uRyWejENldSNG8/dqRJQNZU5I= In-Reply-To: References: Message-Id: Date: Sat, 04 Sep 2021 11:41:36 +0200 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[native-inputs]: Add 'texinfo'. --- gnu/packages/mail.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 87094cb9eb..eb141c5984 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1388,6 +1388,7 @@ invoking @command{notifymuc [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[native-inputs]: Add 'texinfo'. --- gnu/packages/mail.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 87094cb9eb..eb141c5984 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1388,6 +1388,7 @@ invoking @command{notifymuc [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * gnu/packages/mail.scm (notmuch)[native-inputs]: Add 'texinfo'. --- gnu/packages/mail.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 87094cb9eb..eb141c5984 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1388,6 +1388,7 @@ invoking @command{notifymuch} from the post-new hook.") ("python" ,python) ("python-docutils" ,python-docutils) ("sphinx" ,python-sphinx) + ("texinfo" ,texinfo) ;; The following are required for tests only. ("which" ,which) -- 2.33.0 From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH v2 2/3] gnu: notmuch: Make cross-compilable. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Sep 2021 09:42:02 +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: 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163074852110677 (code B ref 50077); Sat, 04 Sep 2021 09:42:02 +0000 Received: (at 50077) by debbugs.gnu.org; 4 Sep 2021 09:42:01 +0000 Received: from localhost ([127.0.0.1]:46646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSBV-0002m5-CX for submit@debbugs.gnu.org; Sat, 04 Sep 2021 05:42:01 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:60138 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSBT-0002lr-OE for 50077@debbugs.gnu.org; Sat, 04 Sep 2021 05:42:00 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630748514; bh=LD04NsVhj+b5zIF7TkKC/+G7vRcknqVQj0VjtwXI9Ww=; h=From:To:Subject:In-Reply-To:References:Date; b=I1FWcBCCTY9yikgDz7Q3MTp85Hyx5Ccwspw5QoU0DMNe70F0qXr18+VsZG0WSFO15 eU5cu3lL4fGFPXwoi6VI37k35EEe6vpILdE55yEnh9D05LWsvOpf/u2Qo92CGfLe+L fb0rB9+ddj+CTYgiTRdCymhP9Txh3bfrjX3y+ihQ= In-Reply-To: References: Message-Id: Date: Sat, 04 Sep 2021 11:41:53 +0200 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[arguments]<#:phases>: Use 'cc-for-target' instead of 'gcc'. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index eb141c5984..173982cb12 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1358, 7 +1358, 7 @@ invoking @command{notifymuc [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[arguments]<#:phases>: Use 'cc-for-target' instead of 'gcc'. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index eb141c5984..173982cb12 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1358,7 +1358,7 @@ invoking @command{notifymuc [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * gnu/packages/mail.scm (notmuch)[arguments]<#:phases>: Use 'cc-for-target' instead of 'gcc'. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index eb141c5984..173982cb12 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1358,7 +1358,7 @@ invoking @command{notifymuch} from the post-new hook.") (("/bin/sh") (which "sh"))))) (replace 'configure (lambda* (#:key outputs #:allow-other-keys) - (setenv "CC" "gcc") + (setenv "CC" ,(cc-for-target)) (setenv "CONFIG_SHELL" (which "sh")) (let* ((out (assoc-ref outputs "out")) @@ -1375,7 +1375,7 @@ invoking @command{notifymuch} from the post-new hook.") (("\\$NOTMUCH_GMIME_X509_CERT_VALIDITY") "0")))) (add-before 'check 'prepare-test-environment (lambda _ - (setenv "TEST_CC" "gcc") + (setenv "TEST_CC" ,(cc-for-target)) ;; Patch various inline shell invocations. (substitute* (find-files "test" "\\.sh$") (("/bin/sh") (which "sh"))))) -- 2.33.0 From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH v2 3/3] gnu: Add emacs-notmuch. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Sep 2021 09:43:02 +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: 50077@debbugs.gnu.org Cc: Andrew Tropin Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163074856410784 (code B ref 50077); Sat, 04 Sep 2021 09:43:02 +0000 Received: (at 50077) by debbugs.gnu.org; 4 Sep 2021 09:42:44 +0000 Received: from localhost ([127.0.0.1]:46652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSCB-0002ns-Ka for submit@debbugs.gnu.org; Sat, 04 Sep 2021 05:42:44 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:60162 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSC8-0002nb-7O for 50077@debbugs.gnu.org; Sat, 04 Sep 2021 05:42:42 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630748554; bh=WPDRUSYNZIiXuXo41CgmHUrytseWafwFlkYsdu1IJDk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=BlyblS3Owd6pLS1AHHAii7BT/19ubTcUwEkdYl5SFudp4oei8C7xbkRZBCqQBwm+i YX5K/K0kmhZEU/mNDGkQN0TyIyjbvF3B+0tMIYQBH59XKlMvvN4f7WbWEOintadg+g SyTADndZG4vBXE9Nzq4BjL5kll2npZ08yLai92bY= In-Reply-To: References: Message-Id: Date: Sat, 04 Sep 2021 11:42:33 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[arguments]: Remove Emacs-related stuff. * gnu/packages/emacs-xyz.scm (emacs-consult-notmuch)[propagated-inputs]: Add =?UTF-8?Q?=E2=80=98emacs-notmuch=E2=80=99.?= (emacs-counsel-notmuch)[prop [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/mail.scm (notmuch)[arguments]: Remove Emacs-related stuff. * gnu/packages/emacs-xyz.scm (emacs-consult-notmuch)[propagated-inputs]: Add =?UTF-8?Q?=E2=80=98emacs-notmuch=E2=80=99.?= (emacs-counsel-notmuch)[prop [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * gnu/packages/mail.scm (notmuch)[arguments]: Remove Emacs-related stuff. * gnu/packages/emacs-xyz.scm (emacs-consult-notmuch)[propagated-inputs]: Add =E2=80=98emacs-notmuch=E2=80=99. (emacs-counsel-notmuch)[propagated-inputs]: Use =E2=80=98emacs-notmuch=E2= =80=99 instead of =E2=80=98notmuch=E2=80=99. (emacs-helm-notmuch): Likewise. (emacs-notmuch-maildir): Likewise. --- gnu/packages/emacs-xyz.scm | 8 +++--- gnu/packages/mail.scm | 52 +++++++++++++++++++++++--------------- 2 files changed, 37 insertions(+), 23 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 030809f5ac..67ba8bf523 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -8304,7 +8304,7 @@ list of candidates.") (build-system emacs-build-system) (propagated-inputs `(("emacs-consult" ,emacs-consult) - ("notmuch" ,notmuch))) + ("emacs-notmuch" ,emacs-notmuch))) (home-page "https://codeberg.org/jao/consult-notmuch") (synopsis "Search and preview Notmuch emails using Consult") (description @@ -9490,6 +9490,8 @@ queries using counsel.") `(("emacs-counsel" ,emacs-counsel) ("notmuch" ,notmuch) ("emacs-s" ,emacs-s))) + (propagated-inputs + `(("emacs-notmuch" ,emacs-notmuch))) (home-page "https://github.com/fuxialexander/counsel-notmuch") (synopsis "Search emails in Notmuch asynchronously with Ivy") (description @@ -23952,7 +23954,7 @@ workspaces with a LSP-compliant server running.") (build-system emacs-build-system) (propagated-inputs `(("emacs-helm" ,emacs-helm) - ("notmuch" ,notmuch))) + ("emacs-notmuch" ,emacs-notmuch))) (synopsis "Search emails with Emacs Notmuch and Helm") (description "This package can be used to search emails in Emacs, searching result @@ -23975,7 +23977,7 @@ real search.") "0pmikf1djkr07067nkgmdcxyn7l7ibswx6qlnai8v1v51f9h1g9q")))) (build-system emacs-build-system) (propagated-inputs - `(("notmuch" ,notmuch))) + `(("emacs-notmuch" ,emacs-notmuch))) (home-page "https://git.sr.ht/~tarsius/notmuch-maildir") (synopsis "Visualize maildirs as a tree") (description diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 173982cb12..729e47cb95 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -167,6 +167,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system guile) + #:use-module (guix build-system emacs) #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) @@ -1342,31 +1343,18 @@ invoking @command{notifymuch} from the post-new hoo= k.") "1myylb19hj5nb1vriqng252vfjwwkgbi3gxj93pi2q1fzyw7w2lf")))) (build-system gnu-build-system) (arguments - `(#:modules ((guix build gnu-build-system) - ((guix build emacs-build-system) #:prefix emacs:) - (guix build utils)) - #:imported-modules (,@%gnu-build-system-modules - (guix build emacs-build-system) - (guix build emacs-utils)) - #:make-flags + `(#:make-flags (list "V=3D1" ; verbose test output "NOTMUCH_TEST_TIMEOUT=3D1h") ; don't fail on slow machines #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-notmuch-lib.el - (lambda _ - (substitute* "emacs/notmuch-lib.el" - (("/bin/sh") (which "sh"))))) (replace 'configure (lambda* (#:key outputs #:allow-other-keys) (setenv "CC" ,(cc-for-target)) (setenv "CONFIG_SHELL" (which "sh")) - - (let* ((out (assoc-ref outputs "out")) - (elisp (emacs:elpa-directory out))) + (let* ((out (assoc-ref outputs "out"))) (invoke "./configure" (string-append "--prefix=3D" out) - (string-append "--emacslispdir=3D" elisp) - (string-append "--emacsetcdir=3D" elisp)))= )) + "--without-emacs")))) (add-before 'check 'disable-failing-tests ;; FIXME: Investigate why these tests are failing, ;; and try removing this for notmuch versions > 0.31. @@ -1378,12 +1366,9 @@ invoking @command{notifymuch} from the post-new hook= .") (setenv "TEST_CC" ,(cc-for-target)) ;; Patch various inline shell invocations. (substitute* (find-files "test" "\\.sh$") - (("/bin/sh") (which "sh"))))) - (add-after 'install 'make-autoloads - (assoc-ref emacs:%standard-phases 'make-autoloads))))) + (("/bin/sh") (which "sh")))))))) (native-inputs `(("bash-completion" ,bash-completion) - ("emacs" ,emacs-no-x) ; -minimal lacks libxml, needed for some t= ests ("pkg-config" ,pkg-config) ("python" ,python) ("python-docutils" ,python-docutils) @@ -1391,6 +1376,7 @@ invoking @command{notifymuch} from the post-new hook.= ") ("texinfo" ,texinfo) =20 ;; The following are required for tests only. + ("emacs" ,emacs-no-x) ; -minimal lacks libxml, needed for some t= ests ("which" ,which) ("dtach" ,dtach) ("gnupg" ,gnupg) @@ -1409,6 +1395,32 @@ invoking @command{notifymuch} from the post-new hook= .") ing, and tagging large collections of email messages.") (license license:gpl3+))) =20 +(define-public emacs-notmuch + (package + (inherit notmuch) + (name "emacs-notmuch") + (build-system emacs-build-system) + (native-inputs '()) + (inputs + `(("notmuch" ,notmuch))) + (arguments + `(#:exclude (cons* "make-deps.el" "rstdoc.el" %default-exclude) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "emacs"))) + (add-after 'chdir 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (let ((notmuch (assoc-ref inputs "notmuch"))) + (substitute* "notmuch-lib.el" + (("\"notmuch\"") + (string-append "\"" notmuch "/bin/notmuch\""))))))))) + (synopsis "Run Notmuch within Emacs") + (description + "This package provides an Emacs-based interface to the Notmuch mail +system."))) + (define-public notmuch-addrlookup-c (package (name "notmuch-addrlookup-c") --=20 2.33.0 From unknown Wed Aug 20 01:20:02 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Xinglu Chen Subject: bug#50077: closed (Re: [bug#50077] [PATCH v2 0/3] Improvements to Notmuch) Message-ID: References: <87a6kf63hm.fsf@nicolasgoaziou.fr> X-Gnu-PR-Message: they-closed 50077 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 50077@debbugs.gnu.org Date: Tue, 14 Sep 2021 07:07:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1631603222-5314-1" This is a multi-part message in MIME format... ------------=_1631603222-5314-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50077: [PATCH 0/3] Various improvements to Notmuch which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 50077@debbugs.gnu.org. --=20 50077: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50077 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1631603222-5314-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50077-done) by debbugs.gnu.org; 14 Sep 2021 07:06:08 +0000 Received: from localhost ([127.0.0.1]:47378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ2W7-0001MZ-Qf for submit@debbugs.gnu.org; Tue, 14 Sep 2021 03:06:07 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:45577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ2W5-0001M4-Gg for 50077-done@debbugs.gnu.org; Tue, 14 Sep 2021 03:06:06 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id A30C3FF818; Tue, 14 Sep 2021 07:05:58 +0000 (UTC) From: Nicolas Goaziou To: Xinglu Chen Subject: Re: [bug#50077] [PATCH v2 0/3] Improvements to Notmuch References: Date: Tue, 14 Sep 2021 09:05:57 +0200 In-Reply-To: (Xinglu Chen's message of "Sat, 04 Sep 2021 11:41:22 +0200") Message-ID: <87a6kf63hm.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, Xinglu Chen writes: > Xinglu Chen (3): > gnu: notmuch: Build Texinfo manual. > gnu: notmuch: Make cross-compilable. > gnu: Add emacs-notmuch. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.199 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.183.199 listed in wl.mailspike.net] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Debbugs-Envelope-To: 50077-done Cc: 50077-done@debbugs.gnu.org, Andrew Tropin 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: 0.3 (/) Hello, Xinglu Chen writes: > Xinglu Chen (3): > gnu: notmuch: Build Texinfo manual. > gnu: notmuch: Make cross-compilable. > gnu: Add emacs-notmuch. Applied. Thank you. Regards, -- Nicolas Goaziou ------------=_1631603222-5314-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Aug 2021 14:10:41 +0000 Received: from localhost ([127.0.0.1]:50661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdK5-0004pZ-6R for submit@debbugs.gnu.org; Mon, 16 Aug 2021 10:10:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:54754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdK1-0004pM-BM for submit@debbugs.gnu.org; Mon, 16 Aug 2021 10:10:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFdK1-0001VA-2x for guix-patches@gnu.org; Mon, 16 Aug 2021 10:10:37 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:42136 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFdJy-0001oN-VH for guix-patches@gnu.org; Mon, 16 Aug 2021 10:10:36 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1629123024; bh=6v5skwu7gD6DbPad4wihLv9J5wgLHyYCSzvPng8/uGo=; h=From:To:Subject:Date; b=jPwgnRq/Chj3iHvXq3508wvLrB8bJcc5WcJSrtyonQvtge0yP7mlMwmnTSnzHvMqM TpJclrM3J0cokaYE/IyY8v5CppcdNNSzuzTlloBd+l68emgCVEqTYAULlJAXHQBnRl ZlI4N2SoMt4kcTcKspVKFD81K2xnRN1wEXs5cHcA= To: guix-patches@gnu.org Subject: [PATCH 0/3] Various improvements to Notmuch X-Debbugs-Cc: Nicolas Goaziou , Andrew Tropin Message-Id: Date: Mon, 16 Aug 2021 16:10:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 30 X-Spam_score: 3.0 X-Spam_bar: +++ X-Spam_report: (3.0 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.588, PDS_OTHER_BAD_TLD=1.997, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Adding an extra ‘emacs’ output would allow one to propagate notmuch.el without propagating the Notmuch executable and libnotmuch. This was mentioned in . Xinglu Chen (3): gnu: notmuch: Add separate 'emacs' output. gnu: notmuch: Build Info manual. gnu: notmuch: Use 'cc-for-target' instead of hardcoding 'gcc'. Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] 0.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: submit 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: 0.2 (/) Adding an extra =E2=80=98emacs=E2=80=99 output would allow one to propagate= notmuch.el without propagating the Notmuch executable and libnotmuch. This was mentioned in . Xinglu Chen (3): gnu: notmuch: Add separate 'emacs' output. gnu: notmuch: Build Info manual. gnu: notmuch: Use 'cc-for-target' instead of hardcoding 'gcc'. gnu/packages/mail.scm | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) base-commit: 0fa49fd2a8f0d1d2c37ea276cc44d0d5adcea701 --=20 2.32.0 ------------=_1631603222-5314-1-- From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH v2 3/3] gnu: Add emacs-notmuch. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Sep 2021 07:24: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 , 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.16316041866767 (code B ref 50077); Tue, 14 Sep 2021 07:24:01 +0000 Received: (at 50077) by debbugs.gnu.org; 14 Sep 2021 07:23:06 +0000 Received: from localhost ([127.0.0.1]:47393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ2mX-0001l4-IK for submit@debbugs.gnu.org; Tue, 14 Sep 2021 03:23:05 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:38739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ2mU-0001kN-Lr for 50077@debbugs.gnu.org; Tue, 14 Sep 2021 03:23:03 -0400 Received: by mail-lj1-f173.google.com with SMTP id g14so22000878ljk.5 for <50077@debbugs.gnu.org>; Tue, 14 Sep 2021 00:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20150623.gappssmtp.com; s=20150623; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=g7t4/0WZb3PMCV87s5kaRHwRAhJWF08soAfddTZpMgg=; b=OwkykzIedHdFjec5sQZqIzp1c7d3HvDiEDyJWZI3jVi+JDD+SaRhvUhXdSHQtZMhDG fgshV1TLvwzwVAGuieDmOq0FlTUFMm2XybV6Ge1uJDwxA/h6i53UA7q9ObgLVBVkudOL IMexK8yh1hpTTGwuPYQKjVlhNOuRXOYs23UkKdEuiJepJAGGP/N/G5aESmUGaKotOJg1 TI5QL8lPLfkO4jZAliZ7Q8e2Iiyiz8NMfn4jh5umKtuazLDZF0vi00d8c45Hg/ekzmxX ZlweniHFJhRvn1CBRGDRiC0EP6UIgtwc6iDPrGJsxNG/+eOyun9Ip5OdrDPTton0VJIu BnOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=g7t4/0WZb3PMCV87s5kaRHwRAhJWF08soAfddTZpMgg=; b=MbDTYjLpBNAIj+NpV6TeQ+UjlXW2weiTeh914kMBN0Yj1jrtlWvK2avn+CZaBY6loZ oHGUJMtTGa2NPbpGEjC3NpMvWrpRzBTqpXo/QH3zJFcyioABy/McOaEL72SSgaeAidAr QFUSgAIJ2foPlu5HXizrBZ9rmxg7Yd4Ht7TsXFbG2lQGC9VxrlT5lgHA1Ibj5QCsojWu TSINAciJ64Wd3LK1crVjhVlk6vEqZZxZ+Rn94JDNf/nnd9ReStZuwYr32NIWG6yavlHc 1xwf80xKjUlUdSeW2kl443uAjjwyFnjnC+lIZtd6v5TdiV8+xq/SX+UvuK2MKI+tUfrc CH3Q== X-Gm-Message-State: AOAM530fuCX+B3TMkPdGrLicyKA+T1SGdX7D3/uFEv8MmCjdUhccCnm6 UrBcqX4hjUtUT32IhlXwySuztg== X-Google-Smtp-Source: ABdhPJweglwR5mtwhvQJupMTkRZRk8axV+Cm1ZZSiN2t8ASHyYysCAaL9govpvgM8Vm5zdsgaukh0A== X-Received: by 2002:a2e:8598:: with SMTP id b24mr13538400lji.209.1631604176340; Tue, 14 Sep 2021 00:22:56 -0700 (PDT) Received: from localhost (109-252-93-92.nat.spd-mgts.ru. [109.252.93.92]) by smtp.gmail.com with ESMTPSA id m15sm1037569lfg.59.2021.09.14.00.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 00:22:55 -0700 (PDT) From: Andrew Tropin In-Reply-To: References: Date: Tue, 14 Sep 2021 10:22:52 +0300 Message-ID: <878rzzmxir.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2021-09-04 11:42, Xinglu Chen wrote: > * gnu/packages/mail.scm (notmuch)[arguments]: Remove Emacs-related stuff. > * gnu/packages/emacs-xyz.scm (emacs-consult-notmuch)[propagated-inputs]: = Add > =E2=80=98emacs-notmuch=E2=80=99. > (emacs-counsel-notmuch)[propagated-inputs]: Use =E2=80=98emacs-notmuch=E2= =80=99 instead of > =E2=80=98notmuch=E2=80=99. > (emacs-helm-notmuch): Likewise. > (emacs-notmuch-maildir): Likewise. > --- > gnu/packages/emacs-xyz.scm | 8 +++--- > gnu/packages/mail.scm | 52 +++++++++++++++++++++++--------------- > 2 files changed, 37 insertions(+), 23 deletions(-) > > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm > index 030809f5ac..67ba8bf523 100644 > --- a/gnu/packages/emacs-xyz.scm > +++ b/gnu/packages/emacs-xyz.scm > @@ -8304,7 +8304,7 @@ list of candidates.") > (build-system emacs-build-system) > (propagated-inputs > `(("emacs-consult" ,emacs-consult) > - ("notmuch" ,notmuch))) > + ("emacs-notmuch" ,emacs-notmuch))) > (home-page "https://codeberg.org/jao/consult-notmuch") > (synopsis "Search and preview Notmuch emails using Consult") > (description > @@ -9490,6 +9490,8 @@ queries using counsel.") > `(("emacs-counsel" ,emacs-counsel) > ("notmuch" ,notmuch) > ("emacs-s" ,emacs-s))) > + (propagated-inputs > + `(("emacs-notmuch" ,emacs-notmuch))) > (home-page "https://github.com/fuxialexander/counsel-notmuch") > (synopsis "Search emails in Notmuch asynchronously with Ivy") > (description > @@ -23952,7 +23954,7 @@ workspaces with a LSP-compliant server running.") > (build-system emacs-build-system) > (propagated-inputs > `(("emacs-helm" ,emacs-helm) > - ("notmuch" ,notmuch))) > + ("emacs-notmuch" ,emacs-notmuch))) > (synopsis "Search emails with Emacs Notmuch and Helm") > (description > "This package can be used to search emails in Emacs, searching resu= lt > @@ -23975,7 +23977,7 @@ real search.") > "0pmikf1djkr07067nkgmdcxyn7l7ibswx6qlnai8v1v51f9h1g9q"))= )) > (build-system emacs-build-system) > (propagated-inputs > - `(("notmuch" ,notmuch))) > + `(("emacs-notmuch" ,emacs-notmuch))) > (home-page "https://git.sr.ht/~tarsius/notmuch-maildir") > (synopsis "Visualize maildirs as a tree") > (description > diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm > index 173982cb12..729e47cb95 100644 > --- a/gnu/packages/mail.scm > +++ b/gnu/packages/mail.scm > @@ -167,6 +167,7 @@ > #:use-module (guix build-system gnu) > #:use-module (guix build-system go) > #:use-module (guix build-system guile) > + #:use-module (guix build-system emacs) > #:use-module (guix build-system meson) > #:use-module (guix build-system perl) > #:use-module (guix build-system python) > @@ -1342,31 +1343,18 @@ invoking @command{notifymuch} from the post-new h= ook.") > "1myylb19hj5nb1vriqng252vfjwwkgbi3gxj93pi2q1fzyw7w2lf"))= )) > (build-system gnu-build-system) > (arguments > - `(#:modules ((guix build gnu-build-system) > - ((guix build emacs-build-system) #:prefix emacs:) > - (guix build utils)) > - #:imported-modules (,@%gnu-build-system-modules > - (guix build emacs-build-system) > - (guix build emacs-utils)) > - #:make-flags > + `(#:make-flags > (list "V=3D1" ; verbose test output > "NOTMUCH_TEST_TIMEOUT=3D1h") ; don't fail on slow machines > #:phases (modify-phases %standard-phases > - (add-after 'unpack 'patch-notmuch-lib.el > - (lambda _ > - (substitute* "emacs/notmuch-lib.el" > - (("/bin/sh") (which "sh"))))) > (replace 'configure > (lambda* (#:key outputs #:allow-other-keys) > (setenv "CC" ,(cc-for-target)) > (setenv "CONFIG_SHELL" (which "sh")) > - > - (let* ((out (assoc-ref outputs "out")) > - (elisp (emacs:elpa-directory out))) > + (let* ((out (assoc-ref outputs "out"))) > (invoke "./configure" > (string-append "--prefix=3D" out) > - (string-append "--emacslispdir=3D" elisp) > - (string-append "--emacsetcdir=3D" elisp)= )))) > + "--without-emacs")))) > (add-before 'check 'disable-failing-tests > ;; FIXME: Investigate why these tests are failing, > ;; and try removing this for notmuch versions > 0.31. > @@ -1378,12 +1366,9 @@ invoking @command{notifymuch} from the post-new ho= ok.") > (setenv "TEST_CC" ,(cc-for-target)) > ;; Patch various inline shell invocations. > (substitute* (find-files "test" "\\.sh$") > - (("/bin/sh") (which "sh"))))) > - (add-after 'install 'make-autoloads > - (assoc-ref emacs:%standard-phases 'make-autoloads)))= )) > + (("/bin/sh") (which "sh")))))))) > (native-inputs > `(("bash-completion" ,bash-completion) > - ("emacs" ,emacs-no-x) ; -minimal lacks libxml, needed for some= tests > ("pkg-config" ,pkg-config) > ("python" ,python) > ("python-docutils" ,python-docutils) > @@ -1391,6 +1376,7 @@ invoking @command{notifymuch} from the post-new hoo= k.") > ("texinfo" ,texinfo) >=20=20 > ;; The following are required for tests only. > + ("emacs" ,emacs-no-x) ; -minimal lacks libxml, needed for some= tests > ("which" ,which) > ("dtach" ,dtach) > ("gnupg" ,gnupg) > @@ -1409,6 +1395,32 @@ invoking @command{notifymuch} from the post-new ho= ok.") > ing, and tagging large collections of email messages.") > (license license:gpl3+))) >=20=20 > +(define-public emacs-notmuch > + (package > + (inherit notmuch) > + (name "emacs-notmuch") > + (build-system emacs-build-system) > + (native-inputs '()) > + (inputs > + `(("notmuch" ,notmuch))) > + (arguments > + `(#:exclude (cons* "make-deps.el" "rstdoc.el" %default-exclude) > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'chdir > + (lambda _ > + (chdir "emacs"))) > + (add-after 'chdir 'patch-paths > + (lambda* (#:key inputs #:allow-other-keys) > + (let ((notmuch (assoc-ref inputs "notmuch"))) > + (substitute* "notmuch-lib.el" > + (("\"notmuch\"") > + (string-append "\"" notmuch "/bin/notmuch\""))))))))) Not sure if we need to hardcode the path to notmuch binary (some people can use guix for managing emacs packages, but not system), but I think it's a rare case and this default is reasonable and easily fixable by simple `(setq notmuch-command "notmuch")` in the cases, when notmuch itslef provided by other package manager. > + (synopsis "Run Notmuch within Emacs") > + (description > + "This package provides an Emacs-based interface to the Notmuch mail > +system."))) > + > (define-public notmuch-addrlookup-c > (package > (name "notmuch-addrlookup-c") Overall, LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmFATcwACgkQIgjSCVjB 3rAMtxAAjDBugwYXQcSSKHyDjBX6KA3JNErwJmL6HAS5MJZlsB8WaVZNdjizwk4G keJrzTOam6SgfpUXCcsSJ2GjZG6aMN/2MXi7QrUdbx9FYQt2xr118hBdSu9nBaSl M01wuMM3PRFQg5l8Gbto6Lo3E/jVEIL3Xm4dU75ULY2s1DNos/ZMr3kNY+Kb3ILa QVqsYqhodbG/2kHKiFRdxWxnZHJ1x5wXcaqyjeHf5tl/xrqK6Qu3oSHhj+OWuWIJ /Ce9zBVsf5c7rTwcMuySH52guu2DxXrcMqWWNADnfqptE4PVcpaiQjBqUKiEXEC9 nFJA9hEMeHES5ZU5JAmEk04cVFEI1RwHUHkP7B/JZD8wiJd7FAkyJyHeXnYSf3NL Uj8/TGVCS7qKJvMf7ddj4IDLd23zc4EjyOAiU39sZiAI3/GUc7DFEto7+KhBzkwJ YTWaXmrk2+QeN4cNXYGzicB3DnKzXLaS+AbeEldxnn/vEEutqe8//zxg8wiEjwqG R9DXsnnsP+V0LUVWwkxXtAFeS2UdqXzBgHJJcq4CAxXa/fBnOtuvVT5Ew36gqRHI Q04OnxgMqZE80SnkSK/ZLMa9mJAlmN3ckKBFniwEnk//0kbDAsQgaKW4WNNmCk9p xOe7eFCbHnJcq7yIemUbhfj05DsTrwXf2oUvQ630kDk9bHOYwIM= =i949 -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH v2 3/3] gnu: Add emacs-notmuch. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Sep 2021 15:31:02 +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: Andrew Tropin , 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163163341110337 (code B ref 50077); Tue, 14 Sep 2021 15:31:02 +0000 Received: (at 50077) by debbugs.gnu.org; 14 Sep 2021 15:30:11 +0000 Received: from localhost ([127.0.0.1]:49956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQANu-0002gc-A8 for submit@debbugs.gnu.org; Tue, 14 Sep 2021 11:30:11 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54964 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQANq-0002eS-P7 for 50077@debbugs.gnu.org; Tue, 14 Sep 2021 11:30:09 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1631633396; bh=qSDOx9stkmr6uRNBHv5o5IJMZMSBLavW2qfMOsvrAHs=; h=From:To:Subject:In-Reply-To:References:Date; b=uS0kpi1TK90QFI8e1L6J6qNsxcX+mzCO3k3+0iKHW5ZF17llk3GhPtrsAXbUUC4/2 GFwPhRN3IvEgg7jJJdPFzxfD44BTdw9Y03zQvwvPdYC/9bPcv6uxbuGR4tO+H1+rlx eu2EdxPUm/xfLJr4aVIZu7Ou6VDCI8SHSIs/NZ4E= In-Reply-To: <878rzzmxir.fsf@trop.in> References: <878rzzmxir.fsf@trop.in> Date: Tue, 14 Sep 2021 17:29:53 +0200 Message-ID: <87lf3ztbta.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue, Sep 14 2021, Andrew Tropin wrote: > On 2021-09-04 11:42, Xinglu Chen wrote: > >> * gnu/packages/mail.scm (notmuch)[arguments]: Remove Emacs-related stuff. >> * gnu/packages/emacs-xyz.scm (emacs-consult-notmuch)[propagated-inputs]: Add [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue, Sep 14 2021, Andrew Tropin wrote: > On 2021-09-04 11:42, Xinglu Chen wrote: > >> * gnu/packages/mail.scm (notmuch)[arguments]: Remove Emacs-related stuff. >> * gnu/packages/emacs-xyz.scm (emacs-consult-notmuch)[propagated-inputs]: Add [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, Sep 14 2021, Andrew Tropin wrote: > On 2021-09-04 11:42, Xinglu Chen wrote: > >> * gnu/packages/mail.scm (notmuch)[arguments]: Remove Emacs-related stuff. >> * gnu/packages/emacs-xyz.scm (emacs-consult-notmuch)[propagated-inputs]:= Add >> =E2=80=98emacs-notmuch=E2=80=99. >> (emacs-counsel-notmuch)[propagated-inputs]: Use =E2=80=98emacs-notmuch= =E2=80=99 instead of >> =E2=80=98notmuch=E2=80=99. >> (emacs-helm-notmuch): Likewise. >> (emacs-notmuch-maildir): Likewise. >> --- >> gnu/packages/emacs-xyz.scm | 8 +++--- >> gnu/packages/mail.scm | 52 +++++++++++++++++++++++--------------- >> 2 files changed, 37 insertions(+), 23 deletions(-) >> >> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm >> index 030809f5ac..67ba8bf523 100644 >> --- a/gnu/packages/emacs-xyz.scm >> +++ b/gnu/packages/emacs-xyz.scm >> @@ -8304,7 +8304,7 @@ list of candidates.") >> (build-system emacs-build-system) >> (propagated-inputs >> `(("emacs-consult" ,emacs-consult) >> - ("notmuch" ,notmuch))) >> + ("emacs-notmuch" ,emacs-notmuch))) >> (home-page "https://codeberg.org/jao/consult-notmuch") >> (synopsis "Search and preview Notmuch emails using Consult") >> (description >> @@ -9490,6 +9490,8 @@ queries using counsel.") >> `(("emacs-counsel" ,emacs-counsel) >> ("notmuch" ,notmuch) >> ("emacs-s" ,emacs-s))) >> + (propagated-inputs >> + `(("emacs-notmuch" ,emacs-notmuch))) >> (home-page "https://github.com/fuxialexander/counsel-notmuch") >> (synopsis "Search emails in Notmuch asynchronously with Ivy") >> (description >> @@ -23952,7 +23954,7 @@ workspaces with a LSP-compliant server running.") >> (build-system emacs-build-system) >> (propagated-inputs >> `(("emacs-helm" ,emacs-helm) >> - ("notmuch" ,notmuch))) >> + ("emacs-notmuch" ,emacs-notmuch))) >> (synopsis "Search emails with Emacs Notmuch and Helm") >> (description >> "This package can be used to search emails in Emacs, searching res= ult >> @@ -23975,7 +23977,7 @@ real search.") >> "0pmikf1djkr07067nkgmdcxyn7l7ibswx6qlnai8v1v51f9h1g9q")= ))) >> (build-system emacs-build-system) >> (propagated-inputs >> - `(("notmuch" ,notmuch))) >> + `(("emacs-notmuch" ,emacs-notmuch))) >> (home-page "https://git.sr.ht/~tarsius/notmuch-maildir") >> (synopsis "Visualize maildirs as a tree") >> (description >> diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm >> index 173982cb12..729e47cb95 100644 >> --- a/gnu/packages/mail.scm >> +++ b/gnu/packages/mail.scm >> @@ -167,6 +167,7 @@ >> #:use-module (guix build-system gnu) >> #:use-module (guix build-system go) >> #:use-module (guix build-system guile) >> + #:use-module (guix build-system emacs) >> #:use-module (guix build-system meson) >> #:use-module (guix build-system perl) >> #:use-module (guix build-system python) >> @@ -1342,31 +1343,18 @@ invoking @command{notifymuch} from the post-new = hook.") >> "1myylb19hj5nb1vriqng252vfjwwkgbi3gxj93pi2q1fzyw7w2lf")= ))) >> (build-system gnu-build-system) >> (arguments >> - `(#:modules ((guix build gnu-build-system) >> - ((guix build emacs-build-system) #:prefix emacs:) >> - (guix build utils)) >> - #:imported-modules (,@%gnu-build-system-modules >> - (guix build emacs-build-system) >> - (guix build emacs-utils)) >> - #:make-flags >> + `(#:make-flags >> (list "V=3D1" ; verbose test output >> "NOTMUCH_TEST_TIMEOUT=3D1h") ; don't fail on slow machines >> #:phases (modify-phases %standard-phases >> - (add-after 'unpack 'patch-notmuch-lib.el >> - (lambda _ >> - (substitute* "emacs/notmuch-lib.el" >> - (("/bin/sh") (which "sh"))))) >> (replace 'configure >> (lambda* (#:key outputs #:allow-other-keys) >> (setenv "CC" ,(cc-for-target)) >> (setenv "CONFIG_SHELL" (which "sh")) >> - >> - (let* ((out (assoc-ref outputs "out")) >> - (elisp (emacs:elpa-directory out))) >> + (let* ((out (assoc-ref outputs "out"))) >> (invoke "./configure" >> (string-append "--prefix=3D" out) >> - (string-append "--emacslispdir=3D" elis= p) >> - (string-append "--emacsetcdir=3D" elisp= ))))) >> + "--without-emacs")))) >> (add-before 'check 'disable-failing-tests >> ;; FIXME: Investigate why these tests are failing, >> ;; and try removing this for notmuch versions > 0.3= 1. >> @@ -1378,12 +1366,9 @@ invoking @command{notifymuch} from the post-new h= ook.") >> (setenv "TEST_CC" ,(cc-for-target)) >> ;; Patch various inline shell invocations. >> (substitute* (find-files "test" "\\.sh$") >> - (("/bin/sh") (which "sh"))))) >> - (add-after 'install 'make-autoloads >> - (assoc-ref emacs:%standard-phases 'make-autoloads))= ))) >> + (("/bin/sh") (which "sh")))))))) >> (native-inputs >> `(("bash-completion" ,bash-completion) >> - ("emacs" ,emacs-no-x) ; -minimal lacks libxml, needed for som= e tests >> ("pkg-config" ,pkg-config) >> ("python" ,python) >> ("python-docutils" ,python-docutils) >> @@ -1391,6 +1376,7 @@ invoking @command{notifymuch} from the post-new ho= ok.") >> ("texinfo" ,texinfo) >>=20=20 >> ;; The following are required for tests only. >> + ("emacs" ,emacs-no-x) ; -minimal lacks libxml, needed for som= e tests >> ("which" ,which) >> ("dtach" ,dtach) >> ("gnupg" ,gnupg) >> @@ -1409,6 +1395,32 @@ invoking @command{notifymuch} from the post-new h= ook.") >> ing, and tagging large collections of email messages.") >> (license license:gpl3+))) >>=20=20 >> +(define-public emacs-notmuch >> + (package >> + (inherit notmuch) >> + (name "emacs-notmuch") >> + (build-system emacs-build-system) >> + (native-inputs '()) >> + (inputs >> + `(("notmuch" ,notmuch))) >> + (arguments >> + `(#:exclude (cons* "make-deps.el" "rstdoc.el" %default-exclude) >> + #:phases >> + (modify-phases %standard-phases >> + (add-after 'unpack 'chdir >> + (lambda _ >> + (chdir "emacs"))) >> + (add-after 'chdir 'patch-paths >> + (lambda* (#:key inputs #:allow-other-keys) >> + (let ((notmuch (assoc-ref inputs "notmuch"))) >> + (substitute* "notmuch-lib.el" >> + (("\"notmuch\"") >> + (string-append "\"" notmuch "/bin/notmuch\""))))))))) > > Not sure if we need to hardcode the path to notmuch binary (some people > can use guix for managing emacs packages, but not system), but I think > it's a rare case and this default is reasonable and easily fixable by > simple `(setq notmuch-command "notmuch")` in the cases, when notmuch > itslef provided by other package manager. Yeah, this default should work for most people, and as you said, people who haven=E2=80=99t installed Notmuch via Guix can just set to the =E2=80=98notmuch-command=E2=80=99 to the appropriate value. It=E2=80=99s E= macs after all... ;-) Also, since there was a consensus that Emacs packages that were included in =E2=80=9Cregular=E2=80=9D packages should be packaged as separate =E2=80= =98emacs-=E2=80=99 packages, I think it would be a good idea to add a paragraph about that in the manual. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFAv/EVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5vxUQAJln8S5TpIM3sOU7jpy9pNS09Lvs kJHYMmZZo7h/n4dpRQjqtslGe+GgQKNOrjWVb9AXTYfCsU9X0CEN6zhir+LxCbxo 2LcFUxcA9oGvWzj4iGOOotxOuASivFrDWpSMWL9j9TEe5dXoapYY5aj5VKO6v9ZH EbA4nd4pqw+945z3EDusnCA/8npWifyf0jeAEVw/xM6RHHVYkZGOpVn/rBeEBvRw bUSyqnQQ1qJOUP8r6odRowuCqzOi+wBmVpOjECyr2ITvKGRCT8JzANKBqgmkQT6E QkIeVWJbuAdd1nvETt/GIcWp09a+jWvXS2oxuJ4cmBt2nYIKGeXNdksM4Ak9r/m5 LnEdGvVBCSSzi9vYINhSRyOk1j3N6h2O63Z6ckokjakXUCkL0KU5BHpLH8P74uPD +o3ORUPuBF7S+bZSgk1FTwXlev2Z0YEJlwSNUVwdu0dd56qphgqh5/lJA8QlIyP7 Z4WK84nbtWhZGyzvfd57H6L1kzyxY9Jug536r92hkHEnGpFgl7qWyjiPN43/oO3D E/a4Uh8tVdF3gKBWST7x5ssPcOCC8ATpgSUDrNSo6RRH/A7R6a5Y4RZ38p4FpSP3 dSfVzjZHHL4HRVJiwESOLoeO55nIIQZ2JD7yKwNVT07OefNTG3UbgMDQqoe6cGxL l2lhWdiNP3ZXal3X =WO/M -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH v2 3/3] gnu: Add emacs-notmuch. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Sep 2021 17:39:02 +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 , Andrew Tropin , 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163164113523184 (code B ref 50077); Tue, 14 Sep 2021 17:39:02 +0000 Received: (at 50077) by debbugs.gnu.org; 14 Sep 2021 17:38:55 +0000 Received: from localhost ([127.0.0.1]:50110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQCOV-00061r-H8 for submit@debbugs.gnu.org; Tue, 14 Sep 2021 13:38:55 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:35612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQCOT-00061g-ML for 50077@debbugs.gnu.org; Tue, 14 Sep 2021 13:38:54 -0400 Received: by mail-wr1-f46.google.com with SMTP id i23so21560233wrb.2 for <50077@debbugs.gnu.org>; Tue, 14 Sep 2021 10:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=QvHRupWKsQs6SbCasWCZTQEvRggtizrCVcPTFF+YkAc=; b=DEY8YlrieIhu0tLlIPUUrsUIKoQ517xXqO6jyAjjivHbAENlcTkIa5OPm/VYGdIinD KeWtQlrT7zFBimVMC0tak2xTmlWFFkF4FUKLSvRUra9VV8IrWPgJWtIe3QsaQYbwy8B4 GFwIKhkSQwQVGzQBjbBMJtOWP9Qa/co7g2F31GPjtSZrkCO/85yCEsw7oJO7VpbXGtMe HstYqDqs/gL+5QMkTeHeCJGv0e0gUAa4+i/XlBUo8oQXcXNwAp9c1+vu4iVQD8fKWtZq ks5yzGsiC1r+bGl/chT3Al3RkRyUz6k1wmJLlByKTPbu74SsXeE+mifx7zLQMjtJ3UHB 2g9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=QvHRupWKsQs6SbCasWCZTQEvRggtizrCVcPTFF+YkAc=; b=NyYLvpqzKWtgTuMInQ/lfEkPhd/jsMALjpx1EawlMvRFvo/KpQc32nYuvkmIjAy8Vu Do427iuHmp1r+IiDuD8C0q2CBiW5OjlHacvgDYFY1zlLM7gQQYZ/X1WoPUu/1KrvJjp5 Saw9Dqo2e+k0+9kacXTBR+fB5TQ2Xj8QztGUoQFD5XaIPLNHIcLvfRzumnGqzM0tBa0R zkyNe/V+5oobIIoL4bkpdJrkgx+bM2cPaENAWnAbLaVkarhk8+aCXYkOVh/udvDusZTN NZlCuCbrA3Vgizdd4pzyPktpQy8I9f+cWj73aoOdS59flwSR0V9smWqGeWUUTjsGbp3O fyGQ== X-Gm-Message-State: AOAM530J7MrcWVFiPP8FmfHn115kzkyIDUgQwe8zsa5V+ApUj2AsZHEq CFAos19LP228dnsBUzb6ptcZWGf3reR2+w== X-Google-Smtp-Source: ABdhPJxApKt1W1m9PiJEvAN3M7qu5sx5XhBfpJnE05X59GUXRMmrjZST4sxrRX4q6S/DaEJPhct15w== X-Received: by 2002:adf:e684:: with SMTP id r4mr361756wrm.229.1631641127870; Tue, 14 Sep 2021 10:38:47 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-43.net.univ-paris-diderot.fr. [194.254.61.43]) by smtp.gmail.com with ESMTPSA id t1sm1973353wrz.39.2021.09.14.10.38.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 10:38:47 -0700 (PDT) From: zimoun In-Reply-To: <87lf3ztbta.fsf@yoctocell.xyz> References: <878rzzmxir.fsf@trop.in> <87lf3ztbta.fsf@yoctocell.xyz> Date: Tue, 14 Sep 2021 17:35:45 +0200 Message-ID: <861r5rtbji.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On Tue, 14 Sep 2021 at 17:29, Xinglu Chen wrote: > On Tue, Sep 14 2021, Andrew Tropin wrote: >> On 2021-09-04 11:42, Xinglu Chen wrote: >> Not sure if we need to hardcode the path to notmuch binary (some people >> can use guix for managing emacs packages, but not system), but I think >> it's a rare case and this default is reasonable [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.46 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.46 listed in wl.mailspike.net] 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 Tue, 14 Sep 2021 at 17:29, Xinglu Chen wrote: > On Tue, Sep 14 2021, Andrew Tropin wrote: >> On 2021-09-04 11:42, Xinglu Chen wrote: >> Not sure if we need to hardcode the path to notmuch binary (some people >> can use guix for managing emacs packages, but not system), but I think >> it's a rare case and this default is reasonable and easily fixable by >> simple `(setq notmuch-command "notmuch")` in the cases, when notmuch >> itslef provided by other package manager. > > Yeah, this default should work for most people, and as you said, people > who haven=E2=80=99t installed Notmuch via Guix can just set to the > =E2=80=98notmuch-command=E2=80=99 to the appropriate value. It=E2=80=99s= Emacs after all... ;-) > > Also, since there was a consensus that Emacs packages that were included > in =E2=80=9Cregular=E2=80=9D packages should be packaged as separate =E2= =80=98emacs-=E2=80=99 packages, > I think it would be a good idea to add a paragraph about that in the > manual. I agree. For references, this question appears here: so it seems something is missing in the manual. :-) All the best, simon From unknown Wed Aug 20 01:20:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH v2 3/3] gnu: Add emacs-notmuch. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Sep 2021 19:21:02 +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: zimoun , Andrew Tropin , 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.1631647244472 (code B ref 50077); Tue, 14 Sep 2021 19:21:02 +0000 Received: (at 50077) by debbugs.gnu.org; 14 Sep 2021 19:20:44 +0000 Received: from localhost ([127.0.0.1]:50201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQDz2-00007Y-KD for submit@debbugs.gnu.org; Tue, 14 Sep 2021 15:20:44 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:60374 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQDz0-00007K-Li for 50077@debbugs.gnu.org; Tue, 14 Sep 2021 15:20:43 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1631647234; bh=pZYRZ9eKL4qY7MLyyhNT3OQKDGgCFmyy7B7NuYXkQf0=; h=From:To:Subject:In-Reply-To:References:Date; b=F1l4fyKQvHHBqGpaxblfYqHZ0+dyIz6hfZr7VDjgKUZq2qT7lFncsu3xj1dw5zqA6 chiEcj6I/G/DkvpjUw7hcldIt0RYBQC3mPQAY35jTpMwFiUbAiisJeMYA9uzNAyN/9 LmzldZiFUtULrnFabUi82IrmQ7y8basBo0gV72o8= In-Reply-To: <861r5rtbji.fsf@gmail.com> References: <878rzzmxir.fsf@trop.in> <87lf3ztbta.fsf@yoctocell.xyz> <861r5rtbji.fsf@gmail.com> Date: Tue, 14 Sep 2021 21:20:31 +0200 Message-ID: <87y27zrmkg.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue, Sep 14 2021, zimoun wrote: > Hi, > > On Tue, 14 Sep 2021 at 17:29, Xinglu Chen wrote: >> On Tue, Sep 14 2021, Andrew Tropin wrote: >>> On 2021-09-04 11:42, Xinglu Chen wrote: > >>> Not sure if we need to [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue, Sep 14 2021, zimoun wrote: > Hi, > > On Tue, 14 Sep 2021 at 17:29, Xinglu Chen wrote: >> On Tue, Sep 14 2021, Andrew Tropin wrote: >>> On 2021-09-04 11:42, Xinglu Chen wrote: > >>> Not sure if we need to [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, Sep 14 2021, zimoun wrote: > Hi, > > On Tue, 14 Sep 2021 at 17:29, Xinglu Chen wrote: >> On Tue, Sep 14 2021, Andrew Tropin wrote: >>> On 2021-09-04 11:42, Xinglu Chen wrote: > >>> Not sure if we need to hardcode the path to notmuch binary (some people >>> can use guix for managing emacs packages, but not system), but I think >>> it's a rare case and this default is reasonable and easily fixable by >>> simple `(setq notmuch-command "notmuch")` in the cases, when notmuch >>> itslef provided by other package manager. >> >> Yeah, this default should work for most people, and as you said, people >> who haven=E2=80=99t installed Notmuch via Guix can just set to the >> =E2=80=98notmuch-command=E2=80=99 to the appropriate value. It=E2=80=99= s Emacs after all... ;-) >> >> Also, since there was a consensus that Emacs packages that were included >> in =E2=80=9Cregular=E2=80=9D packages should be packaged as separate =E2= =80=98emacs-=E2=80=99 packages, >> I think it would be a good idea to add a paragraph about that in the >> manual. > > I agree. For references, this question appears here: > > > > > so it seems something is missing in the manual. :-) Just sent a patch for it. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFA9f8VHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5ZwMQAKgQWfJIOhqPv1VmcGDnr5dRPeP3 EL4tpHt4ippPE2qyA/LeXY0kAChuf3tXQqHRM1DxCIBoAu+i2/Wm9WHU147I+x1h PB8NRA6G5SigjP2p5paQpA6QhcRkvhA7fAlFNPwBXuc1cDKMlUdyF2BM+h0XoQWw 3VfmqqFxp7oMUe/uuh3uqt1SYuaeHf/YUdUx3otsMUZJK6oe1oEmx/Mftg4+Gebj 2pBmtU1GKnkXpHoqWm83JtXxhU94r5NFcXOJYi1aGtBmuaWiU+J3QAxDy3mWsowz BMkEyMk6z100b/9X5BnQ4ZB9G67LwklOCmH8vdDaONWQlYpwl38hoKzmN6LNAHy/ BFPDIgc0F1jWw2n4vM6JD6tYWAGD1uyU1sl0Zmhhqmm6ebc4f6qZrR1LONkaX/3z K1+lqvMfiGQcRWSjkypyET36do6AxA7hZ3YRSe4n3iT96rMdCa/pzp64ZkjHWGHA L3632+0jIh+qy0PluD01cRI3WTOKgN/TK0cWnf1bU6nA46cgc1DDNR7PJRvnKPXQ RrFqKIo1PnuyK/e5ZT16+KfVaz4YStzTksT+bAAA3NS6Mk6yEB4Y2+GBmb5NwYS7 WGuRGwoupihkub0HjU8cL89DpIxUpBqLVZihbIXojOU2OrsGWtOlxCScwpYz2b5D Qi9GMyGC3xDJiqNC =diJm -----END PGP SIGNATURE----- --=-=-=--