unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Angel de Vicente <angelv@iac.es>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs interface to Recoll other than Helm?
Date: Tue, 07 Nov 2017 16:17:58 +0000	[thread overview]
Message-ID: <87mv3yjc5l.fsf@iac.es> (raw)
In-Reply-To: CAFyQvY07_p1uM7JTprY_g5+pp0b0MryhcuxhqFLW2KdHYAVgxA@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]

Hi,

Kaushal Modi <kaushal.modi@gmail.com> writes:
> On Tue, Nov 7, 2017 at 10:34 AM Angel de Vicente <angelv@iac.es> 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,



[-- Attachment #2: counsel-recoll.png --]
[-- Type: image/png, Size: 247937 bytes --]

[-- Attachment #3: counsel-recoll-mo.png --]
[-- Type: image/png, Size: 344524 bytes --]

[-- Attachment #4: Type: text/plain, Size: 61 bytes --]


-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/

  reply	other threads:[~2017-11-07 16:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-07 15:30 Emacs interface to Recoll other than Helm? Angel de Vicente
2017-11-07 15:37 ` Kaushal Modi
2017-11-07 16:17   ` Angel de Vicente [this message]
2017-11-07 17:09     ` Angel de Vicente
2017-11-07 20:19       ` Bob Proulx
2017-11-07 21:17         ` Angel de Vicente
2017-11-07 16:43   ` Angel de Vicente
2017-11-08 12:40     ` Angel de Vicente
2017-11-07 15:51 ` Joost Kremers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mv3yjc5l.fsf@iac.es \
    --to=angelv@iac.es \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).