Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: info-gnus-english@gnu.org
Subject: Re: nnir-notmuch-remove-prefix isn't a group parameter?
Date: Wed, 11 Nov 2015 19:32:06 +0100	[thread overview]
Message-ID: <87d1vgtmjd.fsf@free.fr> (raw)
In-Reply-To: <87mvuk1mgu.fsf@free.fr>

Julien Cubizolles <j.cubizolles@free.fr> writes:


> Thanks, it's working for both nnimap and nnml at the same time.

Actually it doesn't, I lost track of what I was using. With:

--8<---------------cut here---------------start------------->8---
(setq nnir-notmuch-remove-prefix (regexp-opt '("/home/wilk/email/Local/" "/home/wilk/email/Local/archive/" "/home/wilk/email/Maildir/Free/")))
--8<---------------cut here---------------end--------------->8---

nnir using notmuch doesn't return any results when searching a message
in the nnimap or nnml located respectively at
/home/wilk/email/Maildir/Free/ and /home/wilk/email/Local/

With

--8<---------------cut here---------------start------------->8---
(setq nnir-notmuch-remove-prefix "/home/wilk/email/Local/")
--8<---------------cut here---------------end--------------->8---

Searching in the nnml backend works.

Julien.



      reply	other threads:[~2015-11-11 18:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-09 15:48 Jump from notmuch to Gnus for nnml, nnfolder? Julien Cubizolles
2015-11-09 17:20 ` Adam Sjøgren
2015-11-10 17:59   ` Julien Cubizolles
2015-11-10 21:45     ` Adam Sjøgren
2015-11-10 23:32       ` Julien Cubizolles
2015-11-10 23:52         ` Adam Sjøgren
2015-11-11 13:44           ` nnir-notmuch-remove-prefix isn't a group parameter? Julien Cubizolles
2015-11-11 13:49             ` Adam Sjøgren
2015-11-11 17:21               ` Julien Cubizolles
2015-11-11 18:32                 ` Julien Cubizolles [this message]

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

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

  git send-email \
    --in-reply-to=87d1vgtmjd.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=info-gnus-english@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 NNTP newsgroup(s).