From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14017 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.user Subject: Re: nnmail-split-fancy and archiving Date: Sun, 20 Jun 2010 11:26:15 +0800 Message-ID: <87fx0i9yg8.fsf@ericabrahamsen.net> References: <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 1277004399 32208 80.91.229.12 (20 Jun 2010 03:26:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Jun 2010 03:26:39 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Jun 20 05:26:38 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 1OQBB6-0001Mq-EA for gegu-info-gnus-english@m.gmane.org; Sun, 20 Jun 2010 05:26:36 +0200 Original-Received: from localhost ([127.0.0.1]:34818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQBB5-0008H8-Ki for gegu-info-gnus-english@m.gmane.org; Sat, 19 Jun 2010 23:26:35 -0400 Original-Received: from [140.186.70.92] (port=57708 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQBB0-0008G1-Vz for info-gnus-english@gnu.org; Sat, 19 Jun 2010 23:26:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQBAz-00044C-UB for info-gnus-english@gnu.org; Sat, 19 Jun 2010 23:26:30 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:44788) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQBAz-000442-HW for info-gnus-english@gnu.org; Sat, 19 Jun 2010 23:26:29 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OQBAv-0001Jr-Hq for info-gnus-english@gnu.org; Sun, 20 Jun 2010 05:26:25 +0200 Original-Received: from 123.121.227.133 ([123.121.227.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Jun 2010 05:26:25 +0200 Original-Received: from eric by 123.121.227.133 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Jun 2010 05:26:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 57 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.121.227.133 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:+2y1G0PE/g0dlPtBJjyB15zwZGs= 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:14017 Archived-At: Eric Abrahamsen writes: > 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\\].*… It was a word boundary issue, and using the invert-partial flag, ie ("Subject" "\\[Dog Food\\]" … t), did the trick. Still having the below problem, however. It seems to behave a little differently every time I restart gnus, sometimes telling me "invalid group" when I try to enter nnml+archive:Sent, and creating new Sent groups in my regular nnml server, sometimes working as expected. > > 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