From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81331 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-summary-resend-message and gcc Date: Mon, 13 Feb 2012 10:51:19 +0900 Organization: Emacsen advocacy group Message-ID: References: <87d39l15pq.fsf@waxrat.com> NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1329097924 27765 80.91.229.3 (13 Feb 2012 01:52:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2012 01:52:04 +0000 (UTC) Cc: ding@gnus.org To: Michael Cook Original-X-From: ding-owner+M29611@lists.math.uh.edu Mon Feb 13 02:52:03 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rwl5F-0005io-Ep for ding-account@gmane.org; Mon, 13 Feb 2012 02:52:01 +0100 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 1Rwl4b-0007Xv-D6; Sun, 12 Feb 2012 19:51:21 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Rwl4a-0007Xj-8V for ding@lists.math.uh.edu; Sun, 12 Feb 2012 19:51:20 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Rwl4Z-00052k-G5 for ding@lists.math.uh.edu; Sun, 12 Feb 2012 19:51:20 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Rwl4X-0005hQ-VC for ding@gnus.org; Mon, 13 Feb 2012 02:51:18 +0100 Original-Received: from localhost ([127.0.0.1]:57216) by orlando.hostforweb.net with smtp (Exim 4.69) (envelope-from ) id 1Rwl4S-0007wN-0T; Sun, 12 Feb 2012 19:51:12 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130002 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.2) Emacs/24.0.93 (i686-pc-cygwin) Cancel-Lock: sha1:fMcUvdIQFLdx0SQCiJ0cw/PweSA= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81331 Archived-At: Katsumi Yamaoka wrote: > Michael Cook wrote: [...] >> But gnus-agent-possibly-do-gcc calls gnus-inews-do-gcc, which >> seems to unconditionally do gcc. > But there should be no Gcc header in the message header then if > all is going right. The `message-resend' function modifies or > removes Gcc header according to `gnus-gcc-self-resent-messages', > so you can try this hook to see how the message header is then: > (add-hook 'message-sent-hook > (lambda nil > (copy-to-buffer (get-buffer-create "*testing*") > (point-min) (point-max)))) > ;; Consult the "*testing*" buffer after resending a message. This hook is not helpful, sorry. Maybe the best way is to edebug the `message-resend' function (and consult the " *message resend*" buffer).