From unknown Mon Jun 23 07:53:10 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#57171] [PATCH] gnu: Add emacs-pdfgrep. Resent-From: pinoaffe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Aug 2022 12:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57171 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57171@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16603925139002 (code B ref -1); Sat, 13 Aug 2022 12:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Aug 2022 12:08:33 +0000 Received: from localhost ([127.0.0.1]:59893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMpwO-0002L8-SV for submit@debbugs.gnu.org; Sat, 13 Aug 2022 08:08:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:50624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMpwK-0002Ky-Ae for submit@debbugs.gnu.org; Sat, 13 Aug 2022 08:08:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMpwK-0002Jf-3U for guix-patches@gnu.org; Sat, 13 Aug 2022 08:08:28 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:33378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMpwI-0000Fa-76 for guix-patches@gnu.org; Sat, 13 Aug 2022 08:08:27 -0400 Received: by mail-ej1-x62b.google.com with SMTP id uj29so6100695ejc.0 for ; Sat, 13 Aug 2022 05:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc; bh=2L+7p7ab+NsVd7VeKYPPs3JsDheylugQfAPF8CXU8Ds=; b=LDeVNSyXJ0od/yeZKiFKIjPqmaWT619GjeHo/ZPJIi+bXK8s0fLf7p4P1uAnD2sQ3/ /ipQ56hbKVUMT9dhqABqc2c4CN5vMaBqeP0zRClNkZUEjLRmeg4nZtgf9NHWL0EclZMh tBnB4MCjj81RQOni95/xsCg0ut38k1MpIHMm25kuDZgwKYlBeid4zK+ymCxGdeHW4YTZ 9lRx3m+Q9Lbbl9DWGZSLVpjD2Id3Hgf23JHW49NFUX/LdqtHAUHwI9fAiP3pfD67S6NM nyNb4wXfJ/ZSZA0cMU11wBRwfturxE02J4lYkpMrEFIFxPmt/HRZFnJkWlBHD8tUMIPx OoHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc; bh=2L+7p7ab+NsVd7VeKYPPs3JsDheylugQfAPF8CXU8Ds=; b=bI7AvHKNLEuLzktR0Sz7/arSl9+yTCI2ac0afdrXa+Dcq4ODCbdVNxV33gEYujTc29 X2DnXbPfBOf7ewBfHjIwGHuNh9StZBsp97gpdzexD35uH8NKlNBIs5Sz5Pht1NmDqdef 2qjpb71YSrOSUDmUlXTXQRKIDLioD9568p1fseHyPS45LBgm97ypZJnUTMHlX1S0/LgI c/OSLn98PQJezACfF85vampXn6Ek4HWhqZQjclFa/1XyqUgI/35YvtvnzoqhB3ZQskkH F5P7yiBkNXpjGraN1QWNwvTNmY8uE3EPDvdr+ggnXVvfoHFLI11Nt8Vme4uPQkApMRoE pGng== X-Gm-Message-State: ACgBeo3adZD3iELD8n97bGK8OaGmimOzRlGSIhvtYEJXRr+5QG5AuxSV 9RgpvOrctPuDDWIuhIpOjkAtMF3MpNCW3g== X-Google-Smtp-Source: AA6agR433yUSxKdvYYLhaHS49Ru/BTsdYEoxKbtrr9fisel0KarKMHYxOfaAqFFCQbSXQljE9Tgpyw== X-Received: by 2002:a17:907:97d5:b0:730:9eac:d965 with SMTP id js21-20020a17090797d500b007309eacd965mr5239388ejc.353.1660392493541; Sat, 13 Aug 2022 05:08:13 -0700 (PDT) Received: from localhost (86-81-233-95.fixed.kpn.net. [86.81.233.95]) by smtp.gmail.com with ESMTPSA id r2-20020a1709061ba200b0073087f7dfe2sm1818490ejg.125.2022.08.13.05.08.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Aug 2022 05:08:13 -0700 (PDT) From: pinoaffe Date: Sat, 13 Aug 2022 14:08:12 +0200 Message-ID: <875yiwtkgj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=pinoaffe@gmail.com; helo=mail-ej1-x62b.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.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: -2.3 (--) Date: Sat, 13 Aug 2022 13:59:20 +0200 >From ed9c9546ff4ed6f24dd534fc80854755f20d8de1 Mon Sep 17 00:00:00 2001 * gnu/packages/emacs-xyz.scm (emacs-pdfgrep): New variable. --- gnu/packages/emacs-xyz.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3c1d322db3..18e32a3283 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -70,7 +70,7 @@ ;;; Copyright =C2=A9 2020 J=C3=A9r=C3=A9my Korwin-Zmijowski ;;; Copyright =C2=A9 2020 Alberto Eleuterio Flores Guerrero ;;; Copyright =C2=A9 2020 Marius Bakke -;;; Copyright =C2=A9 2020 pinoaffe +;;; Copyright =C2=A9 2020, 2022 pinoaffe ;;; Copyright =C2=A9 2020, 2021, 2022 Vinicius Monego ;;; Copyright =C2=A9 2020 Ryan Desfosses ;;; Copyright =C2=A9 2020 Marcin Karpezo @@ -3839,6 +3839,28 @@ (define-public emacs-saveplace-pdf-view restore the saved place.") (license license:gpl3+))) =20 +(define-public emacs-pdfgrep + (let* ((commit "a4ca0a1e6521de93f28bb6736a5344b4974d144c") + (revision "0")) + (package + (name "emacs-pdfgrep") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jeremy-compostella/pdfgrep.git") + (commit commit))) + (sha256 + (base32 "093sm3ywa338lhhz2ib3ylcgklsbxcsqck2qsaq26i2qxr0r7lq2"))= )) + (build-system emacs-build-system) + (propagated-inputs (list pdfgrep)) + (home-page "https://github.com/jeremy-compostella/pdfgrep") + (synopsis "Run `pdfgrep' within Emacs and display the results.") + (description + "This package provides the Emacs \"grep\" facilities for the pdfgre= p program.") + (license license:gpl3+)))) + (define-public emacs-dash (package (name "emacs-dash") --=20 2.37.1 From unknown Mon Jun 23 07:53:10 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#57171] [PATCH] gnu: Add emacs-pdfgrep. References: <875yiwtkgj.fsf@gmail.com> In-Reply-To: <875yiwtkgj.fsf@gmail.com> Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Aug 2022 10:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57171 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57171@debbugs.gnu.org Received: via spool by 57171-submit@debbugs.gnu.org id=B57171.166124937221989 (code B ref 57171); Tue, 23 Aug 2022 10:10:01 +0000 Received: (at 57171) by debbugs.gnu.org; 23 Aug 2022 10:09:32 +0000 Received: from localhost ([127.0.0.1]:42692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQQqi-0005ib-8e for submit@debbugs.gnu.org; Tue, 23 Aug 2022 06:09:32 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQQqg-0005iS-TC for 57171@debbugs.gnu.org; Tue, 23 Aug 2022 06:09:31 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1661249368; cv=none; d=zohomail.com; s=zohoarc; b=JnBi7otvh+GoM8BrWpJCJQ+clHOK2qULQWp8WCwlj3n7R+HZ+Jg/x85ksKHCrDTdlUTPk7G2CxSV4bNO7xSIIiOc5CI/qfCtnwe3cUQQ3wv/5Rspg25nXMFxOZ8qwGJhL9tbbjqgoCr2n4FFS0/Lmnpd7ah98QVxkGyJBZVmOTM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1661249368; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=gn/M8vy6hFYsSbjnUCynYzg38+VqBC5QC+kChyRCJUs=; b=hlqBPRlzaJBWWIV1k1kETvnqoFSJSxXkzWwEmFbQl1fmAKx4aMyYW6AgIfKG6a+HqNNuh4eponCJTN360odSyy6k6a6hjTz5PUg5kGX4jIiPOYlbr/FCoRozeXlA9c1CMfsXHxStdQ750lzABk+Yt7XU/oAtkre+IyVIZQyL6yA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1661249368; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=gn/M8vy6hFYsSbjnUCynYzg38+VqBC5QC+kChyRCJUs=; b=KMrf3qNAHUuIc0Cn3TL8T8mGJJs2oOCY+cQ9K56cL5L2VM66dYv1lKVdQAF8ubYa NSFF0eyUBXcLe8chEmpNvRqPlViN6wzVi3prTDIrkYm+cOeP1zQ9d55cK8gqwjQNiqO Cl0hBgB9zEe93ei9BTcOozFYv/h5DkKr991Fh5e8= Received: from localhost (84-109-142-46.pool.kielnet.net [46.142.109.84]) by mx.zohomail.com with SMTPS id 1661249366324252.3365939536801; Tue, 23 Aug 2022 03:09:26 -0700 (PDT) User-agent: mu4e 1.8.7; emacs 28.1 From: Ricardo Wurmus Date: Tue, 23 Aug 2022 12:07:30 +0200 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87fshnz2y4.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 (-) Thanks for the patch. I=E2=80=99d change the let* to let, because we don=E2=80=99t need previous = bindings to be available in later bindings. It would also be nice to avoid propagating pdfgrep. We could probably avoid propagation by patching https://github.com/jeremy-compostella/pdfgrep/blob/master/pdfgrep.el#L59 and perhaps also line 81 (executable-find "pdfgrep"). In the synopsis I=E2=80=99d remove the `=E2=80=A6' quotes, but that=E2=80= =99s a nit-pick. What do you think? --=20 Ricardo From unknown Mon Jun 23 07:53:10 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#57171] [PATCH v2] gnu: Add emacs-pdfgrep. References: <875yiwtkgj.fsf@gmail.com> In-Reply-To: <875yiwtkgj.fsf@gmail.com> Resent-From: pinoaffe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Sep 2022 20:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57171 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57171@debbugs.gnu.org Received: via spool by 57171-submit@debbugs.gnu.org id=B57171.166361795113494 (code B ref 57171); Mon, 19 Sep 2022 20:06:02 +0000 Received: (at 57171) by debbugs.gnu.org; 19 Sep 2022 20:05:51 +0000 Received: from localhost ([127.0.0.1]:55357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaN1a-0003Va-PV for submit@debbugs.gnu.org; Mon, 19 Sep 2022 16:05:51 -0400 Received: from mail-ej1-f43.google.com ([209.85.218.43]:36361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaN1X-0003VM-5s for 57171@debbugs.gnu.org; Mon, 19 Sep 2022 16:05:50 -0400 Received: by mail-ej1-f43.google.com with SMTP id 13so1282373ejn.3 for <57171@debbugs.gnu.org>; Mon, 19 Sep 2022 13:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date; bh=m3twHrYsxUPLafRxbN9du5fNiG0IXsIF/LTxnkxwPHM=; b=D29giDttE8B2q6PkYHAJVTaZdqMN1n/EbMhCVQZzuKsrhZVWX3fiGqoMrkKaQJtug8 nlIhDxj4oiPyvKt4tMzq4fbvTFCvUkSE+u3ITeDHyQNOLZg17j/edst6jYkV6Cl2p9l6 Tb3n4GjcRYuFrnoDbjRZzOEbDPnH8SFODkFzVZcvIDIY7ZUJIisb0P/Wf4eyEkjoK1Cl naghzYNe5BJLD0gJy3joJ+bIkMy53P+LU0N0xImubpIz1P2qR5jZHOpzM1p6NdWSdPAq K9Cn7xUAXVjoTADCg2QpM9WbkOLctdpGoQSHQUYn92/HaSrMr15VXAR5YuGcmjKVfvIL umnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date; bh=m3twHrYsxUPLafRxbN9du5fNiG0IXsIF/LTxnkxwPHM=; b=UKL3IWNv7h+lBJz1YjWQnOdTKoscTForEBa145yuZJ6Z2IteqGNvIiF8FVI2qXsbiP OSg8zKjFdZIHFeEGYs04Po1CV34/kLHS+E/ahOK0axtPN9jvIu2r3fcFuU8svV7hyEoU OnmY29v6bqy0np5cZzdf5UWzIFPnNPyXCbg8HXS0ZESbaT+FKxswo6Msu3eC3LDMxvCV x9sxuQyvnI1/sLNhxJU0fHTH7r+YVisKJFqxTehafJn+idFKhaS3RVx5T/gfetA5VFB6 DocobyXD8aFrzA10PENM2p5c7kdDAaKqqbx9Nh1tL9LZwPBTGmFGgC0JVqi3perLfetH dxag== X-Gm-Message-State: ACrzQf0n4ahSe1hHH83L32yzg7yMWWCGHGSkWRBghiN+Vfxp1aBOkR79 sv9fv7d+u4o2mFcF2VD1iXJv/mKHiZ8= X-Google-Smtp-Source: AMsMyM7jazhBmw0g0v0h9PIx4oJjN8a1z5H0RbgCdug5cKTnxnEXM4l83qt3i0JigCRyp0/UZawRWg== X-Received: by 2002:a17:907:86a9:b0:780:191:b7d2 with SMTP id qa41-20020a17090786a900b007800191b7d2mr14112153ejc.766.1663617941371; Mon, 19 Sep 2022 13:05:41 -0700 (PDT) Received: from localhost (dhcp-077-251-053-019.chello.nl. [77.251.53.19]) by smtp.gmail.com with ESMTPSA id d19-20020a50fe93000000b0044e6802623dsm20799602edt.18.2022.09.19.13.05.40 for <57171@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 13:05:40 -0700 (PDT) From: pinoaffe Date: Mon, 19 Sep 2022 22:05:40 +0200 Message-ID: <878rmf2kq3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (-) Date: Sat, 13 Aug 2022 13:59:20 +0200 >From 28d500390c6eee5e89b9fb3c756300751b8af598 Mon Sep 17 00:00:00 2001 * gnu/packages/emacs-xyz.scm (emacs-pdfgrep): New variable. --- gnu/packages/emacs-xyz.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3c1d322db3..8f5c445973 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -70,7 +70,7 @@ ;;; Copyright =C2=A9 2020 J=C3=A9r=C3=A9my Korwin-Zmijowski ;;; Copyright =C2=A9 2020 Alberto Eleuterio Flores Guerrero ;;; Copyright =C2=A9 2020 Marius Bakke -;;; Copyright =C2=A9 2020 pinoaffe +;;; Copyright =C2=A9 2020, 2022 pinoaffe ;;; Copyright =C2=A9 2020, 2021, 2022 Vinicius Monego ;;; Copyright =C2=A9 2020 Ryan Desfosses ;;; Copyright =C2=A9 2020 Marcin Karpezo @@ -3839,6 +3839,39 @@ (define-public emacs-saveplace-pdf-view restore the saved place.") (license license:gpl3+))) =20 +(define-public emacs-pdfgrep + (let ((commit "a4ca0a1e6521de93f28bb6736a5344b4974d144c") + (revision "0")) + (package + (name "emacs-pdfgrep") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jeremy-compostella/pdfgrep.git") + (commit commit))) + (sha256 + (base32 "093sm3ywa338lhhz2ib3ylcgklsbxcsqck2qsaq26i2qxr0r7lq2"))= )) + (build-system emacs-build-system) + (arguments `(#:phases + (modify-phases %standard-phases + (add-after + 'unpack + 'patch-pdfgrep-path + (lambda* (#:key inputs #:allow-other-keys) + (make-file-writable "pdfgrep.el") + (emacs-substitute-variables "pdfgrep.el" + ("pdfgrep-program" + (search-input-file inputs "bin/pdfgrep"))) + #t))))) + (inputs (list pdfgrep)) + (home-page "https://github.com/jeremy-compostella/pdfgrep") + (synopsis "Run pdfgrep within Emacs and display the results.") + (description + "This package provides the Emacs \"grep\" facilities for the pdfgre= p program.") + (license license:gpl3+)))) + (define-public emacs-dash (package (name "emacs-dash") --=20 2.37.2 From unknown Mon Jun 23 07:53:10 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: pinoaffe Subject: bug#57171: closed (Re: [bug#57171] [PATCH v2] gnu: Add emacs-pdfgrep.) Message-ID: References: <87sfklx2d4.fsf@nicolasgoaziou.fr> <875yiwtkgj.fsf@gmail.com> X-Gnu-PR-Message: they-closed 57171 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 57171@debbugs.gnu.org Date: Tue, 20 Sep 2022 19:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1663702742-898-1" This is a multi-part message in MIME format... ------------=_1663702742-898-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #57171: [PATCH] gnu: Add emacs-pdfgrep. 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 57171@debbugs.gnu.org. --=20 57171: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57171 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1663702742-898-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 57171-done) by debbugs.gnu.org; 20 Sep 2022 19:39:01 +0000 Received: from localhost ([127.0.0.1]:59757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaj5B-0000EH-Ba for submit@debbugs.gnu.org; Tue, 20 Sep 2022 15:39:01 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:51237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaj59-0000E3-Q5 for 57171-done@debbugs.gnu.org; Tue, 20 Sep 2022 15:39:00 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 6077D1BF205; Tue, 20 Sep 2022 19:38:52 +0000 (UTC) From: Nicolas Goaziou To: pinoaffe Subject: Re: [bug#57171] [PATCH v2] gnu: Add emacs-pdfgrep. References: <875yiwtkgj.fsf@gmail.com> <878rmf2kq3.fsf@gmail.com> Date: Tue, 20 Sep 2022 21:38:47 +0200 In-Reply-To: <878rmf2kq3.fsf@gmail.com> (pinoaffe@gmail.com's message of "Mon, 19 Sep 2022 22:05:40 +0200") Message-ID: <87sfklx2d4.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 57171-done Cc: 57171-done@debbugs.gnu.org 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.7 (-) Hello, pinoaffe writes: > Date: Sat, 13 Aug 2022 13:59:20 +0200 > From 28d500390c6eee5e89b9fb3c756300751b8af598 Mon Sep 17 00:00:00 2001 > * gnu/packages/emacs-xyz.scm (emacs-pdfgrep): New variable. Thank you. Applied with the following changes. > +(define-public emacs-pdfgrep > + (let ((commit "a4ca0a1e6521de93f28bb6736a5344b4974d144c") > + (revision "0")) > + (package > + (name "emacs-pdfgrep") > + (version (git-version "0" revision commit)) Latest version is actually 1.4. I also downgraded the commit to the one matching the version bump. > + (url "https://github.com/jeremy-compostella/pdfgrep.git") I removed the ".git" suffix from the URL. > + (add-after > + 'unpack > + 'patch-pdfgrep-path > + (lambda* (#:key inputs #:allow-other-keys) > + (make-file-writable "pdfgrep.el") > + (emacs-substitute-variables "pdfgrep.el" > + ("pdfgrep-program" > + (search-input-file inputs "bin/pdfgrep"))) > + #t))))) I removed the trailing #t. > + (synopsis "Run pdfgrep within Emacs and display the results.") > + (description > + "This package provides the Emacs \"grep\" facilities for the pdfgrep program.") I used the description from the repository, which seemed more clear. Regards, -- Nicolas Goaziou ------------=_1663702742-898-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Aug 2022 12:08:33 +0000 Received: from localhost ([127.0.0.1]:59893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMpwO-0002L8-SV for submit@debbugs.gnu.org; Sat, 13 Aug 2022 08:08:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:50624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMpwK-0002Ky-Ae for submit@debbugs.gnu.org; Sat, 13 Aug 2022 08:08:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMpwK-0002Jf-3U for guix-patches@gnu.org; Sat, 13 Aug 2022 08:08:28 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:33378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMpwI-0000Fa-76 for guix-patches@gnu.org; Sat, 13 Aug 2022 08:08:27 -0400 Received: by mail-ej1-x62b.google.com with SMTP id uj29so6100695ejc.0 for ; Sat, 13 Aug 2022 05:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc; bh=2L+7p7ab+NsVd7VeKYPPs3JsDheylugQfAPF8CXU8Ds=; b=LDeVNSyXJ0od/yeZKiFKIjPqmaWT619GjeHo/ZPJIi+bXK8s0fLf7p4P1uAnD2sQ3/ /ipQ56hbKVUMT9dhqABqc2c4CN5vMaBqeP0zRClNkZUEjLRmeg4nZtgf9NHWL0EclZMh tBnB4MCjj81RQOni95/xsCg0ut38k1MpIHMm25kuDZgwKYlBeid4zK+ymCxGdeHW4YTZ 9lRx3m+Q9Lbbl9DWGZSLVpjD2Id3Hgf23JHW49NFUX/LdqtHAUHwI9fAiP3pfD67S6NM nyNb4wXfJ/ZSZA0cMU11wBRwfturxE02J4lYkpMrEFIFxPmt/HRZFnJkWlBHD8tUMIPx OoHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc; bh=2L+7p7ab+NsVd7VeKYPPs3JsDheylugQfAPF8CXU8Ds=; b=bI7AvHKNLEuLzktR0Sz7/arSl9+yTCI2ac0afdrXa+Dcq4ODCbdVNxV33gEYujTc29 X2DnXbPfBOf7ewBfHjIwGHuNh9StZBsp97gpdzexD35uH8NKlNBIs5Sz5Pht1NmDqdef 2qjpb71YSrOSUDmUlXTXQRKIDLioD9568p1fseHyPS45LBgm97ypZJnUTMHlX1S0/LgI c/OSLn98PQJezACfF85vampXn6Ek4HWhqZQjclFa/1XyqUgI/35YvtvnzoqhB3ZQskkH F5P7yiBkNXpjGraN1QWNwvTNmY8uE3EPDvdr+ggnXVvfoHFLI11Nt8Vme4uPQkApMRoE pGng== X-Gm-Message-State: ACgBeo3adZD3iELD8n97bGK8OaGmimOzRlGSIhvtYEJXRr+5QG5AuxSV 9RgpvOrctPuDDWIuhIpOjkAtMF3MpNCW3g== X-Google-Smtp-Source: AA6agR433yUSxKdvYYLhaHS49Ru/BTsdYEoxKbtrr9fisel0KarKMHYxOfaAqFFCQbSXQljE9Tgpyw== X-Received: by 2002:a17:907:97d5:b0:730:9eac:d965 with SMTP id js21-20020a17090797d500b007309eacd965mr5239388ejc.353.1660392493541; Sat, 13 Aug 2022 05:08:13 -0700 (PDT) Received: from localhost (86-81-233-95.fixed.kpn.net. [86.81.233.95]) by smtp.gmail.com with ESMTPSA id r2-20020a1709061ba200b0073087f7dfe2sm1818490ejg.125.2022.08.13.05.08.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Aug 2022 05:08:13 -0700 (PDT) From: pinoaffe To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-pdfgrep. Date: Sat, 13 Aug 2022 14:08:12 +0200 Message-ID: <875yiwtkgj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=pinoaffe@gmail.com; helo=mail-ej1-x62b.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) Date: Sat, 13 Aug 2022 13:59:20 +0200 >From ed9c9546ff4ed6f24dd534fc80854755f20d8de1 Mon Sep 17 00:00:00 2001 * gnu/packages/emacs-xyz.scm (emacs-pdfgrep): New variable. --- gnu/packages/emacs-xyz.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3c1d322db3..18e32a3283 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -70,7 +70,7 @@ ;;; Copyright =C2=A9 2020 J=C3=A9r=C3=A9my Korwin-Zmijowski ;;; Copyright =C2=A9 2020 Alberto Eleuterio Flores Guerrero ;;; Copyright =C2=A9 2020 Marius Bakke -;;; Copyright =C2=A9 2020 pinoaffe +;;; Copyright =C2=A9 2020, 2022 pinoaffe ;;; Copyright =C2=A9 2020, 2021, 2022 Vinicius Monego ;;; Copyright =C2=A9 2020 Ryan Desfosses ;;; Copyright =C2=A9 2020 Marcin Karpezo @@ -3839,6 +3839,28 @@ (define-public emacs-saveplace-pdf-view restore the saved place.") (license license:gpl3+))) =20 +(define-public emacs-pdfgrep + (let* ((commit "a4ca0a1e6521de93f28bb6736a5344b4974d144c") + (revision "0")) + (package + (name "emacs-pdfgrep") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jeremy-compostella/pdfgrep.git") + (commit commit))) + (sha256 + (base32 "093sm3ywa338lhhz2ib3ylcgklsbxcsqck2qsaq26i2qxr0r7lq2"))= )) + (build-system emacs-build-system) + (propagated-inputs (list pdfgrep)) + (home-page "https://github.com/jeremy-compostella/pdfgrep") + (synopsis "Run `pdfgrep' within Emacs and display the results.") + (description + "This package provides the Emacs \"grep\" facilities for the pdfgre= p program.") + (license license:gpl3+)))) + (define-public emacs-dash (package (name "emacs-dash") --=20 2.37.1 ------------=_1663702742-898-1--