GNU logs - #24592, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#24592: 25.1; byte-compile warning indicates wrong line
Resent-From: ynyaaa@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 03 Oct 2016 01:19:02 +0000
Resent-Message-ID: <handler.24592.B.147545753217248 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 24592
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 24592 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.147545753217248
          (code B ref -1); Mon, 03 Oct 2016 01:19:02 +0000
Received: (at submit) by debbugs.gnu.org; 3 Oct 2016 01:18:52 +0000
Received: from localhost ([127.0.0.1]:42345 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bqru8-0004U8-1C
	for submit <at> debbugs.gnu.org; Sun, 02 Oct 2016 21:18:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45837)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ynyaaa@HIDDEN>) id 1bqru6-0004Tv-Na
 for submit <at> debbugs.gnu.org; Sun, 02 Oct 2016 21:18:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ynyaaa@HIDDEN>) id 1bqru0-000099-Ee
 for submit <at> debbugs.gnu.org; Sun, 02 Oct 2016 21:18:45 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50007)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ynyaaa@HIDDEN>) id 1bqru0-000095-Bn
 for submit <at> debbugs.gnu.org; Sun, 02 Oct 2016 21:18:44 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36808)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ynyaaa@HIDDEN>) id 1bqrty-0006KL-Kf
 for bug-gnu-emacs@HIDDEN; Sun, 02 Oct 2016 21:18:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ynyaaa@HIDDEN>) id 1bqrtu-00007p-Dp
 for bug-gnu-emacs@HIDDEN; Sun, 02 Oct 2016 21:18:41 -0400
Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:32867)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ynyaaa@HIDDEN>) id 1bqrtu-00007g-6m
 for bug-gnu-emacs@HIDDEN; Sun, 02 Oct 2016 21:18:38 -0400
Received: by mail-pf0-x241.google.com with SMTP id i85so1369884pfa.0
 for <bug-gnu-emacs@HIDDEN>; Sun, 02 Oct 2016 18:18:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version;
 bh=nFr5PCZ3KRvFFQC7pAqosl1UdbYXloZbQO3tFA7IL5s=;
 b=syWKRxC1inFUKbjS85XPhKUX3R//lwyf0sLwjRHA55p8R66r7MAIhDOXx63otzSCox
 Bq/HpeshQTnaino57NGZJRBIpmtPfGg6p7rD8AFU8SnrU9fAfY08V+lTkKUdhRTbSeGA
 tewbn7v3KZZsJpcK14Sc+DQlgpz1YybcL+Q2ptAAwVWCy7A1NRqhumZ3EyyjLM4Znp4t
 Td+b6/gH35wGH0TJRpRxBOs9w0/B//RLnY/yYGbSfI8J7nXE/Rp5Qo1l68MK+u4TRQps
 gyax8V5iqTCDXBQu3dKsiXPufHk29wFjPZyGEpPpLugWhFO9BLMkfZJ50hzNVLrprBBB
 S2Og==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=nFr5PCZ3KRvFFQC7pAqosl1UdbYXloZbQO3tFA7IL5s=;
 b=YwrRl2mk9P+ZVG8iOynMhZibOieKjoKmjl/zOoVS9/aeK7VxRGT3oANjl5RvPoBYs3
 aal9WIU2T/pECg4772lKpTOCzKawPfBZ3hVn4IkYwKJMvIhEsjCJgRyJev3Nn3huiVLw
 T0St2ArvsSMV3/ge8VXoJP91OEhmHxa1jUIykBnsMQjOxgfscKSXawHv49h+kuVZ/xgW
 6CY5Yn/hrETrb7gO7ajK7v0ofNg0oMCBjVu4q0DQMcbQg9ZuvjPL+bYv5bzWc+3a7tG4
 4YjZZhESGyybQ6/n3kR9aZpIGNe6GU3rUpPFqD8hHaueOLBLeQP+QnUdh5oClc6y1qDF
 a4HA==
X-Gm-Message-State: AA6/9RljAB5yNNkdgI2jsUy6j/GSH0WFGK6qou5ctYEsVcekS75WTwQytHGoBvQxLjl2KQ==
X-Received: by 10.98.219.196 with SMTP id f187mr32462847pfg.39.1475457515935; 
 Sun, 02 Oct 2016 18:18:35 -0700 (PDT)
