From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83239 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: X-Sent with Ma Gnus Date: Fri, 31 May 2013 20:43:50 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1370000747 26825 80.91.229.3 (31 May 2013 11:45:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 May 2013 11:45:47 +0000 (UTC) Cc: ding@gnus.org To: Gabor Z. Papp Original-X-From: ding-owner+M31505@lists.math.uh.edu Fri May 31 13:45:47 2013 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 1UiNmC-0003er-Sg for ding-account@gmane.org; Fri, 31 May 2013 13:45:45 +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 1UiNkb-0002O4-LF; Fri, 31 May 2013 06:44:05 -0500 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 1UiNka-0002Ns-6A for ding@lists.math.uh.edu; Fri, 31 May 2013 06:44:04 -0500 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 1UiNkX-0006nR-Jn for ding@lists.math.uh.edu; Fri, 31 May 2013 06:44:03 -0500 Original-Received: from mail-hampton.hostforweb.net ([216.246.13.138] helo=hampton.hostforweb.net) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UiNkV-0003QY-V7 for ding@gnus.org; Fri, 31 May 2013 13:44:00 +0200 Original-Received: from localhost.localdomain ([127.0.0.1]:40330 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1UiNkO-000nUZ-0V; Fri, 31 May 2013 06:43:52 -0500 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.130008 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.8) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:Vt/ixkIKwh8cKOOkyaaIJUpVCqA= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.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-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root 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:83239 Archived-At: Gabor Z. Papp wrote: > * Katsumi Yamaoka : >|> ...there is really no way to display the original date? >| Oops, I realized that's easy to do. Here it is: >| (setq gnus-article-date-headers '(original user-defined)) >| (setq gnus-article-time-format >| (lambda (time) >| (concat "X-Sent: " (article-lapsed-string time)))) > Discovered, at forwarded messages the X-Sent header show > up twice or more > Look at: > http://imagestore.ugbox.net/image/x-sent_d44cbdcc7964b459a389866dc.jpg Confirmed. Here is a temporary measure: (defadvice article-transform-date (before delete-X-Sent-header activate) "Delete X-Sent header in advance." (save-excursion (message-remove-header "x-sent"))) One of the causes, two or more X-Sent headers appear, is that Gnus calls the function that draws a Date header twice or more. I don't know why so far. The other is that Gnus assumes the Date header begins with "Date:"; that is hard-coded. Because of this, the old X-Sent header (for the above reason, it is drawn at the first time) won't be deleted. I'd like to fix it properly, only I have no time for a while.