nnir-notmuch-engine setup with gnus/offlineimap/dovecot

2016-09-22 Thread Arkady Grudzinsky
Hi, I am trying to set up notmuch to search my mail in all my mail groups while I want to use Gnus to read and manipulate messages. I retrieve mail from Gmail into ~/Mail using offlineimap. Offlineimap runs "notmuch new" as a postsynchook. Notmuch is set up, and "notmuch search" works from the

Re: nnir-notmuch-engine setup with gnus/offlineimap/dovecot

2016-09-22 Thread Dmitry Alexandrov
> Most discussions on this topic point to > http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html > > The name implies that this may be exactly what I want, but the > link appears to be dead now. I get an empty page when I try to > view it. The Internet

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

Re: IMAP - two accounts on one server

2016-09-22 Thread Loris Bennett
a...@koldfront.dk (Adam Sjøgren) writes: > Ted writes: > >> On Wed, 21 Sep 2016 10:17:25 +0200 a...@koldfront.dk (Adam Sjøgren) wrote: > >> AS> So you could have something like: >> ... > >> :) This is basically what I wrote in >> (info "(auth) Multiple GMail accounts with Gnus") > > I can't find

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")

Re: IMAP - two accounts on one server

2016-09-22 Thread Loris Bennett
a...@koldfront.dk (Adam Sjøgren) writes: > Loris writes: > >> I still have the problem that I can only access one of the accounts. >> The same set of folders appear twice, once each for the secondary >> select method entries "one" and "two". > > Show your configuration. > > Otherwise we can be

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

Re: IMAP - two accounts on one server

2016-09-22 Thread Adam Sjøgren
Loris writes: > '(gnus-secondary-select-methods >(quote > ((nnimap "mail.zedat.fu-berlin.de" What happens if you change the name of this server to something that is not exactly the same as the hostname? What does your .authinfo.gpg look like? (Remember to remove passwords.) >

Re: IMAP - two accounts on one server

2016-09-22 Thread Adam Sjøgren
Loris writes: > I still have the problem that I can only access one of the accounts. > The same set of folders appear twice, once each for the secondary > select method entries "one" and "two". Show your configuration. Otherwise we can be guessing forever. Best regards, Adam --

possible repost: create sent folder by year

2016-09-22 Thread Sivaram Neelakantan
How do I make gnus create sent folders by year instead of the default archive:sent.2016.09 etc? I want to store my sent mails by year instead of by year. Not quite sure what to tweak. sivaram -- ___ info-gnus-english mailing list

Re: IMAP - two accounts on one server

2016-09-22 Thread Ted Zlatanov
On Wed, 21 Sep 2016 17:07:36 +0200 a...@koldfront.dk (Adam Sjøgren) wrote: AS> Ted writes: >> (info "(auth) Multiple GMail accounts with Gnus") AS> I can't find that info-page in my Emacs. Maybe it is too old? (GNU Emacs AS> 24.5.1) That's weird, it's been part of Emacs for a while and I can

Re: IMAP - two accounts on one server

2016-09-22 Thread Ted Zlatanov
On Thu, 22 Sep 2016 11:39:06 +0200 "Loris Bennett" wrote: ... LB> I have now discovered that this in fact works, but only if I don't save LB> the credentials in .authinfo. If I enter both sets of credentials every LB> time, Gnus shows me folders from both accounts.

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

Re: IMAP - two accounts on one server

2016-09-22 Thread Loris Bennett
Ted Zlatanov writes: > On Thu, 22 Sep 2016 11:39:06 +0200 "Loris Bennett" > wrote: > > ... > LB> I have now discovered that this in fact works, but only if I don't save > LB> the credentials in .authinfo. If I enter both sets of credentials

*unsent* buffer remains, even though mail is sent

2016-09-22 Thread Loris Bennett
Hi, I have a working setup with two accounts on one server. However, when I send a mail/posting, I get the error gnus-get-function: Attempted use of a nil select method The mail/posting is sent successfully, but the buffer, such as *unsent posting on gnu.emacs.gnus* is not deleted. Any

Re: possible repost: create sent folder by year

2016-09-22 Thread Adam Sjøgren
Sivaram writes: > How do I make gnus create sent folders by year instead of the default > archive:sent.2016.09 etc? I want to store my sent mails by year > instead of by year. I do it like this: (setq gnus-message-archive-group '((if (message-news-p) (concat "news-"

Re: Suppressing unavailable imap server by default

2016-09-22 Thread Michael Albinus
Ted Zlatanov writes: Hi Ted, > I think a new server parameter `check-reachable' or something like that > would make sense. It could be a number (indicating connection timeout > time) or a path (a command to run to check connectivity). > > I'll follow up on emacs-devel

Re: Suppressing unavailable imap server by default

2016-09-22 Thread Ted Zlatanov
On Thu, 22 Sep 2016 15:27:03 +0200 Michael Albinus wrote: MA> Ted Zlatanov writes: MA> Hi Ted, >> I think a new server parameter `check-reachable' or something like that >> would make sense. It could be a number (indicating connection timeout >>

Re: Suppressing unavailable imap server by default

2016-09-22 Thread Ted Zlatanov
On Wed, 21 Sep 2016 15:48:58 +0200 Michael Albinus wrote: MA> How could I change my configuration, that this timeout is reduced? Or MA> that prior to connecting the server via imap there is a check, whether MA> the server is reachable? MA> Extra bonus if I could

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