From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.help Subject: Re: From Gnus to mu4e Date: Fri, 28 Aug 2015 10:21:14 +0200 Message-ID: References: <87d1yhpsbr.fsf@free.fr> <87lhczyl1p.fsf@free.fr> <87a8tezf7x.fsf@free.fr> <87vbc0pgkp.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1440750115 6030 80.91.229.3 (28 Aug 2015 08:21:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 08:21:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Julien Cubizolles Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 28 10:21:36 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 1ZVEul-0005aH-2K for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 10:21:35 +0200 Original-Received: from localhost ([::1]:46620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVEuk-0005SP-Bx for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 04:21:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVEuX-0005S8-4s for help-gnu-emacs@gnu.org; Fri, 28 Aug 2015 04:21:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVEuT-0002Bs-6T for help-gnu-emacs@gnu.org; Fri, 28 Aug 2015 04:21:21 -0400 Original-Received: from mail-wi0-f178.google.com ([209.85.212.178]:38727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVEuT-0002Bi-1W for help-gnu-emacs@gnu.org; Fri, 28 Aug 2015 04:21:17 -0400 Original-Received: by wibgu7 with SMTP id gu7so1989658wib.1 for ; Fri, 28 Aug 2015 01:21:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=uGoeSuehoBWxrpCAi8nN0HyUym0YtS8+d/V5eDoSzmk=; b=H8X/O/mzvvCXxSDW3jOnuBZ3aI9bsMrrNyBI4ncMk4S9xMH3dnQT+3GyH+9pMvmlgk J73S+feLsKqFE7HlykTKCNM//bxRJEqNfD86kNsXFrC6J/ekoIydlTR6Ma9OWeLTXrK6 pdEN+uRjYLjwz2joj7JO5qAcsceQRZBgLwFyDEYvDnP33Fluji+YHZdX7x7JSvoi8rAw UVt0sH7dPYjyJ5PnwgdES4Bl3xRFbN6QqljqKmPo2dilrbiLybtjAGMW1kJnBv0bgTTl g6ZHuVeQF+ANDWTS5tlZJLrAsuWbvR1C6t4DYspWIzpHwK6KbybYVybaZbEz9aNBqNuX 6GIw== X-Received: by 10.180.76.231 with SMTP id n7mr3067559wiw.65.1440750076333; Fri, 28 Aug 2015 01:21:16 -0700 (PDT) Original-Received: from Rainers-MacBook-Pro.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by smtp.gmail.com with ESMTPSA id 4sm6823145wjt.46.2015.08.28.01.21.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Aug 2015 01:21:15 -0700 (PDT) In-Reply-To: <87vbc0pgkp.fsf@free.fr> (Julien Cubizolles's message of "Thu, 27 Aug 2015 23:27:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.178 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:106882 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Julien Cubizolles writes: > Rainer M Krug writes: > > >> There is one program accessing the mail folder: dovecot - no conflicts, = race >> conditions, no slightly different formats, standards, ... And you can >> also remotely access dovecot if you want to. > > Because otherwise, you would have Gnus and offlineimap competing for > access ? I have not actually experienced this, but I was afraid tat, especially simultaneous write access to the mailbox files cal lead to corruption or errors due to simultaneous access.=20 > >> By the way: the dovecot daemon is not permanently running, as I am using >> the shell access from gnus: >> >> ,---- >> | (nnimap-shell-program "/usr/local/opt/dovecot/libexec/dovecot/imap -o = mail_location=3Dmaildir:$HOME/Maildir"))) >> `---- >> >> The same from offlineimap: >> >> ,---- >> | preauthtunnel =3D /usr/local/opt/dovecot/libexec/dovecot/imap -o mail_= location=3Dmaildir:$HOME/Maildir >> `---- >> >> and offlineimap only reads the emails from the maildir. > > That looks interesting, I'll try it. > >> And I have found the following two functions to open the same message >> which is open in gnus in notmuch and the other way around: >> >> ** In notmuch jump to gnus folder > > I think you forgot the other way around :-) Sorry - here is it: ,---- | ** In gnus jump to notmuch | Thanks to [[notmuch:id:87fvn4j45h.fsf@thinkpad-t61.fritz.box][Email from = Tassilo Horn: Re: How to get message-id from]] | #+begin_src emacs-lisp | (defun rmk/gnus-goto-message-in-notmuch () | (interactive) | (unless (buffer-live-p gnus-summary-buffer) | (user-error "No open Gnus summary buffer!")) | (let ((message-id (substring (with-current-buffer gnus-summary-buffer | (mail-header-id (gnus-summary-article-he= ader))) 1 -1))) | (message message-id) | (notmuch-tree (concatenate 'string "id:" message-id)) ;; Now do the n= otmuch stuff | )) | #+end_src `---- > >> Hope this helps, > > I'm sure it will, thanks a lot. Great. Cheers, Rainer > > Julien. > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQEcBAEBCAAGBQJV4Bn6AAoJENvXNx4PUvmCFukIAJBWIydm3BCJmlPs4iBhl6Xl XMUAckqFq0/ochAr7/A4IhSciq7Ft4vg4Du0JhzNUnvfUs8NeesBvSYncZZNIFjU ufqknhnU9Sf5Ix+2dorQXay8RghDoXHs4jRPSNbh3RV/qzhIoEhL15IZshmkXckq AwyrRzzob1A+2045QUWsCgDDWM0ExjBB01kOG2rfCo+FI3hqLnLcU8BT3l4cSXP9 Gszb0Yiz4i4WJtlouaK2ZwvEh9WW2jxvyG8PWuSnAnG6PbFvBgh6RPvVBCbE1dig iDItjxjRyqKhBCxW8Tad3M4KCDP22UwRf4R4kiEWC7JpOukAGSRHMpxgTLE32Pk= =sh2a -----END PGP SIGNATURE----- --=-=-=--