From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#2681: 23.0.91; incorrect line shown by lisp compiler Date: Mon, 16 Mar 2009 11:03:54 +0100 Message-ID: References: Reply-To: Juanma Barranquero , 2681@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237199043 20949 80.91.229.12 (16 Mar 2009 10:24:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2009 10:24:03 +0000 (UTC) Cc: 2681@emacsbugs.donarmstrong.com To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 16 11:25:19 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 1LjA0V-0004xD-8F for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Mar 2009 11:25:19 +0100 Original-Received: from localhost ([127.0.0.1]:34066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lj9z8-0006Ry-RF for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Mar 2009 06:23:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lj9z5-0006RY-5E for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2009 06:23:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lj9z0-0006QX-Hs for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2009 06:23:50 -0400 Original-Received: from [199.232.76.173] (port=34823 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lj9z0-0006QU-Ck for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2009 06:23:46 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45483) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lj9yz-0005uJ-Sx for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2009 06:23:46 -0400 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 n2GANgck010893; Mon, 16 Mar 2009 03:23:42 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2GAA4pB007448; Mon, 16 Mar 2009 03:10:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juanma Barranquero Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 16 Mar 2009 10:10:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2681 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2681-submit@emacsbugs.donarmstrong.com id=B2681.12371978385372 (code B ref 2681); Mon, 16 Mar 2009 10:10:03 +0000 Original-Received: (at 2681) by emacsbugs.donarmstrong.com; 16 Mar 2009 10:03:58 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2GA3tdl005366 for <2681@emacsbugs.donarmstrong.com>; Mon, 16 Mar 2009 03:03:56 -0700 Original-Received: by nf-out-0910.google.com with SMTP id d3so755493nfc.31 for <2681@emacsbugs.donarmstrong.com>; Mon, 16 Mar 2009 03:03:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dqvJO3evXnSVgF4AvZmLhURF0VPHDbhen+dlvuQS7GY=; b=dGOK2M7nhnuj4z/F+OfRaUElfuZ/FSabDLvMf/q7U9nX9ZtuqHyxUKyuFBD7xIcekm L3So2DRywYsjIl33/0JsAsWH5cMhauN6qob7yDaxCGEYFayG0SU94GXTxIL875IuSOVR /bVjnnMgTsKzgbYLh1lLyxm47PcpfBYyHAg9o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=q+vsz9sMHDFsXYyOSbCRBK9u3hED1JbYmVuBXlaKZW+rbBS8Z4bfFPRuw4UtaJHKtD EljG8pe+byvVl/94SrKiQNGciyVk+kFJ99Ix2zfDQaW/6FTB6prFmncBeYJUj0cBAUbJ mgYhYPl2n0TIgGG62xdzxWPA1bCl6US9xY6vs= Original-Received: by 10.210.113.16 with SMTP id l16mr3562187ebc.63.1237197834634; Mon, 16 Mar 2009 03:03:54 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 16 Mar 2009 06:23:50 -0400 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:26390 Archived-At: On Mon, Mar 16, 2009 at 05:16, Kenichi Handa wrote: > In test: > temp.el:4:11:Warning: `=' called with 1 arg, but requires 2 > temp.el:4:14:Warning: `length' called with 2 args, but requires 1 > > But the bug is on 6th line, not the 4th line. In a simpler test: (defun test (v) (or (= (length v 0)) (= (length v) 1))) produces test.el:2:8:Warning: `=' called with 1 arg, but requires 2 test.el:3:11:Warning: `length' called with 2 args, but requires 1 but after changing the second `length' (defun test (v) (or (= (length v 0)) (= (safe-length v) 1))) the error output is correct: test.el:2:8:Warning: `=' called with 1 arg, but requires 2 test.el:2:11:Warning: `length' called with 2 args, but requires 1 Juanma