From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13648 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.user Subject: Re: Delayed messages with "revealing" Date header? Date: Fri, 12 Feb 2010 10:40:17 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265942431 17947 80.91.229.12 (12 Feb 2010 02:40:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2010 02:40:31 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Feb 12 03:40:27 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NflSE-0004QN-JV for gegu-info-gnus-english@m.gmane.org; Fri, 12 Feb 2010 03:40:26 +0100 Original-Received: from localhost ([127.0.0.1]:43621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NflSD-0003WS-L9 for gegu-info-gnus-english@m.gmane.org; Thu, 11 Feb 2010 21:40:25 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 45 Injection-Date: Fri, 12 Feb 2010 01:40:30 +0000 (UTC) Injection-Info: feeder.eternal-september.org; posting-host="g0vw1CnObmyIWqaEfSUYDw"; logging-data="1685"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WgbPUmZsQN27n9gTjg+OX" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.92 (gnu/linux) 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&( Cancel-Lock: sha1:OU44FSO1zKj5/FT8x9MRR0OR9u0= sha1:CtIOyWM70pxmzY93MqtGV5OB2pg= Original-Xref: news.stanford.edu gnu.emacs.gnus:84031 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13648 Archived-At: >>>>> Tim Landscheidt wrote: > When I delay a message with C-c C-j, the message gets a > Date header with the current time (visible in the delayed > group) that is not filtered when the message is sent. This > results in a message sent at time Y that is clearly labelled > as having been written at time X - though in most cases I > would assume the intention would be to pretend it having > been written at time Y. Is this an issue with my setup > (Gnus 5.13) or is my use case so uncommon? :-) The present behavior seems faithful to RFC2822: ,---- | 3.6.1. The origination date field 3.6.1. | [...] | The origination date specifies the date and time at which the | creator of the message indicated that the message was complete | and ready to enter the mail delivery system. For instance, this | might be the time that a user pushes the "send" or "submit" | button in an application program. In any case, it is | specifically not intended to convey the time that the message is | actually transported, but rather the time at which the human or | other creator of the message has put the message into its final | form, ready for transport. (For example, a portable computer | user who is not connected to a network might queue a message for | delivery. The origination date is intended to contain the date | and time that the user queued the message, not the time when the | user connected to the network to send the message.) `---- You can easily override it though. ;-p (defadvice gnus-draft-send (around remove-date-header-from-delayed-message activate) "Remove Date header from delayed message in order to be redone." (if (equal (ad-get-arg 1) "nndraft:delayed") (let ((gnus-message-setup-hook (cons (lambda nil (save-restriction (message-narrow-to-headers) (if (re-search-forward "^Date:.*\n" nil t) (replace-match "")))) gnus-message-setup-hook))) ad-do-it) ad-do-it))