[email protected] (Adam Sjøgren) writes:
> Julien writes:
>
>> [email protected] (Adam Sjøgren) writes:
>
>>> Can you read those from Gnus? I.e. do they belong to a group in Gnus?
>
>> Yes I can and yes they do.
>
> Curiouser and curiouser. What backend do you use to access them?
I finally could fix it: my nnml was stored in ~/email/Local/ so notmuch
had to remove some prefix (which it didn't need to in your setup since
yours is in ~/Mail)
The following is working
--8<---------------cut here---------------start------------->8---
(setq gnus-select-method
'(nnml "Local"
(nnml-directory "~/email/Local")
(nnml-active-file "~/email/Local/active")
(nnml-get-new-mail nil)
(nnir-search-engine notmuch)
(nnir-notmuch-remove-prefix "/home/wilk/email/Local/")
)
)
--8<---------------cut here---------------end--------------->8---
However, I also have 2 Maildirs (in /home/wilk/email/Maildir/Free for
instance) along with the nnml folder, and I wanted to try notmuch on
them too. I have set up some secondary methods like:
--8<---------------cut here---------------start------------->8---
(setq gnus-secondary-select-methods
'(
(nnimap "FreeOffline"
(nnimap-stream shell)
;; (nnimap-shell-program "/usr/lib/dovecot/imap -c
/home/wilk/.dovecotrc-free")
(nnimap-shell-program "/usr/lib/dovecot/imap -o
mail_location=maildir:$HOME/email/Maildir/Free:LAYOUT=fs")
(nnimap-split-methods default)
(nnimap-inbox "INBOX")
(nnir-search-engine notmuch)
(nnir-notmuch-remove-prefix "/home/wilk/email/Maildir/Free/")
)
)
--8<---------------cut here---------------end--------------->8---
but nnir-notmuch-remove-prefix seems to be always set to the value
defined in the primary method. So I guess that
nnir-notmuch-remove-prefix is not a group parameter. It would make sense
that it were, don't you think ?
For the time being I'll stick to the imap engine for nnir on the
maildir.
Julien.
_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english