Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Andrew Raines <aa@raines.ws>
Subject: Re: store sent mail and incoming mail in one group?
Date: Tue, 19 Jul 2005 15:22:44 -0500	[thread overview]
Message-ID: <u8y02czqj.fsf@raines.ws> (raw)
In-Reply-To: <871x5wvgn9.fsf@tux.edennetwork>

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)


  parent reply	other threads:[~2005-07-19 20:22 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 [this message]
2005-07-20  8:33   ` Xiao-Yong Jin

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=u8y02czqj.fsf@raines.ws \
    --to=aa@raines.ws \
    /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).