bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2453: marked as done (elint args for encode-time)


From: Emacs bug Tracking System
Subject: bug#2453: marked as done (elint args for encode-time)
Date: Tue, 24 Feb 2009 03:40:07 +0000

Your message dated Mon, 23 Feb 2009 22:30:40 -0500
with message-id <address@hidden>
and subject line Re: bug#2453: elint args for encode-time
has caused the Emacs bug report #2453,
regarding elint args for encode-time
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact address@hidden
immediately.)


-- 
2453: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2453
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: elint args for encode-time Date: Tue, 24 Feb 2009 08:58:45 +1100 User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)
In a buffer containing

    (encode-time 0 0 0 1 1 2009)

the commands

    M-x elint-initialize
    M-x elint-current-buffer

leave in the *Elint* buffer an error

    Wrong number of args: (encode-time 0 0 0 1 1 2009), (second minute hour day 
month year zone &rest args)

where I believe 6 args to encode-time is right, and should pass the
checks.

I suspect it's elint-unknown-builtin-args making the "zone" arg
mandatory, per below.


Incidentally, can some of the overrides in that list be handled in the
code nowadays?  Running

    (elint-find-builtin-args '(encode-time))

gives back `fn' instead of the function name, matched out of the
docstring (documentation 'encode-time).  Maybe that could be
transformed, or maybe some of the help funcs can do that already.




In GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-11-10 on raven, modified by Debian
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' 
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' 
'--localstatedir=/var/lib' '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim'
 '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g 
-O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_AU
  locale-coding-system: iso-8859-1
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  iswitchb-mode: t
  show-paren-mode: t
  encoded-kbd-mode: t
  file-name-shadow-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t


2009-02-24  Kevin Ryde  <address@hidden>

        * emacs-lisp/elint.el (elint-unknown-builtin-args): Correction to args
        for encode-time.

Attachment: elint.el.unknown-builtin.diff
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#2453: elint args for encode-time Date: Mon, 23 Feb 2009 22:30:40 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Kevin Ryde wrote:

> I suspect it's elint-unknown-builtin-args making the "zone" arg
> mandatory, per below.

Fixed.

>     (elint-find-builtin-args '(encode-time))
>
> gives back `fn' instead of the function name

Fixed.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]