Re: nnml or nnmaildir for mail archive + notmuch

2016-09-22 Thread Saša Janiška
a...@koldfront.dk (Adam Sjøgren) writes:

> Isn't "No match" just a message from the auto-complete functionality,
> which can't complete groups that do not exists (yet)?

I was misled with my previous experience when using nnmaildir backend
where the folder hierarchy was pre-populated. :-(

It seems there is lot of things to learn in regard to Gnus, but, at
least, one is certain there is no need to look elsewhere ever. ;)

Thank you!


Sincerely,
Gour

-- 
The working senses are superior to dull matter; mind is higher
than the senses; intelligence is still higher than the mind;
and he [the soul] is even higher than the intelligence.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: nnml or nnmaildir for mail archive + notmuch

2016-09-22 Thread Adam Sjøgren
Saša writes:

> a...@koldfront.dk (Adam Sjøgren) writes:

>> 'B m' on the article and then enter the name of the group, something
>> like, say, 'nnml+archive:2015' - if I understand what you want
>> correctly.

> Yes, the problem is that when I want to copy/move some article to the
> archive and start typing in minibuffe, e.g. ’nnm’ then Gnus responds
> with ’no match’.

And if you keep typing and press RET?

Isn't "No match" just a message from the auto-complete functionality,
which can't complete groups that do not exists (yet)?


  Best regards,

Adam

-- 
 "Dom 999 saker   Adam Sjøgren
  jag aldrig skulle göra a...@koldfront.dk
  Dom vägs upp av 999 värre
  saker jag redan har gjort"


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: nnml or nnmaildir for mail archive + notmuch

2016-09-22 Thread Saša Janiška
a...@koldfront.dk (Adam Sjøgren) writes:

> Start moving the articles in Gnus?

Yes, moving or copying them to the archive.

> 'B m' on the article and then enter the name of the group, something
> like, say, 'nnml+archive:2015' - if I understand what you want
> correctly.

Yes, the problem is that when I want to copy/move some article to the
archive and start typing in minibuffe, e.g. ’nnm’ then Gnus responds
with ’no match’.

Otoh, if I press ’^’, I see:

 {nnml:local} (opened)

so wonder what do I miss?

> (You shouldn't move files around behind Gnus' back, when using nnml.)

I read that nnml is not like nnmaildir in this regard. Thanks. ;)

> For reference, my configuration looks like this:

[…]

Thank you.

Sincerely,
Gour

-- 
From anger, complete delusion arises, and from delusion
bewilderment of memory. When memory is bewildered,
intelligence is lost, and when intelligence is lost
one falls down again into the material pool.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: nnml or nnmaildir for mail archive + notmuch

2016-09-22 Thread Adam Sjøgren
Saša writes:

> a...@koldfront.dk (Adam Sjøgren) writes:
>
>> I use nnml for everything, works fine for me.
>
> I put the following in gnus-secondary-select-methods:
>
> (nnml "archive"
> (nnml-directory "~/emacs/gnus/archive")
> (nnml-active-file "~/emacs/gnus/archive/active")
> (nnml-get-new-mail nil)
> (nnir-search-engine notmuch)
>  ) 
>   )
>
> but wonder how to initialize it, iow. I created ~/emacs/gnus/archive
> and would like to put my messages sorted by year like: archive/2015,
> archive/2016 etc. but not sure how to init the setup so I can start
> mv-ing msgs there?

Start moving the articles in Gnus?

'B m' on the article and then enter the name of the group, something
like, say, 'nnml+archive:2015' - if I understand what you want
correctly.

(You shouldn't move files around behind Gnus' back, when using nnml.)

Maybe I don't understand your question?


For reference, my configuration looks like this:

  (setq gnus-message-archive-method '(nnml "archive"
   (nnml-directory "~/Mail/archive")
   (nnml-active-file 
"~/Mail/archive/active")
   (nnml-get-new-mail nil)
   (nnir-search-engine notmuch)
   (nnml-inhibit-expiry t)))

  (setq gnus-message-archive-group
'((if (message-news-p)
  (concat "news-" (format-time-string "%Y"))
(concat "mail-" (format-time-string "%Y")

to get groups named 'nnml+archive:mail-2016' etc.


  Best regards,

Adam

-- 
 "Tom has put all my music into this rectangle."  Adam Sjøgren
 a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: nnml or nnmaildir for mail archive + notmuch

2016-09-22 Thread Saša Janiška
a...@koldfront.dk (Adam Sjøgren) writes:

> I use nnml for everything, works fine for me.

I put the following in gnus-secondary-select-methods:

(nnml "archive"
(nnml-directory "~/emacs/gnus/archive")
(nnml-active-file "~/emacs/gnus/archive/active")
(nnml-get-new-mail nil)
(nnir-search-engine notmuch)
 ) 
  )

but wonder how to initialize it, iow. I created ~/emacs/gnus/archive
and would like to put my messages sorted by year like: archive/2015,
archive/2016 etc. but not sure how to init the setup so I can start
mv-ing msgs there?

In the past I was using Maildir, but after pre-populated ~/Maildir with
desired directory tree, Gnus was able to read it at once.

What do I miss here?


Sincerely,
Gour

-- 
Just try to learn the truth by approaching a spiritual master.
Inquire from him submissively and render service unto him.
The self-realized souls can impart knowledge unto you because
they have seen the truth.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: nnml or nnmaildir for mail archive + notmuch

2016-09-21 Thread Adam Sjøgren
Saša writes:

> The maximum number of messages in year-folders is ~6K, so considering my
> use case I wonder which mail back end would you recommend for my mail
> archive along with notmuch search-capability: nnmaildir or nnml?

I use nnml for everything, works fine for me.


  Best regards,

Adam

-- 
 "Världens kapare meddelar att millimeterrättvisa inteAdam Sjøgren
  kommer införas i år heller"a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


nnml or nnmaildir for mail archive + notmuch

2016-09-21 Thread Saša Janiška
Hello,

I’ve some old mail archive which I want to migrate to Gnus.

Messages are simply sorted by year folders and I’d like to use notmuch
for querying.

In the past I had mail archive stored in Maildir and configured as:

(nnmaildir "archive"
   (directory "~/.nnmaildir")
   (directory-files nnheader-directory-files-safe)
   (get-new-mail nil)
   (nnir-search-engine notmuch))


The maximum number of messages in year-folders is ~6K, so considering my
use case I wonder which mail back end would you recommend for my mail
archive along with notmuch search-capability: nnmaildir or nnml?


Sincerely,
Gour

-- 
One who restrains the senses of action but whose mind dwells on
sense objects certainly deludes himself and is called a pretender.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english