From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#19799: Tangentally related to eww-mode Invalid Date bug just filed Date: Sun, 08 Feb 2015 11:28:52 -0800 Organization: UCLA Computer Science Department Message-ID: <54D7B8F4.6090505@cs.ucla.edu> References: <871tm2cnec.fsf@ahungry.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1423423821 6247 80.91.229.3 (8 Feb 2015 19:30:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2015 19:30:21 +0000 (UTC) Cc: 19799@debbugs.gnu.org To: Matthew Carter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 08 20:30:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YKXYb-0002lK-Nn for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Feb 2015 20:30:13 +0100 Original-Received: from localhost ([::1]:57586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKXYb-0004oW-3G for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Feb 2015 14:30:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKXYW-0004m1-KW for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 14:30:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKXYS-0000fj-M2 for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 14:30:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKXYS-0000eO-J0 for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 14:30:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YKXYR-00085F-Kq for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 14:30:03 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <871tm2cnec.fsf@ahungry.com> Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Feb 2015 19:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19799 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19799-submit@debbugs.gnu.org id=B19799.142342374230956 (code B ref 19799); Sun, 08 Feb 2015 19:30:03 +0000 Original-Received: (at 19799) by debbugs.gnu.org; 8 Feb 2015 19:29:02 +0000 Original-Received: from localhost ([127.0.0.1]:37595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKXXR-000830-OY for submit@debbugs.gnu.org; Sun, 08 Feb 2015 14:29:02 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:39853) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKXXO-00082i-O0 for 19799@debbugs.gnu.org; Sun, 08 Feb 2015 14:28:59 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id A1DD939E8020; Sun, 8 Feb 2015 11:28:52 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y3NIAbiLJ+ov; Sun, 8 Feb 2015 11:28:52 -0800 (PST) Original-Received: from [192.168.1.9] (pool-173-55-11-52.lsanca.fios.verizon.net [173.55.11.52]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 5842639E801E; Sun, 8 Feb 2015 11:28:52 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99174 Archived-At: > Would it be better to rework #'date-to-time to handle future dates in a > more graceful manner on 32-bit machines, or to have eww-mode ignore > triggers that cause it to parse dates it cannot handle? There is a variant of date-to-time that refuses to throw an error on out-of-range dates, namely safe-date-to-time. But I'm still puzzled as to why you're getting this error. date-to-time is supposed to throw a "Specified time is not representable" for out-of-range dates, but for you it's throwing some other error. Can you debug why that is happening? What happens when you run the following in your *scratch* buffer? (date-to-time "Mon, 06 Mar 2130 20:55:03 GMT") On my platform (Fedora 21 x86) if I type C-j after that, the debugger is entered with this backtrace: Debugger entered--Lisp error: (error . "Specified time is not representable") signal(error "Specified time is not representable") apply(signal (error "Specified time is not representable")) (if (equal err overflow-error) (apply (quote signal) err) (condition-case err$ (let ((overflow-error (quote (error "Specified time is not representable"))))$ (condition-case err (apply (quote encode-time) (parse-time-string date)) (err$ date-to-time("Mon, 06 Mar 2130 20:55:03 GMT") ... What happens on your platform? Also, what is your platform? What does (emacs-version) return, for starters?