* Moving sent items
@ 2005-05-12 6:44 Flatman
2005-05-12 7:53 ` Reiner Steib
2005-05-12 7:59 ` Maciej Matysiak
0 siblings, 2 replies; 6+ messages in thread
From: Flatman @ 2005-05-12 6:44 UTC (permalink / raw)
Hi
Is there a way to automatically move sent items to other groups ?
Thanks
Erik
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Moving sent items
2005-05-12 6:44 Moving sent items Flatman
@ 2005-05-12 7:53 ` Reiner Steib
2005-05-12 7:59 ` Maciej Matysiak
1 sibling, 0 replies; 6+ messages in thread
From: Reiner Steib @ 2005-05-12 7:53 UTC (permalink / raw)
On Thu, May 12 2005, Flatman wrote:
> Is there a way to automatically move sent items to other groups ?
(info "(gnus)Archived Messages")
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Moving sent items
2005-05-12 6:44 Moving sent items Flatman
2005-05-12 7:53 ` Reiner Steib
@ 2005-05-12 7:59 ` Maciej Matysiak
2005-05-16 20:14 ` Flatman
1 sibling, 1 reply; 6+ messages in thread
From: Maciej Matysiak @ 2005-05-12 7:59 UTC (permalink / raw)
On the 12th of May 2005 at 08:44, Flatman <flatman#swing.be> wrote:
> Is there a way to automatically move sent items to other groups ?
You can set the `Gcc' target per group in gnus-posting-styles variable.
Here's what I use:
(setq gnus-posting-styles
'((".*"
(name "Maciej Matysiak")
(signature " use gnus, not guns!"))
(message-mail-p
("Gcc" (concat "nnml:sent-mail." (format-time-string "%Y-%m"))))
(message-news-p
("Gcc" (concat "nnml:sent-news." (format-time-string "%Y-%m"))))
[...] ))
m.m.
--
use gnus, not guns!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Moving sent items
2005-05-12 7:59 ` Maciej Matysiak
@ 2005-05-16 20:14 ` Flatman
2005-05-18 5:50 ` Maciej Matysiak
0 siblings, 1 reply; 6+ messages in thread
From: Flatman @ 2005-05-16 20:14 UTC (permalink / raw)
Maciej Matysiak <phoner.ding@blah.pl> writes:
> On the 12th of May 2005 at 08:44, Flatman <flatman#swing.be> wrote:
>
>> Is there a way to automatically move sent items to other groups ?
>
> You can set the `Gcc' target per group in gnus-posting-styles variable.
> Here's what I use:
>
> (setq gnus-posting-styles
> '((".*"
> (name "Maciej Matysiak")
> (signature " use gnus, not guns!"))
> (message-mail-p
> ("Gcc" (concat "nnml:sent-mail." (format-time-string "%Y-%m"))))
> (message-news-p
> ("Gcc" (concat "nnml:sent-news." (format-time-string "%Y-%m"))))
> [...] ))
>
> m.m.
> --
> use gnus, not guns!
I tried it with gnus-message-archive-group but couldn't get it working :-(
Any idea ?
(setq gnus-message-archive-group
'((if (message-news-p)
("nnml:sent-as-news")
(
'(("\\(friend1\\|friend2\\|friend3\\)" "nnml:Friends")
(".*" "nnml:sent-as-mail"))
))))
Thanks
Erik
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Moving sent items
2005-05-16 20:14 ` Flatman
@ 2005-05-18 5:50 ` Maciej Matysiak
2005-05-22 6:40 ` Flatman
0 siblings, 1 reply; 6+ messages in thread
From: Maciej Matysiak @ 2005-05-18 5:50 UTC (permalink / raw)
On the 16th of May 2005 at 22:14, Flatman <flatman#swing.be> wrote:
> I tried it with gnus-message-archive-group but couldn't get it working :-(
What was the error?
> Any idea ?
Nope, but I know just a little lisp, and I've never used the g-m-a-g (it's
nil here).
> '(("\\(friend1\\|friend2\\|friend3\\)" "nnml:Friends")
Gnus probably doesn't know where should it apply the above regexp (I guess
you mean "To:" field in sent mail?).
I'd do that in gnus-posting-styles as described in my previous mail. You'd
need to put mail from "\\(friend1\\|friend2\\|friend3\\)" into separate
group, then assign that "nnml:Friends" for "Gcc:" header there. Should work.
m.m.
--
Please keep your lambdas fixed http://mary.had.blah.pl/
And leave your entropy alone.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Moving sent items
2005-05-18 5:50 ` Maciej Matysiak
@ 2005-05-22 6:40 ` Flatman
0 siblings, 0 replies; 6+ messages in thread
From: Flatman @ 2005-05-22 6:40 UTC (permalink / raw)
Maciej Matysiak <phoner.ding@blah.pl> writes:
> Nope, but I know just a little lisp, and I've never used the g-m-a-g (it's
> nil here).
>
>> '(("\\(friend1\\|friend2\\|friend3\\)" "nnml:Friends")
>
> Gnus probably doesn't know where should it apply the above regexp (I guess
> you mean "To:" field in sent mail?).
>
> I'd do that in gnus-posting-styles as described in my previous mail. You'd
> need to put mail from "\\(friend1\\|friend2\\|friend3\\)" into separate
> group, then assign that "nnml:Friends" for "Gcc:" header there. Should work.
Did that , works fine , thanks
Erik
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-22 6:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-12 6:44 Moving sent items Flatman
2005-05-12 7:53 ` Reiner Steib
2005-05-12 7:59 ` Maciej Matysiak
2005-05-16 20:14 ` Flatman
2005-05-18 5:50 ` Maciej Matysiak
2005-05-22 6:40 ` Flatman
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).