all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: lispref Timer section
Date: Fri, 30 Mar 2007 09:22:58 +0200	[thread overview]
Message-ID: <87lkhfkxf1.fsf@ambire.localdomain> (raw)
In-Reply-To: <6l648jh5ju.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu\, 29 Mar 2007 21\:40\:53 -0400")

() Glenn Morris <rgm@gnu.org>
() 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

  reply	other threads:[~2007-03-30  7:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30  1:40 lispref Timer section Glenn Morris
2007-03-30  7:22 ` Thien-Thi Nguyen [this message]
2007-03-30 21:22 ` Richard Stallman
2007-03-30 21:41   ` Glenn Morris
2007-03-31 20:42     ` Richard Stallman
2007-03-31 23:27       ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lkhfkxf1.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.