From: Kenichi Handa <handa@m17n.org>
To: emacs-pretest-bug@gnu.org
Subject: bug#2681: 23.0.91; incorrect line shown by lisp compiler
Date: Mon, 16 Mar 2009 13:16:36 +0900 [thread overview]
Message-ID: <E1Lj4Fg-0008JF-JP@etlken> (raw)
When I byte compile this file:
---~/temp.el------------------------------------------------
(defun test (vec)
(cond ((= (length vec) 0)
(message "LEN=0"))
((= (length vec) 1)
(message "LEN=1"))
((= (length vec 2))
(message "LEN=2"))))
------------------------------------------------------------
The *Compile-Log* buffer shows these warnings:
Compiling file /home/handa/temp.el at Mon Mar 16 13:12:33 2009
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.
---
Kenichi Handa
handa@m17n.org
next reply other threads:[~2009-03-16 4:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 4:16 Kenichi Handa [this message]
2009-03-16 10:03 ` bug#2681: 23.0.91; incorrect line shown by lisp compiler Juanma Barranquero
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=E1Lj4Fg-0008JF-JP@etlken \
--to=handa@m17n.org \
--cc=2681@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@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.