From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Angel de Vicente Newsgroups: gmane.emacs.help Subject: Re: Emacs interface to Recoll other than Helm? Date: Tue, 07 Nov 2017 17:09:46 +0000 Message-ID: <877ev2yq05.fsf@iac.es> References: <87375qf6my.fsf@iac.es> <87mv3yjc5l.fsf@iac.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1510074721 8711 195.159.176.226 (7 Nov 2017 17:12:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2017 17:12:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 07 18:11:57 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eC7Pn-0001zS-G5 for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 18:11:55 +0100 Original-Received: from localhost ([::1]:54626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC7Pu-0005fI-SS for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 12:12:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC7OH-0004ql-CY for help-gnu-emacs@gnu.org; Tue, 07 Nov 2017 12:10:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eC7OD-0005vV-7Q for help-gnu-emacs@gnu.org; Tue, 07 Nov 2017 12:10:21 -0500 Original-Received: from [195.159.176.226] (port=40713 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eC7OC-0005vF-Su for help-gnu-emacs@gnu.org; Tue, 07 Nov 2017 12:10:17 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eC7Nz-00061k-0l for help-gnu-emacs@gnu.org; Tue, 07 Nov 2017 18:10:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:RM+xEleWB06vRqCmkJLWilOMfR8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114785 Archived-At: Sorry for the double post. I thought the post with the attached images had been rejected so I post it again with the images as links to some URL in the Internet. The rest of the message is basically the same. Angel de Vicente writes: > Hi, > > Kaushal Modi writes: >> On Tue, Nov 7, 2017 at 10:34 AM Angel de Vicente wrote: >> >>> but right now I'm using Ivy >>> (http://oremacs.com/swiper/) and if possible I would like to avoid >>> installing Helm just for the integration with Recoll (plus, I'm not sure >>> if it will clash somehow with the installed Ivy?). >>> >> >> You will find Ivy-backend based plugins in the counsel library. About your >> question specific to Ivy+Recoll, it's already out there by the Ivy author >> himself: https://oremacs.com/2015/07/27/counsel-recoll/ > > Funny, I had seen that webpage already and I tried to use the function > in there, but it was giving an error (Error 127, whatever that is), but > then I searched in the counsel.el file in my current version, and the > function counsel-recoll is already defined there! Good, so with a fresh > Emacs (I was overriding the counsel-recoll function) it works, but is > not very convenient for my needs. counsel-recoll will give a dynamic > list of files that match your search, and then you have to open the file > and perform a search (with swiper, for example) to see if that was the > stuff you were looking for (see the attached file counsel-recoll.png). > > But for this sort of thing, I think that it is nicer to have a buffer > with the files where matches are found and with some context given. This > is, for example, the type of output I get when doing a multi-occur find > with Projectile (see attached file counsel-recoll-mo.png), and if > possible I would like to try and get something like that, which I think > it will more useful. > > Thanks, -- Ángel de Vicente http://angel-de-vicente.blogspot.com/