From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67258 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: Usage of gnus mailing list mode Date: Fri, 22 Aug 2008 13:58:30 +0200 Message-ID: References: <87fxoyifjg.fsf@thinkpad.tsdh.de> <87ej4hwcog.fsf@thinkpad.tsdh.de> <87tzdduvy8.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219406337 19815 80.91.229.12 (22 Aug 2008 11:58:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 11:58:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15709@lists.math.uh.edu Fri Aug 22 13:59:50 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KWVIw-0001XP-8R for ding-account@gmane.org; Fri, 22 Aug 2008 13:59:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KWVHp-0007w4-86; Fri, 22 Aug 2008 06:58:37 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KWVHo-0007vs-46 for ding@lists.math.uh.edu; Fri, 22 Aug 2008 06:58:36 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KWVHk-0003WI-UR for ding@lists.math.uh.edu; Fri, 22 Aug 2008 06:58:36 -0500 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KWVHm-0005Tc-00 for ; Fri, 22 Aug 2008 13:58:34 +0200 Original-Received: from kafka.physik3.gwdg.de ([134.76.92.48]) by m61s02.vlinux.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KWVI2-0003n3-FF for ding@gnus.org; Fri, 22 Aug 2008 13:58:50 +0200 Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: <87tzdduvy8.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 22 Aug 2008 13:32:15 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2.90 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67258 Archived-At: Tassilo Horn writes: >>> AFAIK, that's what 'Mail-Followup-To' and 'Mail-Copies-To' headers >>> are for (see mine). However, not many mail clients know them... >> >> Ah, nice. I'll figure out how to add these headers to my own >> messages, so that followups to me won't be duplicated. > > For the record, that's what I use now: > > (defun th-gnus-insert-special-ml-headers-maybe () > (when (save-excursion > (set-buffer (gnus-summary-buffer-name gnus-newsgroup-name)) > gnus-mailing-list-mode) > (message-add-header (concat "Mail-Followup-To: " > (gnus-group-get-parameter > gnus-newsgroup-name 'to-list)) > "Mail-Copies-To: never"))) That's the complicated version. ;-) 'Mail-Followup-To' can be generated by Gnus. You first must tell Gnus to which mailing lists your are actually subscribed to, by setting the "subscribed" group parameter (use 'G c' over the group and check "Subscribed"). Then put (setq message-subscribed-address-functions '(gnus-find-subscribed-addresses)) in your .gnus. This will set the variable 'message-subscribed-addresses' (which you can also set directly, without using the group parameter). Ah well, I'm not sure anymore that's less complicated, but this is what the manual says. ;-) See: (info "(message)Mailing Lists") and the doc to 'subscribed' in (info "(gnus)Group Parameters") Regarding 'Mail-Copies-To': You can simply include it in your posting styles, e.g. by putting (posting-style (Mail-Copies-To "never")) in a group or topic. I'm not sure that's even needed when mail-followup-to is set, but I include it anyway (many mail clients ignore it, though). Regards, David