Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Xiao-Yong Jin <xj2106@columbia.edu>
Subject: Re: store sent mail and incoming mail in one group?
Date: Wed, 20 Jul 2005 16:33:14 +0800	[thread overview]
Message-ID: <87hdepev1x.fsf@tux.edennetwork> (raw)
In-Reply-To: <u8y02czqj.fsf@raines.ws>

Andrew Raines <aa@raines.ws> writes:

> Xiao-Yong Jin <xj2106@columbia.edu> writes:
>
>> Somehow, I want my mail group to be managed more
>> or less like the way news groups do.  That is I
>> can see my mails in sort of subject in one group
>> where both my incoming mails and sent-out mails
>> are listed.
>>
>> Does it mean what I only need is to put the sent
>> mails in the same group with my incoming mail?
>> And how?
>
> I do this.  It sets Gcc: based on what group I'm in.
> For example, mailing lists to which I'm subscribed
> will automatically send me a copy, so there's no use
> saving the one I composed.
>
>   (defun aar-gnus-outgoing-message-group ()
>     (let ((outbox "nnimap+personal:INBOX.outbox"))
>       (cond ((message-news-p) outbox)
>             ((and gnus-newsgroup-name
>                   (stringp gnus-newsgroup-name)
>                   (string-match "^\\(nnml:mail\\)\\|nnimap" gnus-newsgroup-name)
>                   (not (string-match "\\.list\\." gnus-newsgroup-name))
>                   (not (string-match "[a-z.]+\\.its\\." gnus-newsgroup-name)))
>              (list gnus-newsgroup-name)))))
>   (setq gnus-outgoing-message-group 'aar-gnus-outgoing-message-group)
>
> -- 
>     aa@raines.ws (Andrew A. Raines)

It works great for me.
Thanks.


      reply	other threads:[~2005-07-20  8:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-18  5:15 Xiao-Yong Jin
2005-07-18 16:16 ` David Z Maze
2005-07-20 12:20   ` Xiao-Yong Jin
2005-07-20 16:35     ` Ted Zlatanov
2005-07-22 15:37       ` Xiao-Yong Jin
2005-07-18 19:47 ` Jason Dufair
2005-07-20 11:44   ` Xiao-Yong Jin
2005-07-19  2:58 ` Steven Woody
2005-07-19 20:22 ` Andrew Raines
2005-07-20  8:33   ` Xiao-Yong Jin [this message]

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=87hdepev1x.fsf@tux.edennetwork \
    --to=xj2106@columbia.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).