From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Gabor Z. Papp <gzp@papp.hu>
Cc: ding@gnus.org
Subject: Re: X-Sent with Ma Gnus
Date: Fri, 31 May 2013 20:43:50 +0900 [thread overview]
Message-ID: <b4mk3mfjrwp.fsf@jpl.org> (raw)
In-Reply-To: <x6hahjpn1p@gzp>
Gabor Z. Papp wrote:
> * Katsumi Yamaoka <yamaoka@jpl.org>:
>|> ...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 <C-c C-f> 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.
next prev parent reply other threads:[~2013-05-31 11:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-22 9:14 Gabor Z. Papp
2013-03-22 10:42 ` Katsumi Yamaoka
2013-03-22 11:59 ` Gabor Z. Papp
2013-03-24 23:14 ` Katsumi Yamaoka
2013-05-31 8:32 ` Gabor Z. Papp
2013-05-31 11:43 ` Katsumi Yamaoka [this message]
2013-05-31 18:53 ` Gabor Z. Papp
2013-06-04 8:14 ` Katsumi Yamaoka
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=b4mk3mfjrwp.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.org \
--cc=gzp@papp.hu \
/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).