From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: lispref Timer section Date: Fri, 30 Mar 2007 09:22:58 +0200 Message-ID: <87lkhfkxf1.fsf@ambire.localdomain> References: <6l648jh5ju.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175239429 21514 80.91.229.12 (30 Mar 2007 07:23:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2007 07:23:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 30 09:23:42 2007 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 1HXBSX-0007Lj-M8 for ged-emacs-devel@m.gmane.org; Fri, 30 Mar 2007 09:23:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXBVC-0001u7-8t for ged-emacs-devel@m.gmane.org; Fri, 30 Mar 2007 02:26:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HXBV9-0001tn-A7 for emacs-devel@gnu.org; Fri, 30 Mar 2007 03:26:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HXBV7-0001tT-F2 for emacs-devel@gnu.org; Fri, 30 Mar 2007 03:26:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXBV7-0001tL-9B for emacs-devel@gnu.org; Fri, 30 Mar 2007 02:26:21 -0500 Original-Received: from smtp-out3.libero.it ([212.52.84.43]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HXBSH-0004VT-69; Fri, 30 Mar 2007 03:23:26 -0400 Original-Received: from localhost (172.31.0.45) by smtp-out3.libero.it (7.3.120) id 45D9985C02A48177; Fri, 30 Mar 2007 09:22:51 +0200 X-Scanned: with antispam and antivirus automated system at libero.it Original-Received: from smtp-out2.libero.it ([172.31.0.38]) by localhost (asav-out4.libero.it [192.168.32.32]) (amavisd-new, port 10024) with ESMTP id rqN8Z+vqwW7b; Fri, 30 Mar 2007 09:22:51 +0200 (CEST) Original-Received: from ambire.localdomain (151.21.32.188) by smtp-out2.libero.it (7.3.120) id 45D997EE03313421; Fri, 30 Mar 2007 09:22:51 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.50) id 1HXBRq-0000iK-OJ; Fri, 30 Mar 2007 09:22:58 +0200 In-Reply-To: <6l648jh5ju.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu\, 29 Mar 2007 21\:40\:53 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:68772 Archived-At: () Glenn Morris () Thu, 29 Mar 2007 21:40:53 -0400 Do I misunderstand, or is the section "Timers for Delayed Execution" in the lispref totally misleading when it speaks about absolute values for TIME in run-at-time? It claims that "Absolute times may be specified in a wide variety of formats", but this seems false. run-at-time uses diary-entry-time, which just recognizes times of day in a few simple forms ("11:23pm" etc) . Dates will be at best ignored, or at worst be wrongly parsed as times of day. sounds like a bug. perhaps `parse-time-string' is better: (let ((s "2007-03-30 09:10:11")) (list (diary-entry-time s) (parse-time-string s))) => (2007 (11 10 9 30 3 2007 nil nil nil)) thi