From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14016 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.user Subject: nnmail-split-fancy and archiving Date: Fri, 18 Jun 2010 21:56:11 +0800 Message-ID: <87iq5gqwas.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1276869405 7342 80.91.229.12 (18 Jun 2010 13:56:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2010 13:56:45 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Jun 18 15:56:41 2010 connect(): No such file or directory Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OPc3k-0002yL-QV for gegu-info-gnus-english@m.gmane.org; Fri, 18 Jun 2010 15:56:41 +0200 Original-Received: from localhost ([127.0.0.1]:59274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPc3k-0007U5-84 for gegu-info-gnus-english@m.gmane.org; Fri, 18 Jun 2010 09:56:40 -0400 Original-Received: from [140.186.70.92] (port=37508 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPc3e-0007Pl-ID for info-gnus-english@gnu.org; Fri, 18 Jun 2010 09:56:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPc3c-0004Rd-BH for info-gnus-english@gnu.org; Fri, 18 Jun 2010 09:56:34 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56385) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPc3b-0004RG-VC for info-gnus-english@gnu.org; Fri, 18 Jun 2010 09:56:32 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OPc3a-0002sj-3z for info-gnus-english@gnu.org; Fri, 18 Jun 2010 15:56:30 +0200 Original-Received: from 123.121.193.196 ([123.121.193.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jun 2010 15:56:30 +0200 Original-Received: from eric by 123.121.193.196 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jun 2010 15:56:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 46 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.121.193.196 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:pjSD39GOOLioBq5maME9rxqv4ZQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14016 Archived-At: Okay, two more questions and then I think I'm sorted. 1. I don't seem to be able to match on square brackets within nnmail-split-fancy. Some mailing lists come with their titles in brackets before the subject, and I can't get it to match no matter what. In the *scratch* buffer, re-search-forward likes "\\[Dog Food\\]", but I've tried the following inside nnmail-split-fancy and none of them work: ("Subject" "\\[Dog Food\\]" ("Subject" "[Dog Food]" ("Subject" "\[Dog Food\]" ("Subject" "\\[Dog Food]" Changing it to "Dog Food" works fine (so I know the brackets are the issue), but "dog" and "food" are common words, and I don't want false positives. Could it be a word boundary issue? I've tried \\[Dog Food\\].*… 2. I've set gnus-message-archive-method to '(nnml "archive", plus some nnml-specific variables. The default nnfolder was fine, except that it kept the messages in mbox format, and since I have several thousand sent messages the mbox file was 800+ MB, and sending a single mail dragged my entire computer down for 30 seconds to a minute. So, nnml. But there must be something I'm still not understanding about servers/select methods. With the above setup, two entries for nnml:archive appear in the *server* buffer. I *have* to set gnus-update-message-archive-method to t, or else each nnml:archive server contains killed listings for all my groups *except* the Sent group, and I can't access my archived sent messages. With that variable set to t, the two nnml:archive entries each contain identical Sent groups in them. They are both the "real" Sent group, as they both update when I send messages. I'm hoping it will be clear to some old gnus hand what I've done wrong here. Part of it has to do with changing my setup several times as I was experimenting: right now the word "Sent" appears nowhere in my gnus.el file, yet that's what my archive group is called, and I think that's a holdover from a previous experimentation. I'd sure like to get a clean slate, and understand what is going on with the "servers". Thanks again for all the help. Despite the initial confusions, gnus is the first mail/news setup I've really felt at home in… E