From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.help Subject: Re: From Gnus to mu4e Date: Fri, 28 Aug 2015 12:04:40 +0200 Message-ID: <87wpwf685j.fsf@gmx.us> References: <87d1yhpsbr.fsf@free.fr> <87lhczyl1p.fsf@free.fr> <87a8tezf7x.fsf@free.fr> <87wpwg3b66.fsf@gnu.org> <87wpwfkdjz.fsf@gnu.org> <87h9nj7pse.fsf@gmx.us> <878u8v3hb2.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1440756383 6943 80.91.229.3 (28 Aug 2015 10:06:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 10:06:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 28 12:06:15 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZVGXw-0007D4-Iz for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 12:06:08 +0200 Original-Received: from localhost ([::1]:47080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVGXw-0007IZ-08 for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 06:06:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVGWs-0006Gb-Mc for help-gnu-emacs@gnu.org; Fri, 28 Aug 2015 06:05:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVGWn-0005tT-Mb for help-gnu-emacs@gnu.org; Fri, 28 Aug 2015 06:05:02 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:40831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVGWn-0005t6-Gv for help-gnu-emacs@gnu.org; Fri, 28 Aug 2015 06:04:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZVGWh-0005ws-OX for help-gnu-emacs@gnu.org; Fri, 28 Aug 2015 12:04:52 +0200 Original-Received: from 62.80.108.14 ([62.80.108.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Aug 2015 12:04:51 +0200 Original-Received: from rasmus by 62.80.108.14 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Aug 2015 12:04:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 62.80.108.14 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAAAmJLR0QA/4ePzL8AAAAJcEhZ cwAAAEgAAABIAEbJaz4AAAHKSURBVEjHlZTLlexACENnf3NRLiRCLmSiUBQR5y08v3Z73P1Y2nWr EAg+9iZ88e3j5nzqfwHlXeDIxbwN9OzuNn4bqN1EeDd5Byit25Ck/AKY7BpFXZRlXgBduxHTtBhp 6HsA7Q4yjKrRULdAwDPUgKsahXqUfX6hqCr3oGQaPC3fihZNxTC7A+1+VPEEmIYEDvXYemj4cx+q oVcwG8FsvwDc0BFoB5i17oEIKlTRqsI+jHUDIFXTDaQwk3vAjCRmoKI+W/bqBRcQQ5niNBRXGmag Nx4PvDLf7pbSjsfOPrn7CshkhCSp5p2Jy0jjHD2pvASsrzSyu65XI+o+TsQFnSfiCfiyZgMg79Tt APUcqaQ4wtt/2zvzq01uAZB9KO3H47ih37wbqMeV+Rs4fp+2TtWxSq6AuQAORZrrlFrnLfTt4FxX yVfrd3e36rpKZ+/kx/O5TKkfalyi8klJF8Dvac9nF/BuPCWegZ+Esj5mFNBXA8+AC8q7G7ta0F/m +IwTYJgB1bR6nBHcAUFZAQMV+8sXfwKmNwDHxYp7T4+cAWVbqq4qdTKu+5S+TTH+Xpj8PPkseqA9 MzPjJE/3P5e1eREnDeL/AHgX+Ac1wLS1jG2Y1gAAAABJRU5ErkJggg== User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:qCRLnJYNBJitFqHe4G5Wst57t7A= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106892 Archived-At: Julien Cubizolles writes: > Does this mean you don't need to run offlineimap periodically if you use > this mode ? Right. It's what TB and k9 uses as well. It works OK. Sometimes it's even able to handle disconnect → suspend → wake up on another network. It's not, however, as good as the IDLE support of "proper" mailclients such as K9 and TB. You need to add something like idlefolders = ['INBOX'] To your offlineimap [remote REPOSITORY]. And maybe maxsyncaccounts = 5 socktimeout = 60 To your [general]. Also, you probably need to add this to [account REPOSITORY] autorefresh = 28 There might be more, I added it to my offlineimap settings a while ago. > It doesn't help with potential race conditions with Gnus > accessing the mailbox, does it ? No idea. I use dovecot for accesing the maildir, like this: (add-to-list 'gnus-secondary-select-methods '(nnimap "mail" (nnimap-stream shell) (nnimap-shell-program "MAIL=maildir:$HOME/mail /usr/lib/dovecot/imap"))) Maybe you can use postsynchook in [Account REPOSITORY] to your advantage. E.g. I get popups via: postsynchook = emacsclient -s gnus --eval "(with-timeout (2) (when (gnus-alive-p) (gnus-group-get-new-news 1)))" Rasmus -- When the facts change, I change my mind. What do you do, sir?