From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Dave Love <d.love@liverpool.ac.uk>, ding@gnus.org
Cc: bugs@gnus.org
Subject: Re: fix for time-date.el
Date: Tue, 23 Dec 2008 17:41:25 +0100 [thread overview]
Message-ID: <874p0un8sq.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87abam99gx.fsf@liv.ac.uk> (Dave Love's message of "Tue, 23 Dec 2008 15:50:38 +0000")
On Tue, Dec 23 2008, Dave Love wrote:
> CL is needed for `declare'. Also note the undefined function -- what is
> that?
Did you test with Emacs 21? In Emacs 22 and up, declare is a Lisp
macro in `subr.el', assoc-string is a built-in function in
`src/minibuf.c'.
`format-seconds' (where `assoc-string' is used) is not used anywhere
in Gnus so it's not a real problem, AFAICS. (time-date.el is use in
other parts of Emacs.)
> 2008-12-23 Dave Love <fx@gnu.org>
>
> * time-date.el (cl): Require when compiling.
>
> Index: time-date.el
> ===================================================================
> RCS file: /usr/local/cvsroot/gnus/lisp/time-date.el,v
> retrieving revision 7.16
> diff -u -F^( -r7.16 time-date.el
> --- time-date.el 19 May 2008 08:47:42 -0000 7.16
> +++ time-date.el 23 Dec 2008 15:45:55 -0000
> @@ -39,6 +39,8 @@
>
> ;;; Code:
>
> +(eval-when-compile (require 'cl))
> +
> (defmacro with-decoded-time-value (varlist &rest body)
> "Decode a time value and bind it according to VARLIST, then eval BODY.
>
> @@ -290,6 +292,7 @@ (defun format-seconds (string seconds)
> (setq start (match-end 0)
> spec (match-string 1 string))
> (unless (string-equal spec "%")
> + ;; Fixme: assoc-string not defined.
> (or (setq match (assoc-string spec units t))
> (error "Bad format specifier: `%s'" spec))
> (if (assoc-string spec usedunits t)
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next parent reply other threads:[~2008-12-23 16:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87abam99gx.fsf@liv.ac.uk>
2008-12-23 16:41 ` Reiner Steib [this message]
2008-12-29 21:07 ` Dave Love
2009-01-05 16:09 ` Emacsen supported (was: fix for time-date.el) Dave Love
2009-01-05 19:17 ` Emacsen supported Steinar Bang
2009-01-05 20:48 ` Reiner Steib
2009-01-05 23:27 ` Dave Love
2009-01-05 20:41 ` fix for time-date.el Reiner Steib
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=874p0un8sq.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=bugs@gnus.org \
--cc=d.love@liverpool.ac.uk \
--cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).