From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5410 Path: news.gmane.org!not-for-mail From: Andrew Raines Newsgroups: gmane.emacs.gnus.user Subject: Re: store sent mail and incoming mail in one group? Date: Tue, 19 Jul 2005 15:22:44 -0500 Organization: Vanderbilt University Message-ID: References: <871x5wvgn9.fsf@tux.edennetwork> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138671134 27317 80.91.229.2 (31 Jan 2006 01:32:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:32:14 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:35:14 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!hammer.uoregon.edu!arclight.uoregon.edu!feednews.vanderbilt.edu!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: 129.59.169.154 Original-X-Trace: news-srv1.vanderbilt.edu 1121804578 6031 129.59.169.154 (19 Jul 2005 20:22:58 GMT) Original-X-Complaints-To: abuse@vanderbilt.edu Original-NNTP-Posting-Date: Tue, 19 Jul 2005 20:22:58 +0000 (UTC) X-PGP-Key: http://raines.ws/pubkey.asc Mail-Copies-To: never User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:ebAq/mgtIlcm10jv0zY2YRbcTB4= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5552 Original-Lines: 30 X-Gnus-Article-Number: 5552 Tue Jan 17 17:35:14 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5410 Archived-At: Xiao-Yong Jin 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)