From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.help Subject: Re: gnus & nnmaildir Date: Sat, 23 Aug 2014 14:23:08 +0200 Organization: my virtual residence Message-ID: <87r407z977.fsf@yun.yagibdah.de> References: <20140731185408.GA29871@ken-HP-Mini-110-1000> <87k362dbrw.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1408798421 1527 80.91.229.3 (23 Aug 2014 12:53:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Aug 2014 12:53:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 23 14:53:32 2014 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 1XLAp0-0002p4-Jw for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Aug 2014 14:53:30 +0200 Original-Received: from localhost ([::1]:41021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLAp0-0006oZ-8r for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Aug 2014 08:53:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLAoe-0006n4-Jw for help-gnu-emacs@gnu.org; Sat, 23 Aug 2014 08:53:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLAoY-0001SK-CW for help-gnu-emacs@gnu.org; Sat, 23 Aug 2014 08:53:08 -0400 Original-Received: from client-194-42-186-216.muenet.net ([194.42.186.216]:57160 helo=jarl.yagibdah.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLAoY-0001Qv-1b for help-gnu-emacs@gnu.org; Sat, 23 Aug 2014 08:53:02 -0400 Original-Received: from yun.yagibdah.de ([192.168.3.20]) by jarl.yagibdah.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XLAoU-0004C3-9h for help-gnu-emacs@gnu.org; Sat, 23 Aug 2014 14:52:58 +0200 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.80.1) (envelope-from ) id 1XLAoU-00039N-5Q for help-gnu-emacs@gnu.org; Sat, 23 Aug 2014 14:52:58 +0200 In-Reply-To: <87k362dbrw.fsf@debian.uxu> (Emanuel Berg's message of "Thu, 21 Aug 2014 00:41:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Mail-Followup-To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 194.42.186.216 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:99368 Archived-At: Emanuel Berg writes: >> My recommendation is to use gnus' native nnml format >> rather than maildir and set up some (fancy) mail >> splitting. Example for nnml: >> >> (setq gnus-select-method '(nnml "yun" >> (nnml-use-compressed-files ".bz2") >> (nnml-compressed-files-size-threshold 65535))) > > Yes, I can recommend nnml as well! > > What I like about it is that it uses one file for each > mail, and those are put in your user filesystem in > directories that mimic the groups, so if you need to > apply shell tools (extract information that way) it is > all very clear how it works. Having these groups is one of the big advantages over mutt. A big disadvantage is that nnml is understood by gnus exclusively. In case you want/need to be able to use different MUAs, maildir or imap work much better for that. There's also posting styles like: (setq gnus-parameters `( ("mail\\..*" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '(gnus-article-sort-by-number)) (display . [not expire]) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5k) %(%[%-23,23A%]%) %11&user-date; '%s\n") ) ;; ("mail\\.lists\\.emacs\\..*" (posting-style (organization "my virtual residence") (signature (version)))) )) > Splitting is a wonderful feature that makes mail as > sweet as news. Here is an example how it is done: > > (setq nnmail-split-methods It didn't take long before I found out that I need nnmail-split-fancy --- I don't remember why, though I'd recomment to look into fancy splitting right away. Here's an excerpt: (setq nnmail-split-methods 'nnmail-split-fancy) ;; order DOES matter ;; (| split split split ... GROUP) ;; (& split split split ... GROUP) ;; split = (HEADER REGEXP GROUP) ;; If the split is `nil', it is ignored. (setq nnmail-split-fancy '(| ("List-Id" "\\" "mail.lists.emacs.help") ("List-Id" "\\" "mail.lists.emacs.sources") ("List-Id" "\\" "mail.lists.perl.beginners") ;; mailing lists above (any ".*undisclosed.recipient.*" "mail.junk") ("Content-Type" "text/html.*" "mail.junk") ("Content-Type" "multipart/alternative.*" "mail.junk") "mail.0-incoming")) It takes quite a bit of getting used to and some trial and error to figure it out. Once you get the hang of it it's easy. I guess it's easier when you know elisp because things start to make sense; I learned it only later. > Splitting makes it possible to be on a lot of listbots > but always with the same mail; and the inbox doesn't > get flooded still, or it does, but organized and not in > your face unless told so. With mutt, I used an exim filter file. Gnus is rather slow with splitting and sometimes with building a summary buffer --- compared to mutt, which is really fast. > And you can keep - what do they call it? "family?" - > such mails can have a distinct directory (or group) as > well. Like I have "mail.per." ... >> You can, of course, stick to maildir and use it with >> gnus, which saves you the conversion. I converted and >> am not looking back to mutt; gnus is just too good :) > > Gnus is fantastic! It is just the best thing ever. I > thought Emacs was great, now I know its better than > that. > > You can just dodge the backend completely and focus on > the client. And you can read pretty much everything you want as mail ... With mutt, I was using emacs as editor anyway. Over the years, I kept looking from time to time if there's anything better. There never was until I tried gnus. > The only thing I don't like with Gnus is the way it > looks with the default options. I put a lot of work > into that. I know Gnus is 100% programmable, but first > impressions shouldn't be underestimated. For me, that > was just educational and fun to change. But I fear lots > of people won't be attracted to put that much time into > it. I have a small fan page for Gnus, with a couple > screenshots how I think it should look: > > dump - http://user.it.uu.se/~embe8573/gnus/dumps/new/group.png > page - http://user.it.uu.se/~embe8573/gnus/index.html Which font do you use? It looks good on the screenshots. > Perhaps instead of saying this I should put together a > Gnus theme? Is that something that people do? Hm, I didn't make a theme. I'm using no window decorations for emacs frames and green on black with the Source Code Pro font. > I crosspost this to gnu.emacs.gnus, this perhaps we can discuss there, > if anyone has ideas (though Gnus is certainly not off-topic on > gnu.emacs.help). Or ding.gnus.org? gnu.emacs.gnus doesn't look like a mailing list but like an uncategorized forum, and there's no way to subscribe? Perhaps we should put things on a gnus wiki, or make a category/pages for gnus on the emacs wiki? > [...] > Some people say they don't like writing and reading mails - let me > tell you, if I couldn't type, and had to use Outlook, I would *detest* > mails! Emails are the most important and most convenient way of communication to me. Outlook is unsuited to deal with more than perhaps a handful of emails per day, if that. Besides, there isn't any really good MUA for windoze. > Tools, tools, tools... If you are in a beautiful, cool garden > with the best shovel in the world, working on your digging skills, > digging for ten hours straight is paradise. Only if you love to dig. > I don't know if I should bow because I am so grateful > to Linux, Emacs, Gnus, and Usenet, *or* if I should > pound myself on the chest for finding them, and nothing > short of making them a part of me! Just unbelievable > stuff. You can always make contributions. The problem is that usually no one really cares. -- GNU Emacs 24.4.50.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-08-17 on yun.yagibdah.de