From debbugs-submit-bounces@debbugs.gnu.org Mon May 13 06:49:52 2024 Received: (at submit) by debbugs.gnu.org; 13 May 2024 10:49:52 +0000 Received: from localhost ([127.0.0.1]:60228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6TFg-0002w4-B6 for submit@debbugs.gnu.org; Mon, 13 May 2024 06:49:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:55392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6TFe-0002vy-W7 for submit@debbugs.gnu.org; Mon, 13 May 2024 06:49:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6TFc-0002a2-Aa for guix-patches@gnu.org; Mon, 13 May 2024 06:49:49 -0400 Received: from 20.mo581.mail-out.ovh.net ([46.105.49.208]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6TFa-0007Ss-3O for guix-patches@gnu.org; Mon, 13 May 2024 06:49:48 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.25.23]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4VdGTJ3Wh2z1Htp for ; Mon, 13 May 2024 10:49:40 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-hgvt2 (unknown [10.110.113.85]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 182501FE4F; Mon, 13 May 2024 10:49:40 +0000 (UTC) Received: from ngraves.fr ([37.59.142.103]) by ghost-submission-6684bf9d7b-hgvt2 with ESMTPSA id r2JwAUTwQWYgSS8A68nOWA (envelope-from ); Mon, 13 May 2024 10:49:40 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-103G0050732f1c0-815a-4f66-bff4-d7f4787ca6f2, AFD3D7969371CC029319C969337B9752385513BA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.214.128.58 From: Nicolas Graves To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-helm-org-ql. Date: Mon, 13 May 2024 12:49:32 +0200 Message-ID: <20240513104938.13078-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17312962868650631906 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdeggedgfedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdektddrvddugedruddvkedrheekpdefjedrheelrddugedvrddutdefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=46.105.49.208; envelope-from=ngraves@ngraves.fr; helo=20.mo581.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/emacs-xyz.scm (emacs-helm-org-ql): New variable. (emacs-org-ql)[phases]: Add phase 'remove-helm-org-ql. [propagated-inputs]: Remove emacs-helm, emacs-helm-org. The author didn't mean to make the package depend on helm : "Note that Helm is not declared as a package dependency, so this does not cause Helm to be installed.", but the way we packaged it in Guix did. Split the extension into a separate dependency instead, this avoids 3 Mo to be propagated in a profile where it's not meant. Change-Id: I3537c0b08cfffac3d66b761173761a3806497358 --- gnu/packages/emacs-xyz.scm | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9e3bd5ae647..861402f9f52 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -23860,15 +23860,18 @@ (define-public emacs-org-ql (arguments (list #:tests? #f ;FIXME: check phase freezes - #:test-command #~(list "buttercup" "-L" "."))) + #:test-command #~(list "buttercup" "-L" ".") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-helm-org-ql + (lambda _ + (delete-file "helm-org-ql.el")))))) (native-inputs (list emacs-buttercup emacs-with-simulated-input emacs-xr)) (propagated-inputs (list emacs-compat emacs-dash emacs-f - emacs-helm - emacs-helm-org emacs-org emacs-org-super-agenda emacs-ov @@ -23881,6 +23884,33 @@ (define-public emacs-org-ql files, allowing for actions to be performed based on search criteria.") (license license:gpl3+))) +(define-public emacs-helm-org-ql + (package/inherit emacs-org-ql + (name "emacs-helm-org-ql") + (arguments + (list + #:tests? #f ;no tests + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-emacs-org-ql + (lambda _ + (install-file "helm-org-ql.el" "..") + (let ((cwd (getcwd))) + (with-directory-excursion ".." + (delete-file-recursively cwd) + (mkdir cwd) + (install-file "helm-org-ql.el" cwd)))))))) + (propagated-inputs + (list emacs-dash + emacs-helm + emacs-helm-org + emacs-org-ql + emacs-s)) + (synopsis "Helm commands for @code{emacs-org-ql}") + (description "This package provides @code{emacs-helm} commands for +@{emacs-org-ql}, a Lispy query language for Org files, allowing for actions to +be performed based on search criteria."))) + (define-public emacs-bing-dict (package (name "emacs-bing-dict") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Tue May 14 07:08:59 2024 Received: (at submit) by debbugs.gnu.org; 14 May 2024 11:08:59 +0000 Received: from localhost ([127.0.0.1]:38669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6q1g-0006Mq-OV for submit@debbugs.gnu.org; Tue, 14 May 2024 07:08:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:35736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6q1U-0006Mk-EW for submit@debbugs.gnu.org; Tue, 14 May 2024 07:08:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6q1R-0005X7-KJ for guix-patches@gnu.org; Tue, 14 May 2024 07:08:42 -0400 Received: from out-170.mta1.migadu.com ([95.215.58.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6q1O-0006p8-Cs for guix-patches@gnu.org; Tue, 14 May 2024 07:08:40 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=key1; t=1715684915; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NQiHh/0JF55wFjLTTyLevskhIG3E8a3ATICq/6wCH/g=; b=NtKJQbAf3t+8aasS5OTYj+Iv5rmsIQUWKG0rOpwhHYmEJPrR1FPdyWN6z+R+MmLJ5wAank j05P5yc67ggISPQ3FmZrIr9YxPLOW4i+hVLPrsP+ah0RJJXrg+qtkggsJTN4KRlNhTiFRe TLymJ/LaJ491tB3pBwnCAY1zBhcfiYD/Oj46pZGzo5oUErv908ry2g65XArfCjbBNjRvVj 5nezPi956o8Xf9T2yHHCUhrjUYPjdSH6tq3ZurFxwWZwNVYoHYnjbhYSOX8djUF6nh/1bR Gv029d5d/b9mqegpc5RKPe3KBt6OVRKdyFqsaDSRrC9NFfzSq9LwyBJOXpjRGw== From: Andrew Tropin To: Nicolas Graves via Guix-patches via , 70917-done@debbugs.gnu.org Subject: Re: [bug#70917] [PATCH] gnu: Add emacs-helm-org-ql. In-Reply-To: <20240513104938.13078-1-ngraves@ngraves.fr> References: <20240513104938.13078-1-ngraves@ngraves.fr> Date: Tue, 14 May 2024 14:08:28 +0300 Message-ID: <87fruky7kj.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=95.215.58.170; envelope-from=andrew@trop.in; helo=out-170.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: ngraves@ngraves.fr 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.4 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2024-05-13 12:49, Nicolas Graves via Guix-patches via wrote: > * gnu/packages/emacs-xyz.scm (emacs-helm-org-ql): New variable. > (emacs-org-ql)[phases]: Add phase 'remove-helm-org-ql. > [propagated-inputs]: Remove emacs-helm, emacs-helm-org. > > The author didn't mean to make the package depend on helm : > "Note that Helm is not declared as a package dependency, so this does > not cause Helm to be installed.", but the way we packaged it in Guix > did. Split the extension into a separate dependency instead, this > avoids 3 Mo to be propagated in a profile where it's not meant. > > Change-Id: I3537c0b08cfffac3d66b761173761a3806497358 > --- > gnu/packages/emacs-xyz.scm | 36 +++++++++++++++++++++++++++++++++--- > 1 file changed, 33 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm > index 9e3bd5ae647..861402f9f52 100644 > --- a/gnu/packages/emacs-xyz.scm > +++ b/gnu/packages/emacs-xyz.scm > @@ -23860,15 +23860,18 @@ (define-public emacs-org-ql > (arguments > (list > #:tests? #f ;FIXME: check phase freezes > - #:test-command #~(list "buttercup" "-L" "."))) > + #:test-command #~(list "buttercup" "-L" ".") > + #:phases > + #~(modify-phases %standard-phases > + (add-after 'unpack 'remove-helm-org-ql > + (lambda _ > + (delete-file "helm-org-ql.el")))))) > (native-inputs > (list emacs-buttercup emacs-with-simulated-input emacs-xr)) > (propagated-inputs > (list emacs-compat > emacs-dash > emacs-f > - emacs-helm > - emacs-helm-org > emacs-org > emacs-org-super-agenda > emacs-ov > @@ -23881,6 +23884,33 @@ (define-public emacs-org-ql > files, allowing for actions to be performed based on search criteria.") > (license license:gpl3+))) >=20=20 > +(define-public emacs-helm-org-ql > + (package/inherit emacs-org-ql Changed package/inherit macro to (package (inherit emacs-org-ql). > + (name "emacs-helm-org-ql") > + (arguments > + (list > + #:tests? #f ;no tests > + #:phases > + #~(modify-phases %standard-phases > + (add-after 'unpack 'remove-emacs-org-ql > + (lambda _ > + (install-file "helm-org-ql.el" "..") > + (let ((cwd (getcwd))) > + (with-directory-excursion ".." > + (delete-file-recursively cwd) > + (mkdir cwd) > + (install-file "helm-org-ql.el" cwd)))))))) > + (propagated-inputs > + (list emacs-dash > + emacs-helm > + emacs-helm-org > + emacs-org-ql > + emacs-s)) > + (synopsis "Helm commands for @code{emacs-org-ql}") > + (description "This package provides @code{emacs-helm} commands for > +@{emacs-org-ql}, a Lispy query language for Org files, allowing for acti= ons to > +be performed based on search criteria."))) > + > (define-public emacs-bing-dict > (package > (name "emacs-bing-dict") Applied, pushed as https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Da682ddd708, thank you! =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmZDRiwACgkQIgjSCVjB 3rB1Yg//eyU4ql++P/EKUS2qIr0uGAGQOt9VR59CM5KYsUMXLmzj5xNOaYI5AOiO En/KvutFyo3AKlEK/F8M1AYszaA2jnOiKkw7eQiqG4TwfhmRoOKIVrrodULHAgAC SuxV4PEkbdAp9h8FWIhYSPQomRE5i8JVRwNLf6T8OGYr3G05xK75DyBUffcUy5hx mDCNUfbexYIbK2x4oIw1tdw2R85RSyW5H8OwbnhE4RCgwOfrXK/EhU9FgRr4DVwi G8kVV9qqpr+4OUC4audAEt+TaH6RWudu+IETaVDPZeej9kcl5oYn4o2yFZG3GEUl gGKaZ2D4UwGXXi6hMG4Zt/AKG4ehy6UXgQFhU/sT52xtMOSaA5Qa/URnx8Ol6mOz rpxJz0vpJkLYJdteR1UIFebjLNBfCLQggWgLxEe/cdBt6J0dE7TwtIHSrqUAGRE4 4NDALFaQyxjF+LMdhAbAHg9sUYoq9mMfcqxYgj+EM+XzWgvHgUiG85cGwjgnqnSu q2/kqCZtMqlvI8vpbJ9Rdj+3syPJcweDo85k2HsoiLqjVB6RLb7kmN+jI4EsITQP evU7dyw7eVQtzqVOCu5SnZd73NN5745JshtX4jmYGlTkylIVFCnmVPcn0HsptLiU jZ+yYyxaXqqEO0WPTLJ8e10uOcLn71laYS80nlK/5tUYma/rcUc= =QlYw -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Aug 21 12:12:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 12 Jun 2024 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator