From: Sean Neakums <sneakums@zork.net>
Subject: Re: New group parameter move-to ?
Date: Thu, 28 Feb 2002 13:44:28 +0000 [thread overview]
Message-ID: <6ulmdd201v.fsf@zork.zork.net> (raw)
In-Reply-To: <m38z9dloef.fsf@linux.num1.ruhr-uni-bochum.de> (Marco Lonsing's message of "Thu, 28 Feb 2002 14:35:52 +0100")
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
<sneakums@zork.net> | (require 'gnu) | dropping, falling feather-like.
\\\\\\\\\\\\\\\\\ | | There is too much noise.
next prev parent reply other threads:[~2002-02-28 13:44 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-27 12:57 Marco Lonsing
2002-02-27 13:18 ` ShengHuo ZHU
2002-02-27 14:08 ` Marco Lonsing
2002-02-27 14:08 ` Marco Lonsing
2002-02-28 13:35 ` Marco Lonsing
2002-02-28 13:44 ` Sean Neakums [this message]
2002-02-28 13:47 ` Sean Neakums
2002-02-28 13:47 ` Sean Neakums
2002-02-28 13:44 ` Sean Neakums
2002-02-28 13:55 ` ShengHuo ZHU
2002-02-28 13:55 ` ShengHuo ZHU
2002-02-28 14:57 ` David S. Goldberg
2002-02-28 14:57 ` David S. Goldberg
2002-03-01 9:33 ` Marco Lonsing
2002-03-01 9:50 ` Marco Lonsing
2002-03-01 9:50 ` Marco Lonsing
2002-03-01 9:33 ` Marco Lonsing
2002-02-28 16:50 ` Kai Großjohann
2002-02-28 16:50 ` Kai Großjohann
2002-03-01 9:36 ` Marco Lonsing
2002-03-01 9:36 ` Marco Lonsing
2002-02-28 13:35 ` Marco Lonsing
2002-02-27 13:18 ` ShengHuo ZHU
2002-02-27 13:38 ` David S. Goldberg
2002-02-27 13:38 ` David S. Goldberg
2002-02-27 12:57 Marco Lonsing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6ulmdd201v.fsf@zork.zork.net \
--to=sneakums@zork.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).