Received: from PNUT-PC (east49-p99.eaccess.hi-ho.ne.jp. [219.105.5.100])
 by smtp.gmail.com with ESMTPSA id ak3sm42547721pad.19.2016.10.02.18.18.34
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 02 Oct 2016 18:18:35 -0700 (PDT)
From: ynyaaa@HIDDEN
Date: Mon, 03 Oct 2016 10:18:25 +0900
Message-ID: <87zimm8c2m.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


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.



In GNU Emacs 25.1.1 (i686-w64-mingw32)
 of 2016-09-18 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.0.6002
Configured using:
 'configure --host=i686-w64-mingw32 --without-dbus
 --without-compress-install CFLAGS=-static'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: JPN
  locale-coding-system: cp932

Major mode: Emacs-Lisp

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils advice
warnings byte-opt compile comint ansi-color ring bytecomp byte-compile
cl-extra help-mode easymenu cl-loaddefs pcase cl-lib cconv time-date
mule-util japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
w32notify w32 multi-tty make-network-process emacs)

Memory information:
((conses 8 103501 6163)
 (symbols 32 20830 0)
 (miscs 32 72 238)
 (strings 16 19286 4465)
 (string-bytes 1 554956)
 (vectors 8 14798)
 (vector-slots 4 535204 5216)
 (floats 8 173 246)
 (intervals 28 315 13)
 (buffers 520 22))




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: ynyaaa@HIDDEN
Subject: bug#24592: Acknowledgement (25.1; byte-compile warning indicates
 wrong line)
Message-ID: <handler.24592.B.147545753217248.ack <at> debbugs.gnu.org>
References: <87zimm8c2m.fsf@HIDDEN>
X-Gnu-PR-Message: ack 24592
X-Gnu-PR-Package: emacs
Reply-To: 24592 <at> debbugs.gnu.org
Date: Mon, 03 Oct 2016 01:19:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 24592 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
24592: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24592
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#24592: 25.1; byte-compile warning indicates wrong line
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 03 Oct 2016 06:51:02 +0000
Resent-Message-ID: <handler.24592.B24592.147547745426763 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 24592
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: ynyaaa@HIDDEN
Cc: 24592 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 24592-submit <at> debbugs.gnu.org id=B24592.147547745426763
          (code B ref 24592); Mon, 03 Oct 2016 06:51:02 +0000
Received: (at 24592) by debbugs.gnu.org; 3 Oct 2016 06:50:54 +0000
Received: from localhost ([127.0.0.1]:42449 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bqx5R-0006xb-VG
	for submit <at> debbugs.gnu.org; Mon, 03 Oct 2016 02:50:54 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36519)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1bqx5Q-0006xJ-KC
 for 24592 <at> debbugs.gnu.org; Mon, 03 Oct 2016 02:50:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1bqx5G-0002zu-LC
 for 24592 <at> debbugs.gnu.org; Mon, 03 Oct 2016 02:50:47 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53912)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1bqx55-0002yc-Rj; Mon, 03 Oct 2016 02:50:32 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4943
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1bqx53-0006Y2-Op; Mon, 03 Oct 2016 02:50:30 -0400
Date: Mon, 03 Oct 2016 09:50:42 +0300
Message-Id: <83shseori5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <87zimm8c2m.fsf@HIDDEN> (ynyaaa@HIDDEN)
References: <87zimm8c2m.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -8.1 (--------)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -8.1 (--------)

severity 24592 minor
merge 24592 24449
merge 24449 24128
thanks

> From: ynyaaa@HIDDEN
> 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.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 3 Oct 2016 06:50:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 03 02:50:43 2016
Received: from localhost ([127.0.0.1]:42446 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bqx5H-0006x5-Ms
	for submit <at> debbugs.gnu.org; Mon, 03 Oct 2016 02:50:43 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36512)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1bqx5G-0006wp-8X
 for control <at> debbugs.gnu.org; Mon, 03 Oct 2016 02:50:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1bqx56-0002yj-4t
 for control <at> debbugs.gnu.org; Mon, 03 Oct 2016 02:50:37 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53912)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1bqx55-0002yc-Rj; Mon, 03 Oct 2016 02:50:32 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4943
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1bqx53-0006Y2-Op; Mon, 03 Oct 2016 02:50:30 -0400
Date: Mon, 03 Oct 2016 09:50:42 +0300
Message-Id: <83shseori5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: ynyaaa@HIDDEN
In-reply-to: <87zimm8c2m.fsf@HIDDEN> (ynyaaa@HIDDEN)
Subject: Re: bug#24592: 25.1; byte-compile warning indicates wrong line
References: <87zimm8c2m.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -8.1 (--------)
X-Debbugs-Envelope-To: control
Cc: 24592 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -8.1 (--------)

