From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: From Gnus to mu4e Date: Fri, 28 Aug 2015 02:14:44 +0200 Message-ID: <20150828001444.GF30233@chitra.no-ip.org> References: <87d1yhpsbr.fsf@free.fr> <87lhczyl1p.fsf@free.fr> <87a8tezf7x.fsf@free.fr> <87vbc0pgkp.fsf@free.fr> <20150827233408.GD30233@chitra.no-ip.org> <20150827234228.11079.2CAD2C13@ahiker.mooo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1440720921 27426 80.91.229.3 (28 Aug 2015 00:15:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 00:15:21 +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 02:15:08 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 1ZV7Jv-0007Hx-94 for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 02:15:03 +0200 Original-Received: from localhost ([::1]:45284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV7Jt-0006gN-UV for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Aug 2015 20:15:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV7Ji-0006gF-W4 for help-gnu-emacs@gnu.org; Thu, 27 Aug 2015 20:14:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZV7Jf-00039K-QK for help-gnu-emacs@gnu.org; Thu, 27 Aug 2015 20:14:50 -0400 Original-Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:33420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV7Jf-00039C-IS for help-gnu-emacs@gnu.org; Thu, 27 Aug 2015 20:14:47 -0400 Original-Received: by wicge2 with SMTP id ge2so7456483wic.0 for ; Thu, 27 Aug 2015 17:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=/71jBFYk40HWIIYFFV+M/VaXIDDWYkHs/7xDtRikTRA=; b=0ImJ0B1PU9Epc2ASv8a+lZ3QJYHEFd7aXIq1U/5zPpUMowfeJ5Bw4MLUl39hQ62/FO qmwIhMDOPZ4Ylfje7l1Wc0hQY9oTx7f9Ar+M5BmJld/OFiz1Y+JBpftyucLpfF+ghW/b cT0XfW4s4wAJbtQG5dcsb/0UxVxl07ApNQWXVIq6NtMp6qhH9Zdo9Zx2ElVdZ91O4amL qi2V2he4qmB+1UtlXYqF2DkNIXLzhaHs8QZ8vnoOLGulhaGBv0kQhRm3rlC0u6JkL7vF bDpSyPVO6wZl0TObB+eqZk9Lo2/mZpA4F8BIAsB889eu44rpfOOch0/4rRrKq/tnGZAd r+qg== X-Received: by 10.194.78.230 with SMTP id e6mr7770097wjx.43.1440720886704; Thu, 27 Aug 2015 17:14:46 -0700 (PDT) Original-Received: from chitra.no-ip.org (5072840E.static.ziggozakelijk.nl. [80.114.132.14]) by smtp.gmail.com with ESMTPSA id s7sm1056454wix.23.2015.08.27.17.14.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Aug 2015 17:14:46 -0700 (PDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <20150827234228.11079.2CAD2C13@ahiker.mooo.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22c 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:106880 Archived-At: On Thu, Aug 27, 2015 at 04:50:23PM -0700, Ian Zimmerman wrote: > On 2015-08-28 01:34 +0200, Suvayu Ali wrote: > > > > Because otherwise, you would have Gnus and offlineimap competing for > > > access ? > > > I do not think this is possible. In fact AFAIK, any kind of race > > condition in a maildir is not possible by design, as long as the > > filesystem operations are atomic. > > I think this applies to the original delivery, but not necessarily to > subsequent manipulation of maildirs. > > For example, the message flags are stored by appending them to the file > name. If two MUAs concurrently scan the maildir for messages, then try > to set a flag on one message, a race is possible. > > I observed wierdness when I tried to access my mail both by IMAP (the > with Dovecot as the IMAP server) and directly reading the underlying > maildirs with mutt. That was part of the reason why I gave up on IMAP > entirely, and instead read over ssh and mutt locally on the server. No, it's not. AFAIK on most (all?) *nix filesystems, basic operations are atomic. See for example this (outdated) list: http://rcrowley.org/2010/01/06/things-unix-can-do-atomically.html E.g., this breaks down when you talk about network mounts like NFS (not sure about SSHFS), but it is a valid assumption as long as your storage is local. -- Suvayu Open source is the future. It sets us free.