From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66319 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: RSS If-Modified-Since Date: Fri, 15 Feb 2008 14:44:30 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86pruy3q6p.fsf@lifelogs.com> References: <86y79m3u0q.fsf@lifelogs.com> <87ve4q2cyf.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203108182 17528 80.91.229.12 (15 Feb 2008 20:43:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2008 20:43:02 +0000 (UTC) Cc: ding@gnus.org, emacs-devel To: jidanni@jidanni.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 15 21:43:25 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQ7P2-0005fu-KE for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2008 21:43:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQ7OY-0004Co-EW for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2008 15:42:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQ7OT-0004CQ-Qc for emacs-devel@gnu.org; Fri, 15 Feb 2008 15:42:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQ7OO-0004BT-KN for emacs-devel@gnu.org; Fri, 15 Feb 2008 15:42:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQ7OO-0004BQ-HH for emacs-devel@gnu.org; Fri, 15 Feb 2008 15:42:44 -0500 Original-Received: from mail.blockstar.com ([170.224.69.95]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQ7OO-0000h9-1g for emacs-devel@gnu.org; Fri, 15 Feb 2008 15:42:44 -0500 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com (unknown [38.98.147.130]) by mail.blockstar.com (Postfix) with ESMTP id 0F99F3F8E4B; Fri, 15 Feb 2008 13:19:53 -0800 (PST) X-Hashcash: 1:20:080215:emacs-devel@gnu.org::+c5q9SeuuZ8DnwQs:0000000000000000000000000000000000000000006U7k X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" X-Hashcash: 1:20:080215:jidanni@jidanni.org::FsVZBK8pOUZ/fTue:0000000000000000000000000000000000000000001Nz7 X-Hashcash: 1:20:080215:ding@gnus.org::MWs3eFAtZwlOvFKP:00006KpF In-Reply-To: <87ve4q2cyf.fsf@jidanni.org> (jidanni@jidanni.org's message of "Sat, 16 Feb 2008 04:15:36 +0800") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89176 gmane.emacs.gnus.general:66319 Archived-At: On Sat, 16 Feb 2008 04:15:36 +0800 jidanni@jidanni.org wrote: j> Well OK but I bet j> If-modified-since: Wednesday, 13-Feb-08 00:45:19 GMT j> means 1908. You may be right, RFC 850 doesn't specify the conversion. Sorry I didn't consider that in my original response (typical engineer response to man in balloon asking "where am I" -- "in the air" :) I don't know if the date should be 1900+x or (1900+x when x > 50, 2000+x otherwise). I'll bet that's one of the reasons RFC 850 is obsolete, so let's instead try to fix the root problem. So, what's sending that header? In Emacs 22, it seems to be lisp/url/url-util.el:url-get-normalized-date and it definitely has the behavior you noted. Since the bug may affect other things (there's a comment about Plexus servers in the code) I won't attempt to fix it myself, though it's not hard to do. Please, emacs-devel-opers, let me know if I should submit a fix. I think format-time-string is the right function to do this, but there's probably subtleties that I don't know. At least for time zones, format-time-string will handle them correctly. j> Say, I use Debian sid emacs-version "22.1.1" gnus-version "Gnus v5.11". j> If I wish to help out by reporting against a more current gnus, which j> one should I download and use? Would I have to also install a more j> current emacs? Too much trouble then... To report Gnus bugs, it's most helpful to check against the latest Gnus from CVS. That should not require an extremely new Emacs (22 should be OK), but I don't know for sure, sorry. I use Emacs from CVS for other reasons. Ted