From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WJJsA9KLP2T2XAAASxT56A (envelope-from ) for ; Wed, 19 Apr 2023 08:36:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uNqNAtKLP2QOAgEAG6o9tA (envelope-from ) for ; Wed, 19 Apr 2023 08:36:02 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AF25E281E for ; Wed, 19 Apr 2023 08:34:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pp0pP-0006Ri-NV; Wed, 19 Apr 2023 01:58:03 -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 1pp0pO-0006RW-H1 for bug-guix@gnu.org; Wed, 19 Apr 2023 01:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pp0pO-0002Rd-9K for bug-guix@gnu.org; Wed, 19 Apr 2023 01:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pp0pO-0000UP-4p for bug-guix@gnu.org; Wed, 19 Apr 2023 01:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62946: recoll package does not provide recollq which Emacs needs Resent-From: Kyle Andrews Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 19 Apr 2023 05:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62946 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62946@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.16818838331821 (code B ref -1); Wed, 19 Apr 2023 05:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Apr 2023 05:57:13 +0000 Received: from localhost ([127.0.0.1]:60922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pp0oa-0000TJ-G7 for submit@debbugs.gnu.org; Wed, 19 Apr 2023 01:57:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:37836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pp0oU-0000T8-U7 for submit@debbugs.gnu.org; Wed, 19 Apr 2023 01:57:10 -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 1pp0oU-0006NZ-LV for bug-guix@gnu.org; Wed, 19 Apr 2023 01:57:06 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pp0oS-0001WW-3C for bug-guix@gnu.org; Wed, 19 Apr 2023 01:57:06 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4C2482401FE for ; Wed, 19 Apr 2023 07:57:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681883821; bh=cbPdIwQNxnlBpb+20+8fMeKvprnslvim3dvHEUm8ipE=; h=From:To:Subject:Date:From; b=U3WUJA8vl1U5wOP/Rj5Gf8c86dQNe9Xg8eBlc/DI5bG+jZ4Nm5ls6Mm5B1VryqDTb vSKuGCs0S1Eqv/ixJHnGgrv+SsOqKXVVZKqPBxy9b/y/x/T9LywCguh/2PdSjVAZ9l XIA61TBIVUJgNwhZgZHuExTFWNTkGpBbR6QsdDPsPNBK7OQ6zw9E55RGPY1RrZYXsR hODaREv0zyIFPwL387JwrLEsD8yHoPGkMoMjbn1tXY8BvCFNq+gzwOyDuK6+bp6nVd hB9+TdlR1/fpMyz7jy/Id9NRm2rQjyzhrkCmj2RaeXMFZf5v+h2ZtcfGIdx1w1ZG9Y cTnwoZeIW0eFQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q1VRc1Y2Lz9rxG for ; Wed, 19 Apr 2023 07:56:59 +0200 (CEST) From: Kyle Andrews Date: Wed, 19 Apr 2023 04:52:20 +0000 Message-ID: <87h6tc76ty.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=kyle@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=U3WUJA8v; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681886057; a=rsa-sha256; cv=none; b=I/tF/NCNHzRRC0uzPLOve458ee+HA6jbh4bG7Dmk1zcQgDRSPRGdvwuXyxM2whY07Il8ou c/q7fUU7hOhixQOBIiCKBm0/wGlMN/4yi15W7/MTbo050kxTIkJCl3LPDAlM2k9RlZOHBy bO7bLvXazHgtXHLXL0Z95SMaplsgrc9JU+TyKA+HqdChO4OaK09ii2Ch+Z791InR7rCrVf xYmzXdsVGLDfyog+uVQTNfkgLrlb/bqtOf/A9C+A9Nt65HrICVvODrA5SYmLtt9IRenWFV yvlEl5ghUdsFgM3T3ll3/BGhh43H6A2m9dXxtgHXUOSd2WrrvsG4342xM0IB0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681886057; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Ydp98q2BYtbzPf8Va2pVX0qFabzOCUUuux61la6fSog=; b=V6Fi6N3M9+8LfMtMTiYSXGsUgWy3QL2A8GLcgsg38A1678ccUb/I0S6+7tmjxGEkaV8D0d Y3syePEE2HDtNmX3UUPuEy9OTed3g002kkvZfz+nKD+q/IVwLUcAJj+8eUTj3ZBxARn6LQ p/cr33uZi+Qa4rjOvr0dMK1h2g9aAEUZ9flMzNstBPTyszC+1k2qLW8Lymf1Tz9At3PfTq dzROT0sn137qb8FvxbgMYktdmu2hc0eHrGm2ZnJpsdcz7tgqKb93HRXiwsqHlPxjPtXrOn mlkw9n2Fkrzh021+c+iO9hNWlsGAenlnKencEu/++knJFy61IvufzGapziDI8Q== X-Migadu-Spam-Score: 5.19 X-Spam-Score: 5.19 X-Migadu-Queue-Id: AF25E281E X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=U3WUJA8v; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) X-TUID: jbIZr6XD/tz1 Dear Guix, I am experimenting with using Recoll to help me discover topical files on my computer. I'm finding it very helpful, but I would rather eschew the QT interface in favor of sticking with Emacs. There is an existing package which integrates with recoll interactively through "consult" on ELPA. Unfortunately, it depends on recoll providing an executable called recollq. Yet, recollq is not currently provided the recoll package in Guix. However, strangely the recollq man page is. The HTML documentation in the source tarball suggests it is not always built, but being unfamiliar with these complex auto-configured Makefile-based workflow I couldn't find a way to enable it. While I have found that `recoll -t' lets me make plain text queries from a database at a shell prompt, I was unsuccessful substituting `recollq' with `recoll -t' in the Emacs extension package since recollq apparently needed to be a file on the path. It would seem to me a lot less janky to just include that file. I included what I tried in the package recipe for emacs-consult-recoll below. Thanks, Kyle P.S. - Here is the package recipe I made for emacs-consult-recoll based on the ELPA importer and reading the consult-recoll web page to simplify the description. ``` (use-modules (gnu packages) (guix packages) (guix download) (guix build utils) ((guix licenses) #:prefix license:) (guix build-system emacs) (gnu packages emacs-xyz)) (define-public emacs-consult-recoll (package (name "emacs-consult-recoll") (version "0.8") (source (origin (method url-fetch) (uri (string-append "https://elpa.gnu.org/packages/consult-recoll-" version ".tar")) ;; (modules '((guix build utils))) ;; (snippet ;; (substitute* "consult-recoll.el" ;; (("recollq") "recoll -t -n 0"))) (sha256 (base32 "02vg1rr2fkcqrrivqgggdjdq0ywvlyzazwq1xd02yah3j4sbv4ag")))) (build-system emacs-build-system) (propagated-inputs (list emacs-consult)) (home-page "https://codeberg.org/jao/consult-recoll") (synopsis "Recoll queries using a consult interface in Emacs") (description " This package provides an emacs interface to perform recoll queries, and display its results, via consult. It is also recommened that you use a a package for vertical display of completions that works well with consult, such as vertico. Recoll is a local search engine that knows how to index a wide variety of file formats, including PDFs, org and other text files and emails. It also offers a sophisticated query language, and, for some document kinds, snippets in the the found documents actually matching the query at hand.") (license license:gpl3))) ```