From: Marco Lonsing <Marco.Lonsing@ruhr-uni-bochum.de>
Subject: Re: New group parameter move-to ?
Date: Fri, 01 Mar 2002 10:33:23 +0100 [thread overview]
Message-ID: <m3it8ghbto.fsf@linux.num1.ruhr-uni-bochum.de> (raw)
In-Reply-To: <2nelj5u2wx.fsf@zsh.cs.rochester.edu> (ShengHuo ZHU's message of "Thu, 28 Feb 2002 08:55:10 -0500")
ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> 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))))))
>
This is working thank you.
Yesterday I tried the following approach and encountered a strange
error:
I set
(defun my-default-name (group)
"Return the corresponding nnml+mail group."
(let ((case-fold-search t))
(when (string-match "nnimap\\+.*:\\(.*\\)" group)
(concat "nnml+mail:" (match-string 1 group))
)))
(setq gnus-move-split-methods '((my-default-name)))
The function "my-default-name" returns the correct group name
e.g. "nnml+mail:test" but when I use this to copy/move mail, the
default suggestion is /home/marco/News/nnml+mail:test. I wasn't able
to debug this yet.
Marco
--
Marco Lonsing
Mathematik XI - Numerik email: Marco.Lonsing@ruhr-uni-bochum.de
Ruhr-Universitaet Bochum phone: +49-234-32-23244
Universitaetsstr. 150 fax : +49-234-32-03244
D-44721 Bochum, GERMANY www : http://www.ruhr-uni-bochum.de/num1/marco/
next prev parent reply other threads:[~2002-03-01 9:33 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:35 ` Marco Lonsing
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: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:33 ` Marco Lonsing [this message]
2002-03-01 9:50 ` Marco Lonsing
2002-03-01 9:50 ` 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-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=m3it8ghbto.fsf@linux.num1.ruhr-uni-bochum.de \
--to=marco.lonsing@ruhr-uni-bochum.de \
/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).