From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2453: marked as done (elint args for encode-time) Date: Tue, 24 Feb 2009 03:40:07 +0000 Message-ID: References: <87eixo95nu.fsf@blah.blah> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1235446807-9015-0" X-Trace: ger.gmane.org 1235447038 23072 80.91.229.12 (24 Feb 2009 03:43:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2009 03:43:58 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 24 04:45:14 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LboEK-0006VG-LR for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Feb 2009 04:45:13 +0100 Original-Received: from localhost ([127.0.0.1]:33919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LboCz-0002eR-Oa for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Feb 2009 22:43:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LboCv-0002dR-6W for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 22:43:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LboCt-0002cH-VW for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 22:43:44 -0500 Original-Received: from [199.232.76.173] (port=53114 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LboCt-0002cB-Rm for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 22:43:43 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39469) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LboCp-0003J0-Ke; Mon, 23 Feb 2009 22:43:40 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1O3hbkT009903; Mon, 23 Feb 2009 19:43:37 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1O3e85O009147; Mon, 23 Feb 2009 19:40:08 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2453 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25645 Archived-At: This is a multi-part message in MIME format... ------------=_1235446807-9015-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 23 Feb 2009 22:30:40 -0500 with message-id 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 owner@emacsbugs.donarmstrong.com immediately.) --=20 2453: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2453 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1235446807-9015-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 23 Feb 2009 21:59:59 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1NLxtvg019608 for ; Mon, 23 Feb 2009 13:59:57 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbiqA-0008V8-Hf for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 16:59:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lbiq8-0008Uw-T5 for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 16:59:53 -0500 Received: from [199.232.76.173] (port=49864 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lbiq8-0008Ut-Kc for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 16:59:52 -0500 Received: from mailout1-5.pacific.net.au ([61.8.2.212]:38338 helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lbiq7-0004xj-Pk for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 16:59:52 -0500 Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout1.pacific.net.au (Postfix) with ESMTP id D778442B85D for ; Tue, 24 Feb 2009 08:59:41 +1100 (EST) Received: from blah.blah (ppp2657.dyn.pacific.net.au [61.8.38.87]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id EEC9927403 for ; Tue, 24 Feb 2009 08:59:40 +1100 (EST) Received: from gg by blah.blah with local (Exim 4.69) (envelope-from ) id 1Lbip4-0002bi-7k for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2009 08:58:46 +1100 From: Kevin Ryde To: bug-gnu-emacs@gnu.org Subject: elint args for encode-time Date: Tue, 24 Feb 2009 08:58:45 +1100 Message-ID: <87eixo95nu.fsf@blah.blah> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) --=-=-= 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 * emacs-lisp/elint.el (elint-unknown-builtin-args): Correction to args for encode-time. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=elint.el.unknown-builtin.diff *** elint.el 07 Jan 2009 11:29:25 +1100 1.23 --- elint.el 24 Feb 2009 08:46:25 +1100 *************** *** 107,113 **** (if cond then &rest else) (apply function &rest args) (format string &rest args) ! (encode-time second minute hour day month year zone &rest args) (min &rest args) (logand &rest args) (logxor &rest args) --- 107,113 ---- (if cond then &rest else) (apply function &rest args) (format string &rest args) ! (encode-time second minute hour day month year &optional zone) (min &rest args) (logand &rest args) (logxor &rest args) --=-=-=-- ------------=_1235446807-9015-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2453-done) by emacsbugs.donarmstrong.com; 24 Feb 2009 03:32:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1O3WtnZ007473 for <2453-done@emacsbugs.donarmstrong.com>; Mon, 23 Feb 2009 19:32:56 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lbo0G-0000Wn-Mf; Mon, 23 Feb 2009 22:30:40 -0500 From: Glenn Morris To: 2453-done@emacsbugs.donarmstrong.com Subject: Re: bug#2453: elint args for encode-time References: <87eixo95nu.fsf@blah.blah> X-Spook: MP5K-SD undercover NASA UMTS Sears Tower hackers Abbas X-Ran: g}Q/&=%=W-]66~oLqB+lgHhH'?OXC=hj6}]Pu3^!1IsEZJM}B$iFM@4p_%=j, User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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. ------------=_1235446807-9015-0--