From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60795 Path: news.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.gnus.general Subject: gnus-treat-date-lapsed + gnus-treat-date-user-defined Date: Fri, 19 Aug 2005 02:08:24 -0700 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1124462296 28100 80.91.229.2 (19 Aug 2005 14:38:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2005 14:38:16 +0000 (UTC) Original-X-From: ding-owner+M9327=ding+2Daccount=gmane.org@lists.math.uh.edu Fri Aug 19 16:38:14 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E67yS-0001Pt-Gn for ding-account@gmane.org; Fri, 19 Aug 2005 16:36:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1E67yR-0005Ra-04 for ding-account@gmane.org; Fri, 19 Aug 2005 09:35:59 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1E62rZ-0004n7-00 for ding@lists.math.uh.edu; Fri, 19 Aug 2005 04:08:33 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1E62rX-0006bT-7v for ding@lists.math.uh.edu; Fri, 19 Aug 2005 04:08:31 -0500 Original-Received: from roar.cs.berkeley.edu ([128.32.35.215] helo=roar.quarl.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1E61vS-00051E-00 for ; Fri, 19 Aug 2005 10:08:30 +0200 Original-Received: by roar.quarl.org (Postfix, from userid 18378) id D0CD05C0A9; Fri, 19 Aug 2005 02:08:24 -0700 (PDT) Original-To: Gnus development list X-Quack-Archive: 1 X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60795 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60795 I use both `gnus-treat-date-user-defined' and `gnus-treat-date-lapsed', with `(setq gnus-article-date-lapsed-new-header t)'. This combination used to work, but recently something changed (I couldn't find anything relevant in cvs diffs or ChangeLog). The problem is `gnus-article-date-lapsed' is run after `gnus-treat-date-user', and `gnus-treat-date-user' deletes both the Date: and X-Sent: headers when writing the new Date: header. I imagine the date-{original,iso8601} have the same problem. The below patch fixes it by simply reordering them. In the long term, a better solution would be: - `gnus-treat-date-lapsed' only adds X-Sent:; never deletes Date: - A new `gnus-treat-delete-date' deletes Date: - Un-combine the X-Sent: and Date: reformatting functions diff -u /usr/local/stow/emacs-cvs-20050817/share/emacs/22.0.50/lisp/gnus/.backup/gnus-art.el.\~1\~ /usr/local/stow/emacs-cvs-20050817/share/emacs/22.0.50/lisp/gnus/gnus-art.el --- /usr/local/stow/emacs-cvs-20050817/share/emacs/22.0.50/lisp/gnus/.backup/gnus-art.el.~1~ 2005-08-06 12:51:41.000000000 -0700 +++ /usr/local/stow/emacs-cvs-20050817/share/emacs/22.0.50/lisp/gnus/gnus-art.el 2005-08-19 01:57:12.000000000 -0700 @@ -1481,10 +1481,10 @@ (gnus-treat-date-ut gnus-article-date-ut) (gnus-treat-date-local gnus-article-date-local) (gnus-treat-date-english gnus-article-date-english) - (gnus-treat-date-lapsed gnus-article-date-lapsed) (gnus-treat-date-original gnus-article-date-original) (gnus-treat-date-user-defined gnus-article-date-user) (gnus-treat-date-iso8601 gnus-article-date-iso8601) + (gnus-treat-date-lapsed gnus-article-date-lapsed) (gnus-treat-display-x-face gnus-article-display-x-face) (gnus-treat-display-face gnus-article-display-face) (gnus-treat-hide-headers gnus-article-maybe-hide-headers) -- Karl 2005-08-19 02:00