From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 02 21:18:52 2016 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 ) id 1bqru8-0004U8-1C for submit@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 ) id 1bqru6-0004Tv-Na for submit@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 ) id 1bqru0-000099-Ee for submit@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 ) id 1bqru0-000095-Bn for submit@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 ) id 1bqrty-0006KL-Kf for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 21:18:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqrtu-00007p-Dp for bug-gnu-emacs@gnu.org; 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 ) id 1bqrtu-00007g-6m for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 21:18:38 -0400 Received: by mail-pf0-x241.google.com with SMTP id i85so1369884pfa.0 for ; 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 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Oct 2016 18:18:35 -0700 (PDT) From: ynyaaa@gmail.com To: bug-gnu-emacs@gnu.org Subject: 25.1; byte-compile warning indicates wrong line Date: Mon, 03 Oct 2016 10:18:25 +0900 Message-ID: <87zimm8c2m.fsf@gmail.com> 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-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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)) From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 02:50:54 2016 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 ) id 1bqx5R-0006xb-VG for submit@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 ) id 1bqx5Q-0006xJ-KC for 24592@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 ) id 1bqx5G-0002zu-LC for 24592@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 ) 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 ) 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@gnu.org> From: Eli Zaretskii To: ynyaaa@gmail.com In-reply-to: <87zimm8c2m.fsf@gmail.com> (ynyaaa@gmail.com) Subject: Re: bug#24592: 25.1; byte-compile warning indicates wrong line References: <87zimm8c2m.fsf@gmail.com> 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: 24592 Cc: 24592@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 19:59:10 2016 Received: (at control) by debbugs.gnu.org; 4 Oct 2016 23:59:10 +0000 Received: from localhost ([127.0.0.1]:45002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brZc6-0005kd-JV for submit@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 ) id 1brZc4-0005kL-7g for control@debbugs.gnu.org; Tue, 04 Oct 2016 19:59:09 -0400 Received: by mail-io0-f170.google.com with SMTP id r30so44914336ioi.1 for ; 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 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Oct 2016 16:59:01 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: Re: bug#24592: 25.1; byte-compile warning indicates wrong line References: <87zimm8c2m.fsf@gmail.com> <83shseori5.fsf@gnu.org> Date: Tue, 04 Oct 2016 19:59:34 -0400 In-Reply-To: <83shseori5.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 03 Oct 2016 09:50:42 +0300") Message-ID: <87mvijy8bd.fsf@users.sourceforge.net> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) merge 24592 24128 quit 24449 is a special case, which has been fixed Eli Zaretskii writes: > 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. From unknown Mon Aug 11 12:55:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 20 Feb 2022 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator