From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75381 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Just shoot me now Date: Wed, 22 Dec 2010 08:24:32 +0100 Message-ID: <87bp4es21b.fsf@marauder.physik.uni-ulm.de> References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1293002711 6718 80.91.229.12 (22 Dec 2010 07:25:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2010 07:25:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23733@lists.math.uh.edu Wed Dec 22 08:25:06 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PVJ4L-00071d-W4 for ding-account@gmane.org; Wed, 22 Dec 2010 08:25:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PVJ46-00021D-Tt; Wed, 22 Dec 2010 01:24:51 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PVJ40-00020s-0S for ding@lists.math.uh.edu; Wed, 22 Dec 2010 01:24:44 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PVJ3y-0002qT-Ll for ding@lists.math.uh.edu; Wed, 22 Dec 2010 01:24:43 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PVJ3v-00039P-30 for ding@gnus.org; Wed, 22 Dec 2010 08:24:39 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.3/8.14.2) with ESMTP id oBM7Oa2u011039 for ; Wed, 22 Dec 2010 08:24:37 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 39CEA10776 for ; Wed, 22 Dec 2010 08:24:36 +0100 (CET) X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Followup-To: ding@gnus.org In-Reply-To: (Tommy Kelly's message of "Tue, 21 Dec 2010 18:13:28 -0600") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-dmv.com-Metrics: poseidon 1181; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-Spam-Score: 3.5 (+++) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1460--3162h-0s--0d--H*u:Emacs, 0.000-1420--3074h-0s--0d--H*u:Gnus, 0.000-1373--2972h-0s--0d--H*u:linux, 0.000-1373--2972h-0s--0d--H*UA:linux, 0.000-1316--2850h-0s--0d--H*UA:gnu Spam tokens: 0.987-1--0h-1s--3d--H*M:physik, 0.987-1--0h-1s--0d--mail, 0.987-1--0h-1s--3d--H*MI:physik, 0.937-4--2h-76s--0d--H*F:D*cc Autolearn status: no 3.0 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: foo.org] 0.0 FREEMAIL_FROM Sender email is freemail (reinersteib+gmane[at]imap.cc) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.4 FREEMAIL_REPLYTO Reply-To/From or Reply-To/body contain different freemails 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75381 Archived-At: On Wed, Dec 22 2010, Tommy Kelly wrote: > Andreas Schwab writes: > >> Because [ and ] are not word characters. See >> nnmail-split-fancy-syntax-table. > > Thanks Andreas. Unfortunately that 6,500 line variable, consisting > mostly of pairs of parens enclosing numbers, is as clear as mud :-) [...] > 5. Begin building more simple splits then stumble on > "\\[stuff\\]". Splitting isn't as keen on \\[ as it is on, say, \\. . > 6. Told that nnmail-split-fancy-syntax-table is the clue > 7. C-h v on that variable. Look. Puke. Look again. > 8. Google for "emacs lisp syntax table" > 9. Fall pretty much at the first fence on being told that a syntax table > is a "char-table" about which I know very little > 10. Start reading about what a char-table is > 11. Consider reading about "aref" and "aset" since part of the basic > description of char-tables mentions those > 12. Stop and think "Seriously!? All this Just To Split My Mail!?" Right, much too complicated. The solution is described in the manual: ,----[ (info "(gnus)Fancy Mail Splitting") ] | Normally, VALUE in these splits must match a complete _word_ | according to the fundamental mode syntax table. In other words, all | VALUE's will be implicitly surrounded by `\<...\>' markers, which are | word delimiters. Therefore, if you use the following split, for | example, | | (any "joe" "joemail") | | messages sent from `joedavis@foo.org' will normally not be filed in | `joemail'. If you want to alter this behavior, you can use any of the | following three ways: | | 1. You can set the `nnmail-split-fancy-match-partial-words' variable | to non-`nil' in order to ignore word boundaries and instead the | match becomes more like a grep. This variable controls whether | partial words are matched during fancy splitting. The default | value is `nil'. | | Note that it influences all VALUE's in your split rules. | | 2. VALUE beginning with `.*' ignores word boundaries in front of a | word. Similarly, if VALUE ends with `.*', word boundaries in the | rear of a word will be ignored. For example, the VALUE | `"@example\\.com"' does not match `foo@example.com' but | `".*@example\\.com"' does. | | 3. You can set the INVERT-PARTIAL flag in your split rules of the | `(FIELD VALUE ...)' types, aforementioned in this section. If the | flag is set, word boundaries on both sides of a word are ignored | even if `nnmail-split-fancy-match-partial-words' is `nil'. | Contrarily, if the flag is set, word boundaries are not ignored | even if `nnmail-split-fancy-match-partial-words' is non-`nil'. | (New in Gnus 5.10.7) `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/