From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: OSX Mail app =?utf-8?Q?=E2=86=92?= Emacs ? Date: Sat, 03 Jun 2017 10:51:03 +0200 Message-ID: <877f0t4fpk.fsf@fastmail.fm> References: <878tl94khc.fsf@fastmail.fm> <8F58DEF4-0961-42F7-B09C-3A628F35B049@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1496479913 17221 195.159.176.226 (3 Jun 2017 08:51:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Jun 2017 08:51:53 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 25.2.50.1 Cc: Help Gnu Emacs mailing list To: Jean-Christophe Helary Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 03 10:51:48 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dH4mh-000486-H1 for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jun 2017 10:51:47 +0200 Original-Received: from localhost ([::1]:52966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dH4ml-0002ua-Ec for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jun 2017 04:51:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dH4m6-0002t1-EI for help-gnu-emacs@gnu.org; Sat, 03 Jun 2017 04:51:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dH4m3-0003Kn-CF for help-gnu-emacs@gnu.org; Sat, 03 Jun 2017 04:51:10 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:38585) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dH4m2-0003Hq-PD for help-gnu-emacs@gnu.org; Sat, 03 Jun 2017 04:51:07 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C3F9120909; Sat, 3 Jun 2017 04:51:05 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sat, 03 Jun 2017 04:51:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=7hx56MEI5qNtMrudKVvDYF4FUvQXrUBMaB4AcHVhg OY=; b=r0sPED6WKAn7ntUfwycgJ8JeSKRaDKq9DCPcB0FoKEiLHq1f6z/zsD6Eb GbH0yRpHM+oiQYKt9+58TDQNPgVqZG9bf1QWDzkdRbDNZ6EMmkbH6STM8KJgrphJ kTp/mdtVeut5CIi7OpDXdn6m+1qRhX95GzumF5/01OXEuqrn0UR7odCzAq8lwnzK R9Lgszm3nQCCuegKnBXEmnuLn/ILsxYQNzixqdNjVCrv8gn58ndDA+B7aqeD2iBW zqJwLOGfn9Hmf1H2iEz9NLyQobNUMHffBTEUU+yrqvy0KrTFxsrRgAWE6bWUbYjY DBAG0IdtWabltG6r/27WCle+9zcvQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=7hx56MEI5qNtMrudKV vDYF4FUvQXrUBMaB4AcHVhgOY=; b=DtfDKZVr99dLKEqpP3Rclsi8FGmbTvUMIC ofEbEfJwtvp+NAIFSMWqxpEFBSbgY3aC+3RZ3xLsDyosL529Ipqvub6u2iKCjLlp 02BZYhNj20SgALPo1q+TiW+nY4Lk4VU9fxPFUMii7PPYFVvoYVvYWQyqImmZ9QN/ pME+5FJPH7ZndY0UCYIRdrG6Fx7obIKodoU25YxEtk9mGBD1+3XIp2FI1FHxb6SC gNSVbanVY54rfojcIhWSA7WX5r+sYRCwSjDl19UEJLNG7jkkDa8Yr/TlubASPKIB 7z1yiFbqdbnPOPXUUej5pJowntM+YyQkjE27E25M8Lgj0SlgWgaw== X-ME-Sender: X-Sasl-enc: nBCfoX29PqHGYFbBFLmS1q1861ci5SNAthnC+vHU9a5e 1496479865 Original-Received: from IdeaPad.messagingengine.com (x4dbb2276.dyn.telefonica.de [77.187.34.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 220147E815; Sat, 3 Jun 2017 04:51:05 -0400 (EDT) In-reply-to: <8F58DEF4-0961-42F7-B09C-3A628F35B049@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113340 Archived-At: On Sat, Jun 03 2017, Jean-Christophe Helary wrote: > Before moving to Mac, and before UTF-8 was widely used, I was > using a Debian machine with Mutt. So I had a setting for French > mails, and another setting for Japanese mails, English mails > were handled in either setting. I had fetchmail to get my pop > mail and procmail for the filtering. It was a bit complex but I > managed. That was 20 years ago. I hope things have evolved since > then :) It should definitely be possible to handle mail in different languages in the same environment nowadays. :-) > What I need though beyond a retrieval/display/sending system, is > a way to access the selected mail from the OS side. I have a > workflow that involves getting the selected mail, saving it > separately and its attachments too, marking it with a given tag > etc. > > In the Emacs based system, I'd need to have a variable that > points at that file, maybe a variable that points at its > attachments, a way to "tag" the mail (I have half a dozen > different tags), and I guess that's it for now... I can't tell whether that work flow can be copied directly into Emacs, but it sounds like you might benefit from integrating your mail with Org. Mu4e allows you to create Org links to specific messages, which you can then use in capture templates or insert directly into an Org buffer. I suspect similar functionality exists for Gnus. IIUC both mu4e and notmuch also support `X-Label:' headers, which you may be able to use for tagging. I don't know the details though, so you'd have to Google that a bit. But if you integrate Org into your mail work flow, you may be able to forego saving and tagging email, and just do all the tagging in your Org file. HTH -- Joost Kremers Life has its moments