Gnus development mailing list
 help / color / mirror / Atom feed
* fancy splitting
@ 2003-03-18 20:37 Karl Eichwalder
  2003-03-30  3:21 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Eichwalder @ 2003-03-18 20:37 UTC (permalink / raw)


Documentation on this issue is not that userfriendly; I still cannot
see how it's possible to do the right thing with mails from lists; the
dash in names seems to hurt.  This does not work:

(eval-after-load "nnmail"
  '(modify-syntax-entry ?- "w" nnmail-split-fancy-syntax-table))
(setq nnmail-split-fancy
      '(|
	;; List-Post: <mailto:emacs-devel@gnu.org>
        ;; should end in "nnml:list.emacs-devel"
	("List-Post" "mailto:\\b\\(\\w+\\)@.*" "list.\\1")
	;; X-BeenThere: emacs-devel@gnu.org
        ;; should end in "nnml:list.emacs-devel"
	("X-BeenThere" "\\b\\(\\w+\\)@.*" "list.\\1")
	"mail.rest"))

-- 
ke@suse.de (work) / keichwa@gmx.net (home):              |
http://www.gnu.franken.de/ke/                            |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fancy splitting
  2003-03-18 20:37 fancy splitting Karl Eichwalder
@ 2003-03-30  3:21 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-03-30  3:21 UTC (permalink / raw)


Karl Eichwalder <keichwa@gmx.net> writes:

> Documentation on this issue is not that userfriendly; I still cannot
> see how it's possible to do the right thing with mails from lists; the
> dash in names seems to hurt.  This does not work:

[...]

> 	("List-Post" "mailto:\\b\\(\\w+\\)@.*" "list.\\1")

I think the dashes probably don't have anything to do with it.  The
problem is that fancy mail splitting wraps everything in \b ... \b,
which means that @.* will fail.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-30  3:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-18 20:37 fancy splitting Karl Eichwalder
2003-03-30  3:21 ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).