From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: RMS Setup Date: Sat, 27 Mar 2021 10:45:59 +0300 Message-ID: References: <87y2e9o6g2.fsf@posteo.net> <87r1k1ec5r.fsf@zoho.eu> <87tuoxo5sv.fsf@posteo.net> <874kgxeape.fsf@zoho.eu> <87ft0h9iq2.fsf@logand.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17167"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: help-gnu-emacs@gnu.org, Emanuel Berg To: Tomas Hlavaty Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 27 08:48:41 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQ3gW-0004L8-Bo for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 27 Mar 2021 08:48:40 +0100 Original-Received: from localhost ([::1]:52894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQ3gV-0005Q2-Cy for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 27 Mar 2021 03:48:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQ3g4-0005Og-Nh for help-gnu-emacs@gnu.org; Sat, 27 Mar 2021 03:48:12 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:35189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQ3fy-0007Rp-TH for help-gnu-emacs@gnu.org; Sat, 27 Mar 2021 03:48:11 -0400 Original-Received: from localhost ([::ffff:41.202.241.58]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001E0AB.00000000605EE333.00007BC5; Sat, 27 Mar 2021 00:48:02 -0700 Mail-Followup-To: Tomas Hlavaty , Emanuel Berg , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87ft0h9iq2.fsf@logand.com> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128703 Archived-At: * Tomas Hlavaty [2021-03-27 10:09]: > On Sat 27 Mar 2021 at 00:50, Emanuel Berg via Users list for the GNU Emacs text editor wrote: > > It certainly works but why enter the tiny shop when there is > > a HUGE one right next to it? > > > > It is like learning Czech instead of Russian... > > Czech here. Bad logic, why learn Russian instead of Chinese? What if > your logic is used for text editors? Or operating systems? Or anything > else? No need to blindly flock. Diversity is good. I got idea that this is about Gnus being better than Rmail. It may be more complex or better for somebody, but it never worked for me as I use maildirs, and Gnus cannot handle so many maildirs I have, like 48177 -- while mutt, the loyal dog https://www.mutt.org can handle that without breathing problems, by simply accessing file directories. The concept of accessing file directories is simple, yet Gnus will die on the attempt. mu4e is slow, I have already said to author that I could never even reach the time point where mu4e can show me the list of my Maildirs. Rmail cannot handle Maildirs, but is good for simple mailboxes. It can be used to handle retrieved emails, send emails, and save them. After that, I recommend `sieve' from GNU Mailutils package and automatic sorting of emails into corresponding mailboxes. That is why I send emails often from Emacs, save them in a mbox, and use sieve later to sort into specific maildirs. Maildir format comes handy for one useful feature, if all emails related to tom@example.com are sorted in ~/Maildir/tom@example.com as a directory, then the full conversation related to Tom may be retrieved or opened in a second. In fact I have made a key binding in mutt and also functions in Emacs that as soon as I find the person I can press a key and get the list of all related conversation in a second. The principle of sorting emails send TO: tom@example.com and received FROM: tom@example.com into mailbox folder named "tom@example.com" is useful regardless of the mailbox format. References: https://en.wikipedia.org/wiki/Maildir Sieve: https://mailutils.org/manual/html_section/sieve.html https://mailutils.org/manual/html_chapter/Sieve-Language.html Emails need not be sorted into Maildirs, they can be sorted into any type of email file format. Example function that saves emails from mbox created by Emacs into Maildirs related to specific email address (recipient in this case): function save-maildir-by-to () { sieve -f /your/script/dir/save-by-to.sieve" && echo Sieve DONE. } Script save-by-to.sieve: ======================== require [ "fileinto", "variables" ]; if address :matches [ "to" ] "*" { set "recipient" :lower "${1}"; fileinto "~/Maildir/${recipient}"; } Configuration ~/.mailutils: =========================== tls { enable true; } mailbox { # Use specified URL as a mailspool. mail-spool /home/data1/protected/Maildir; # Default mailbox type. mailbox-type Maildir; } Jean