Gnus development mailing list
 help / color / mirror / Atom feed
From: Marco Lonsing <Marco.Lonsing@ruhr-uni-bochum.de>
Subject: Re: New group parameter move-to ?
Date: Fri, 01 Mar 2002 10:50:32 +0100	[thread overview]
Message-ID: <m3adtshb13.fsf@linux.num1.ruhr-uni-bochum.de> (raw)
In-Reply-To: <m3it8ghbto.fsf@linux.num1.ruhr-uni-bochum.de> (Marco Lonsing's message of "Fri, 01 Mar 2002 10:33:23 +0100")

Marco Lonsing <Marco.Lonsing@ruhr-uni-bochum.de> writes:

> 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.

O.K. the problem seems to be in  gnus-get-split-value it calls
my-default-name, which returns a valid group name and pushes
gnus-article-save-directory to this string. This seems to be a
reasonable default for article saving, but not for copying/moving.

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/



  reply	other threads:[~2002-03-01  9:50 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: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 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 [this message]
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-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=m3adtshb13.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).