Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* problem with a nnmail-split-fancy
@ 2010-01-05 13:33 Berthold Hoellmann
  2010-01-05 17:45 ` Reiner Steib
  0 siblings, 1 reply; 2+ messages in thread
From: Berthold Hoellmann @ 2010-01-05 13:33 UTC (permalink / raw)
  To: info-gnus-english


I do have a problem with a spliiting rule for "nnmail-split-fancy".

I want mails with subject "Deleted: (SLD-56) ..." moved to the folder
"issue.SLD-56". I use the rule:

  ("subject" 
   "Deleted: (\\([[:upper:]]\\{3\\}-[[:digit:]]+\\)).*" 
   "issue.\\2")

The rule almost works, but the folder used is "issue.sld-56" instead of
"issue.SLD-56". Is there a way of fixing this?

Thanks
Berthold Höllmann
-- 
                            __   Address:
                         G /  \ L Germanischer Lloyd
phone: +49-40-36149-7374 -+----+- Vorsetzen 35       P.O.Box 111606
fax  : +49-40-36149-7320   \__/   D-20459 Hamburg    D-20416 Hamburg

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem with a nnmail-split-fancy
  2010-01-05 13:33 problem with a nnmail-split-fancy Berthold Hoellmann
@ 2010-01-05 17:45 ` Reiner Steib
  0 siblings, 0 replies; 2+ messages in thread
From: Reiner Steib @ 2010-01-05 17:45 UTC (permalink / raw)
  To: info-gnus-english

On Tue, Jan 05 2010, Berthold Hoellmann wrote:

>   ("subject" 
>    "Deleted: (\\([[:upper:]]\\{3\\}-[[:digit:]]+\\)).*" 
>    "issue.\\2")
>
> The rule almost works, but the folder used is "issue.sld-56" instead of
> "issue.SLD-56". Is there a way of fixing this?

,----[ (info "(gnus)Splitting Mail") ]
|                       [...]  The first string may contain `\\1' forms,
| like the ones used by `replace-match' to insert sub-expressions from
| the matched text.  For instance:
| 
|      ("list.\\1" "From:.* \\(.*\\)-list@majordomo.com")
| 
| In that case, `nnmail-split-lowercase-expanded' controls whether the
| inserted text should be made lowercase.  *Note Fancy Mail Splitting::.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-05 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-05 13:33 problem with a nnmail-split-fancy Berthold Hoellmann
2010-01-05 17:45 ` Reiner Steib

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