From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: New group parameter move-to ?
Date: Thu, 28 Feb 2002 08:55:10 -0500 [thread overview]
Message-ID: <a5ld5l$rk2$1@quimby2.netfonds.no> (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")
Marco Lonsing <Marco.Lonsing@ruhr-uni-bochum.de> writes:
> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
>
>> Why not use gnus-move-split-methods ? For example,
>>
>> (setq gnus-move-split-methods
>> '((".*" "nnml:my.default.archive")))
>
> 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?
Try this. Maybe there is a better solution.
(setq gnus-move-split-methods
'(((if (string-match "nnimap\\+rub:\\(.*\\)" gnus-newsgroup-name)
(list (replace-match "nnml:\\1" nil nil gnus-newsgroup-name))))))
ShengHuo
next prev parent reply other threads:[~2002-02-28 13:55 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 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
2002-02-28 13:44 ` Sean Neakums
2002-02-28 13:47 ` Sean Neakums
2002-02-28 13:47 ` Sean Neakums
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 13:55 ` ShengHuo ZHU [this message]
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 16:50 ` Kai Großjohann
2002-02-28 13:35 ` Marco Lonsing
2002-02-27 13:38 ` David S. Goldberg
2002-02-27 13:38 ` David S. Goldberg
-- strict thread matches above, loose matches on Subject: below --
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='a5ld5l$rk2$1@quimby2.netfonds.no' \
--to=zsh@cs.rochester.edu \
/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).