From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23803 Path: main.gmane.org!not-for-mail From: Alexandre Oliva Newsgroups: gmane.emacs.gnus.general Subject: bang fancy splits are not documented in the lisp sources Date: 04 Jul 1999 21:31:42 -0300 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035161471 4030 80.91.224.250 (21 Oct 2002 00:51:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:51:11 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id VAA00722 for ; Sun, 4 Jul 1999 21:09:16 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id UAB29355; Sun, 4 Jul 1999 20:05:27 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 04 Jul 1999 20:05:53 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id UAA28088 for ; Sun, 4 Jul 1999 20:05:44 -0500 (CDT) Original-Received: from grande.dcc.unicamp.br (grande.dcc.unicamp.br [143.106.1.11]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id VAA00658 for ; Sun, 4 Jul 1999 21:04:23 -0400 (EDT) Original-Received: from amazonas.dcc.unicamp.br (amazonas.dcc.unicamp.br [143.106.7.11]) by grande.dcc.unicamp.br (8.9.1/8.9.1) with ESMTP id VAA14037 for ; Sun, 4 Jul 1999 21:27:53 -0300 (EST) Original-Received: from cupuacu.lsd.dcc.unicamp.br (oliva@cupuacu.lsd.dcc.unicamp.br [143.106.24.145]) by amazonas.dcc.unicamp.br (8.8.5/8.8.5) with SMTP id VAA29440 for ; Sun, 4 Jul 1999 21:27:52 -0300 (EST) Original-To: ding@gnus.org Original-Lines: 14 User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:23803 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23803 --=-=-= I'm breaking the multi-feature fancy splitting patch I had submitted about two weeks ago into multiple smaller patches. My last posting was the first of this series. This is the second. Splits such as (! FUNCTION SPLIT) are not documented in the lisp sources. A patch that fixes this is attached. -- Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il {oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org} oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org} *** E-mail about software projects will be forwarded to mailing lists --=-=-= Content-Type: application/x-patch Content-Disposition: attachment; filename=bang-split.patch Index: ChangeLog from Alexandre Oliva * nnmail.el (nnmail-split-fancy): Document ! splits. Index: nnmail.el =================================================================== RCS file: /home/phd/oliva/src/.cvs/src/emacs-lisp/nnmail.el,v retrieving revision 1.1.1.2.2.1 diff -u -r1.1.1.2.2.1 nnmail.el --- nnmail.el 1999/07/05 00:27:29 1.1.1.2.2.1 +++ nnmail.el 1999/07/05 00:28:44 @@ -306,6 +306,10 @@ the buffer containing the message headers. The return value FUNCTION should be a split, which is then recursively processed. +\(! FUNCTION SPLIT): Call FUNCTION with the result of SPLIT. The + return value FUNCTION should be a split, which is then recursively + processed. + FIELD must match a complete field name. VALUE must match a complete word according to the `nnmail-split-fancy-syntax-table' syntax table. You can use \".*\" in the regexps to match partial field names or words. --=-=-=--