From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Re: OSX Mail app =?utf-8?Q?=E2=86=92?= Emacs ? Date: Sat, 03 Jun 2017 23:34:13 +0100 Message-ID: <87k24sg0pm.fsf@robertthorpeconsulting.com> References: <670AC22D-3A6F-4618-9CF3-86994F96AE29@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1496529292 14335 195.159.176.226 (3 Jun 2017 22:34:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Jun 2017 22:34:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jean-Christophe Helary Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 04 00:34:46 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 1dHHd8-0003JB-1B for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Jun 2017 00:34:46 +0200 Original-Received: from localhost ([::1]:55024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHHdB-0001Y0-N0 for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jun 2017 18:34:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHHch-0001XP-J4 for help-gnu-emacs@gnu.org; Sat, 03 Jun 2017 18:34:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHHce-0002De-Gv for help-gnu-emacs@gnu.org; Sat, 03 Jun 2017 18:34:19 -0400 Original-Received: from outbound-smtp08.blacknight.com ([46.22.139.13]:54052) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dHHce-00029P-B0 for help-gnu-emacs@gnu.org; Sat, 03 Jun 2017 18:34:16 -0400 Original-Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp08.blacknight.com (Postfix) with ESMTPS id 8E8F31C25B4 for ; Sat, 3 Jun 2017 23:34:14 +0100 (IST) Original-Received: (qmail 7699 invoked from network); 3 Jun 2017 22:34:14 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[86.180.88.48]) by 81.17.254.9 with ESMTPSA (AES128-SHA encrypted, authenticated); 3 Jun 2017 22:34:14 -0000 In-Reply-To: <670AC22D-3A6F-4618-9CF3-86994F96AE29@gmail.com> (message from Jean-Christophe Helary on Sat, 3 Jun 2017 17:41:55 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 46.22.139.13 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:113349 Archived-At: Jean-Christophe Helary writes: >> On 2017/06/03, at 17:38, Yuri Khan wrote: >>=20 >> On Sat, Jun 3, 2017 at 11:11 AM, Emanuel Berg wrote: >>=20 >>> I would recommend a backend which stores mails >>> single files (one file per mail), e.g. nnml. >>> That way you can use the shell tools on the >>> mails much easier than those >>> many-mails-in-one-file methods. >>=20 >> This is an overpromise. It *may* make using shell tools easier *if* >> your mail is all in English, and even more so if it=E2=80=99s all plain = text. > > Which is absolutely not the case. I have both plain text and html, all > in 3 different languages that use different character sets. Usually, an email contains a header that describes how it's encoded. An email client that uses mbox will copy the email and header into the mbox file. Then when the email is viewed it can look at the header and select the correct coding system. That's how Rmail works, and I think it's how GNUS works too. So, if the mbox files contain this information they will be usable despite the fact that several different languages and character sets are in use. I'm not sure though if older emails follow these conventions. If they don't then there may be problems. In that case some reprocessing may be re= quired. As other have said, you can search many mbox files using Mairix. Or, you can search one at a time using the search feature of the mail client. I do the latter, since I usually have a good idea which mbox file to look in. BR, Robert Thorpe