From: Eli Zaretskii <eliz@gnu.org>
To: ynyaaa@gmail.com
Cc: 24592@debbugs.gnu.org
Subject: bug#24592: 25.1; byte-compile warning indicates wrong line
Date: Mon, 03 Oct 2016 09:50:42 +0300 [thread overview]
Message-ID: <83shseori5.fsf@gnu.org> (raw)
In-Reply-To: <87zimm8c2m.fsf@gmail.com> (ynyaaa@gmail.com)
severity 24592 minor
merge 24592 24449
merge 24449 24128
thanks
> From: ynyaaa@gmail.com
> Date: Mon, 03 Oct 2016 10:18:25 +0900
>
>
> Let the contents of the file "tmp.el" be:
> (defun test (files)
> (and t (string-match 1))
> (and t (string-match 1 2)))
>
> Then input M-x byte-compile-file RET tmp.el RET
>
> *Compile-Log* buffer shows:
> In test:
> tmp.el:3:11:Warning: string-match called with 1 argument, but requires 2-3
>
> The warning must indicate the line 2.
It's a known issue that the byte compiler cannot report the lines for
warnings and errors accurately. See, for example, bug#24449,
bug#24128, etc.
prev parent reply other threads:[~2016-10-03 6:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-03 1:18 bug#24592: 25.1; byte-compile warning indicates wrong line ynyaaa
2016-10-03 6:50 ` Eli Zaretskii [this message]
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=83shseori5.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24592@debbugs.gnu.org \
--cc=ynyaaa@gmail.com \
/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.