From patchwork Sun May 18 08:16:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 42688 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 A288B27BC4B; Sun, 18 May 2025 09:19:28 +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,TVD_SPACE_RATIO,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 6CE8E27BC49 for ; Sun, 18 May 2025 09:19:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uGZDn-0004sf-G7; Sun, 18 May 2025 04:18:11 -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 1uGZDl-0004rh-Tc for guix-patches@gnu.org; Sun, 18 May 2025 04:18:09 -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 1uGZDl-0001av-Ht for guix-patches@gnu.org; Sun, 18 May 2025 04:18:09 -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=ugdj7RlNwO6Kv0EzPP/F3RiWQKoPBQ3iL7Ji5q+xb3k=; b=nlGD+FyEgp/rOFE08atWOQpflL7kg42rBbThrUaa8YKH1A5UXMNQZMiAfuX+loOdzszjYsR8b8kqyqfuBhQZaBZMkzx7I1Qq7ywyTFCYeHAZtSMSXWa0MbbnysQ8TgN8Md6SKxa5Q0sS1jrGPMBMaYPZ3nbe6Hx3tl6QmZ33TbjUUN7YmfYUS4M9diDpP4x8ibyzqWTvDV/jUmKAvIANahkOqzmeylkSbcoMXXbxMA6MJfRG2+9bR30N5fvtGXQdNwtd6E/2FE0Z0PpT4BxS1spSQQ/lu0T188GWAlZcSAcJlgYNeynqYvtYn09gGHpAXUWQ2wkXxWgpyS4oDSIOKA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uGZDl-00025B-9k for guix-patches@gnu.org; Sun, 18 May 2025 04:18:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78315] [PATCH v3 13/53] gnu: emacs-org-pandoc-import: Use search-input-file. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 May 2025 08:18:09 +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.17475562647691 (code B ref 78315); Sun, 18 May 2025 08:18:09 +0000 Received: (at 78315) by debbugs.gnu.org; 18 May 2025 08:17:44 +0000 Received: from localhost ([127.0.0.1]:55072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uGZDL-0001zv-QT for submit@debbugs.gnu.org; Sun, 18 May 2025 04:17:44 -0400 Received: from 9.mo563.mail-out.ovh.net ([46.105.73.201]:45481) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uGZD7-0001yQ-RQ for 78315@debbugs.gnu.org; Sun, 18 May 2025 04:17:30 -0400 Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net [79.137.60.37]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4b0YZw3JfKz1YmD; Sun, 18 May 2025 08:17:28 +0000 (UTC) Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net. [127.0.0.1]) by director4.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <78315@debbugs.gnu.org>; Sun, 18 May 2025 08:17:28 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.17.166]) by director4.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4b0YZw1w5pz1xwx; Sun, 18 May 2025 08:17:28 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.3]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id CDBC7C3A2A; Sun, 18 May 2025 08:17:27 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-102R004bd2e1b75-6d40-4145-a7e3-f6cafaffef01, C6CD5D64AC962E3586D42D3C4756DC5C3DD92CD7) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 89.207.171.108 Date: Sun, 18 May 2025 10:16:12 +0200 Message-ID: <20250518081658.11362-13-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: 10923480900243415778 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdefudektdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeelrddvtdejrddujedurddutdeknecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejkeefudehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehieefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=ugdj7RlNwO6Kv0EzPP/F3RiWQKoPBQ3iL7Ji5q+xb3k=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1747556248; v=1; b=IWoS/6Gm1UXGIIgiX31Xkz68ZbEBHYRdZ6HhFH4IH0ldcg7KdVczlAJqPl3R4Ffp5UADtjf8 1Zb6xy4BD36QwnR6vShvdBr6Gs1hPJfoYLbeGv8IKhS7LA/+TKN6RLiqyI3X9S3qABfrZVnsnqb u69QXZT2ULQiFxYdDGV+cXRy9x4jou7v8ZMH2oaCLM+4GVEBMKdV4MHhyN4GgzRGQy9EKSqlIcC Txd2sPU1G7M3R3Jws4iyg2SWPg6WypDOwVzqqrpC3JhgyY5mthHDkWQ7KDC5aO/k6/gxviiRJn8 k04YlCESNkfVDUKSc6CIpsqLlZyCrEzSQsGnJAeiEUklg== 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-org-pandoc-import): [arguments]: Improve 'patch-exec-paths phase. Use emacs-substitute-variables instead of substitute*. Use search-input-file. --- gnu/packages/emacs-xyz.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a00f66a5bd..f0489ad57d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -13000,10 +13000,9 @@ (define-public emacs-org-pandoc-import (modify-phases %standard-phases (add-after 'unpack 'patch-exec-paths (lambda* (#:key inputs #:allow-other-keys) - (let ((pandoc (assoc-ref inputs "pandoc"))) - (substitute* "org-pandoc-import.el" - (("\"pandoc\"") - (string-append "\"" pandoc "/bin/pandoc\""))))))))) + (emacs-substitute-variables "org-pandoc-import.el" + ("org-pandoc-import-executable" + (search-input-file inputs "bin/pandoc")))))))) (inputs (list pandoc)) (home-page "https://github.com/tecosaur/org-pandoc-import/")