From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43694 Path: quimby.gnus.org!not-for-mail From: Sean Neakums Newsgroups: gmane.emacs.gnus.general Subject: Re: New group parameter move-to ? Date: Thu, 28 Feb 2002 13:44:28 +0000 Message-ID: References: <2nsn7noyg1.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1014904212 27808 195.204.10.66 (28 Feb 2002 13:50:12 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 28 Feb 2002 13:50:12 GMT Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16gQwl-0007EI-00; Thu, 28 Feb 2002 14:50:11 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16gQrk-00049m-00; Thu, 28 Feb 2002 07:45:00 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 28 Feb 2002 07:45:02 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id HAA00637 for ; Thu, 28 Feb 2002 07:44:51 -0600 (CST) Original-Received: (qmail 5439 invoked by alias); 28 Feb 2002 13:44:45 -0000 Original-Received: (qmail 5434 invoked from network); 28 Feb 2002 13:44:44 -0000 Original-Received: from zork.zork.net (66.92.188.166) by gnus.org with SMTP; 28 Feb 2002 13:44:44 -0000 Original-Received: from sneakums by zork.zork.net with local (Exim 3.34 #1 (Debian)) id 16gQrF-00049W-00; Thu, 28 Feb 2002 05:44:29 -0800 Original-To: 24th Century Technology X-Message-Flag: Message text advisory: BRAZEN SELF-DECEIT, GRAVE ILL-JUDGEMENT X-Mailer: Norman Mail-Followup-To: 24th Century Technology In-Reply-To: (Marco Lonsing's message of "Thu, 28 Feb 2002 14:35:52 +0100") Original-Lines: 24 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: quimby.gnus.org gmane.emacs.gnus.general:43694 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43694 commence Marco Lonsing quotation: > Most of the time I need to copy from nnimap groups to the > corresponding group on an nnml backend I tried > > (setq gnus-move-split-methods '(((string-match "nnimap\\+rub:\\(.*\\)" > gnus-newsgroup-name) "nnml+mail:\\1"))) > > but the regexp-match isn't recognised in the destination group. Is > there another way to achieve this? In general, to get the at the subexpressions matched by string-match, you need to use the match-string function. So instead of "nnml+mail:\\1", you might write: (concat "nnml+mail:" (string-match 1 gnus-newsgroup-name)) There might be a better way to do that in this specific instance, though. -- ///////////////// | | The spark of a pin | (require 'gnu) | dropping, falling feather-like. \\\\\\\\\\\\\\\\\ | | There is too much noise.