From patchwork Sun May 18 08:16:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 42681 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 899D727BC49; Sun, 18 May 2025 09:19:00 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0AF9127BC4B for ; Sun, 18 May 2025 09:19:00 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uGZDz-0004yx-Eq; Sun, 18 May 2025 04:18:23 -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 1uGZDq-0004uz-Cw for guix-patches@gnu.org; Sun, 18 May 2025 04:18:14 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uGZDq-0001bk-41 for guix-patches@gnu.org; Sun, 18 May 2025 04:18:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=rWbKyPn903O5RvOHqLrBNrpBqoTD+ntJqcgohYUDDdM=; b=nBIcnxVzp3bwlMOWyL1/WBAC7WFF3fmYOpAbPko5BRqA+X6tiJYJOFMFA0ByrDBhsR2r+mJMucE4Q5eTqkF6J3BuWStYb5SKZTGwUrDWuuAGgqzlBsR2HarRIo5vuVdIcKURjO4476Rd0dQMvO/9OcPAX5VT4d8Wy1vGPTU5nN2axxKen7QJI1B0YSiPFVjxpIOuJWac+elXNJt9p5r4/vMiCrZI19Mr8chJ1Ya5eV5hLduzLa6m82NZndfY1WuQ294FACm7bMGX6k8y5RyvV2glSN4rRtv3Gd7MNOvjzBEq7MtGsmmlNDp7jRl0TrErVo6jf7Bm254QRwQnWnjmRg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uGZDp-00026c-Vk for guix-patches@gnu.org; Sun, 18 May 2025 04:18:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78315] [PATCH v3 20/53] gnu: emacs-fish-completion: Improve style. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 May 2025 08:18:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78315 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78315@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 78315-submit@debbugs.gnu.org id=B78315.17475562777834 (code B ref 78315); Sun, 18 May 2025 08:18:13 +0000 Received: (at 78315) by debbugs.gnu.org; 18 May 2025 08:17:57 +0000 Received: from localhost ([127.0.0.1]:55104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uGZDY-00022C-Mq for submit@debbugs.gnu.org; Sun, 18 May 2025 04:17:57 -0400 Received: from 4.mo562.mail-out.ovh.net ([46.105.38.146]:59747) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uGZDO-00020K-98 for 78315@debbugs.gnu.org; Sun, 18 May 2025 04:17:46 -0400 Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net [79.137.60.36]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4b0YbF2vJHz1cLQ; Sun, 18 May 2025 08:17:45 +0000 (UTC) Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net. [127.0.0.1]) by director2.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <78315@debbugs.gnu.org>; Sun, 18 May 2025 08:17:45 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.148.116]) by director2.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4b0YbF21ttz1xw9; Sun, 18 May 2025 08:17:45 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.0]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id CFB0FC3A2A; Sun, 18 May 2025 08:17:44 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-102R004005c5333-750c-430f-8e07-935d82da093e, C6CD5D64AC962E3586D42D3C4756DC5C3DD92CD7) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 89.207.171.108 Date: Sun, 18 May 2025 10:16:19 +0200 Message-ID: <20250518081658.11362-20-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250518081658.11362-1-ngraves@ngraves.fr> References: <20250518081658.11362-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 10928265973762482914 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdefudektddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepffekgffhkedttdfgkeegfeeifedvgeejhefhfeelgfdtgeegleeviedvgeeufedvnecuffhomhgrihhnpehgihhtlhgrsgdrtghomhenucfkphepuddvjedrtddrtddruddpkeelrddvtdejrddujedurddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejkeefudehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehiedvmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=rWbKyPn903O5RvOHqLrBNrpBqoTD+ntJqcgohYUDDdM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1747556265; v=1; b=qp1w9FBLOHDMXV52ryn5q9x08aB+A3VjDWSVa7jX6covL/0Y1iLsZXg6oTzaEJssLlsAn/IQ 3L66HeyGswZPi3SBj02mE3Y/tCqJu/8767FBDOu4GvKS+68LvBG0Y519IqBSQ5MDudRGs0i4Kn9 QUA+ya3uwd/0FdBZCEAF364MpKKIcvAtGLxPZ6+ym2Z4YuWU7QSrVaA/RayhddxkGDtubFFYbTk hfhreD104CVxfA2sIupdgewUmXmId7dYUXqCwhRQvKS+iV/U1sJNq7bUjnd3NQOc9ViySzEq2Oj EsbixlOWVyw+Gdcq+BBnsnEXsoRUvvBVNUcfUWKV7wOug== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-fish-completion): [arguments]: Improve 'configure phase style. --- gnu/packages/emacs-xyz.scm | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 99487ae79a..2e2609b88c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -30300,20 +30300,16 @@ (define-public emacs-fish-completion (base32 "17lqip1i1rrsvxzz4bx9rqf1fvwd3hriwg3sj6qxmfc8pylnp37q")))) (build-system emacs-build-system) - (inputs (list fish)) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'configure - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((fish (assoc-ref inputs "fish"))) - ;; Specify the absolute file names of the various - ;; programs so that everything works out-of-the-box. - (make-file-writable "fish-completion.el") - (emacs-substitute-variables - "fish-completion.el" - ("fish-completion-command" - (string-append fish "/bin/fish"))))))))) + (lambda* (#:key inputs #:allow-other-keys) + (make-file-writable "fish-completion.el") + (emacs-substitute-variables "fish-completion.el" + ("fish-completion-command" + (search-input-file inputs "bin/fish")))))))) + (inputs (list fish)) (home-page "https://gitlab.com/Ambrevar/emacs-fish-completion") (synopsis "Fish completion for Emacs pcomplete")