severity 24592 minor
merge 24592 24449
merge 24449 24128
thanks

> From: ynyaaa@HIDDEN
> 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.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 4 Oct 2016 23:59:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 04 19:59:10 2016
Received: from localhost ([127.0.0.1]:45002 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1brZc6-0005kd-JV
	for submit <at> debbugs.gnu.org; Tue, 04 Oct 2016 19:59:10 -0400
Received: from mail-io0-f170.google.com ([209.85.223.170]:34018)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1brZc4-0005kL-7g
 for control <at> debbugs.gnu.org; Tue, 04 Oct 2016 19:59:09 -0400
Received: by mail-io0-f170.google.com with SMTP id r30so44914336ioi.1
 for <control <at> debbugs.gnu.org>; Tue, 04 Oct 2016 16:59:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=XQCLuH/cSWL07CuztDcfZxTt9HYHsatUcFn9AslgHco=;
 b=QaI5x9UAewiVJmxm4FK+ww2beGzY3jGYV15MoqHS7ICbe1UZBtqPsV0/dgS7Xc+Wk3
 BmaRr6jK1Z42cee3pp3h30g1GjdznJcQZ593CRkNar1MERo/uiT1y4ax5MsV02nAfamU
 sB/1k4CfjbKe0untOcHXWPi1pylEF7YlKHy15+LkdD4iQeC/YD1FSynLKGltW3z4DnZl
 JWS55Ou8dywnVneC5mgQjr/Th4lodZbFTowAysxvovwfXcacziMXQFoWqoVblie6Jyn0
 zqD+KgEZjCxNL/UfwHL2oxFMs8qqmD4Rln/NVyW5h9dSlvqYL0l5FtiH36mefd4InlMQ
 bWaw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:from:to:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=XQCLuH/cSWL07CuztDcfZxTt9HYHsatUcFn9AslgHco=;
 b=NZ4usHMYZ1vtR6pEmANMNXU/YAW+ubBgbrIofASmKaQIKaXVB8DUNRszuaG4dS/2nc
 YW07KeS07FiL39EOfRnSX7KMHSlsAaUN4MDrZGLH6Ut7K2ihseOQUZp14Q90ayqLfKy3
 GtQfVsQMGoDCqleOOqgZhNe5hZ8E+G39W/l6PKhABytOruDCSmufKdYaXBogfm/398tC
 rOLEvWQQmfiETbDi/PYXY8zSyLpYxLAtDBo5EajT/sFIEZrenJ8ixy8VVdkrnBUvrtR0
 zwheKwrjJTUtjZI3fgt5bvOgXvxDA6cJTYeCZB3l16LA4DcnxHl4tDTRva2Zn/e1MqCs
 Gsig==
X-Gm-Message-State: AA6/9RmC05Jl5rdCklfh2Yjzn36pmTu4VDPGLAoRWqfyoU8sQk1KO1sFMF0QtZ30Tam9Cg==
X-Received: by 10.107.32.75 with SMTP id g72mr8116646iog.136.1475625541825;
 Tue, 04 Oct 2016 16:59:01 -0700 (PDT)
Received: from zony ([45.2.7.130])
 by smtp.googlemail.com with ESMTPSA id z125sm12837976itc.0.2016.10.04.16.59.01
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 04 Oct 2016 16:59:01 -0700 (PDT)
From: npostavs@HIDDEN
To: control <at> debbugs.gnu.org
Subject: Re: bug#24592: 25.1; byte-compile warning indicates wrong line
References: <87zimm8c2m.fsf@HIDDEN> <83shseori5.fsf@HIDDEN>
Date: Tue, 04 Oct 2016 19:59:34 -0400
In-Reply-To: <83shseori5.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 03 Oct
 2016 09:50:42 +0300")
Message-ID: <87mvijy8bd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

merge 24592 24128
quit

24449 is a special case, which has been fixed

Eli Zaretskii <eliz@HIDDEN> writes:

> severity 24592 minor
> merge 24592 24449
> merge 24449 24128
> thanks
>
>> From: ynyaaa@HIDDEN
>> 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.





Last modified: Wed, 5 Oct 2016 00:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.