From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 07:49:21 2018 Received: (at submit) by debbugs.gnu.org; 17 Feb 2018 12:49:21 +0000 Received: from localhost ([127.0.0.1]:47575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en1vc-0003Ga-UN for submit@debbugs.gnu.org; Sat, 17 Feb 2018 07:49:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en1va-0003GO-Mo for submit@debbugs.gnu.org; Sat, 17 Feb 2018 07:49:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en1vU-0001vj-Ec for submit@debbugs.gnu.org; Sat, 17 Feb 2018 07:49:13 -0500 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]:56849) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1en1vU-0001vR-Bj for submit@debbugs.gnu.org; Sat, 17 Feb 2018 07:49:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en1vS-0003Yp-RS for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 07:49:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en1vN-0001ox-TD for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 07:49:10 -0500 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:41813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1en1vN-0001n0-Lb for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 07:49:05 -0500 Received: by mail-wr0-x22d.google.com with SMTP id f14so893548wre.8 for ; Sat, 17 Feb 2018 04:49:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:reply-to:date:message-id:mime-version :content-transfer-encoding; bh=Yp95tW15fxdNNk9zEnHhESHZZPPb00JUYDWgwB7tzaQ=; b=tGPR/8Q6CWRw4x9HvpB5bpizYAOvIbRb5ITiX25cnc8LYEz1q4XZt/F1J+HrJg2uhN OoObaaEcEk87kzxlmeekeimoI3ozSwGevzma6FZDxxBkJ+9iu47gQp7Lz0QoQzsifqzA V7U0APQTjAXVdghAZ0uW1hiPLmC6nZVSWgXsW/g8c3ZwQxsxIhfaiGhYFKAh1JH2yrNp zSne80W4aKiXnh2IrkznEfXAXQ4HhQcpV7Z7miZGaWWPuVhy01DXEKsfwSrGXKX3Bjfo zwQGQYhZOh+oIOPgrTlLVsIYv2Z/A2yH7ZuJ4Swju/lkI9oxjQUK4K4+/lpE2QcbNG5n 0oEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:reply-to:date:message-id :mime-version:content-transfer-encoding; bh=Yp95tW15fxdNNk9zEnHhESHZZPPb00JUYDWgwB7tzaQ=; b=JL82hswpB+GKgmmURCFp37ApI5N3sqdhcWUa37Vg0fC91fQSMlu3C6pck92TyloHA6 obQzXVtRWjwahX9G+CTEZj3ZyqKO/3jDqgGxi0PjHVJj+P3yt/QuKtIkgynah7lY/MsH D7YTc5gF4gO0XBXrLdHYObpho6V2cCGYsNpQ9hzpelRb+S/g0eZ7CA0MoSHYOBwFjQ7Q ZQhTbPP2vlWcy7UqY7DCpkENzwIQXaMWclNzcozSJon38ekAuIy3gnUItOha8g55+HZ1 lMWkIuJ9d7oTVbnWCPACCMgeJqSkKUjyrocMccw/B/NBROQdPkI8k1iXg1XnG8mM3Kj5 Kl8A== X-Gm-Message-State: APf1xPC6HSHzcGX1PujzHEQf1rmBJNN6OdihYQUFzMHBFYhwUYXHFaD0 PjyVEsp79a8/D4ZPw2tTgydV+g== X-Google-Smtp-Source: AH8x225qThA7kQsZs/wJyXGLXhqO03Al4GGB1uCSozrPmPt6vmLPH/5pASAi+6Vno3jJt0Ib0wEsrg== X-Received: by 10.223.169.161 with SMTP id b30mr5181894wrd.232.1518871743922; Sat, 17 Feb 2018 04:49:03 -0800 (PST) Received: from Monolith (79-67-90-151.dynamic.dsl.as9105.com. [79.67.90.151]) by smtp.gmail.com with ESMTPSA id m127sm6435579wmm.0.2018.02.17.04.49.02 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Feb 2018 04:49:02 -0800 (PST) From: Francis Wright To: bug-gnu-emacs@gnu.org Subject: 26.0.91; Compiler warning cannot be suppressed Date: Sat, 17 Feb 2018 12:49:03 +0000 Message-ID: <85606vbx34.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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: , Reply-To: f.j.wright@live.co.uk Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) (with-no-warnings (byte-compile '(:foo))) produces the warning Warning: =A1=AE:foo=A1=AF called as a function Setting byte-compile-warnings to nil also does not suppress this warning. So either the documentation or the operation of both with-no-warnings and byte-compile-warnings is incorrect. In fact, it seems a little inconsistent to me that none of (defun :foo ()) (byte-compile ':foo) (:foo) produces any warning, but compiling the call of :foo does produce a warning. In GNU Emacs 26.0.91 (build 1, x86_64-w64-mingw32) of 2018-01-23 built on MONOLITH Windowing system distributor 'Microsoft Corp.', version 10.0.16299 Recent messages: Type C-x 1 to delete the help window. Complete, but not unique Making completion list... Complete, but not unique Making completion list... [2 times] Mark set [5 times] Making completion list... Type C-x 1 to delete the help window. Type "q" in help window to restore its previous buffer. Configured using: 'configure --prefix=3D/d/emacs/emacs-26.0.91 --without-imagemagick --without-dbus' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS LCMS2 Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: flyspell-mode: t shell-dirtrack-mode: t show-paren-mode: t delete-selection-mode: t electric-pair-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t horizontal-scroll-bar-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 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils warnings cl-extra compile eieio-opt speedbar sb-image ezimage dframe find-func help-fns radix-tree help-mode cl-print debug flyspell ispell imenu tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete comint ansi-color ring parse-time format-spec advice paren delsel cus-start cus-load finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib elec-pair server time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 258989 13496) (symbols 56 25373 1) (miscs 48 138 312) (strings 32 46389 1599) (string-bytes 1 1286336) (vectors 16 41749) (vector-slots 8 788352 12686) (floats 8 86 527) (intervals 56 584 25) (buffers 992 17)) From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 09:06:22 2018 Received: (at 30499) by debbugs.gnu.org; 6 Mar 2018 14:06:22 +0000 Received: from localhost ([127.0.0.1]:46935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etDEU-0007bb-Jz for submit@debbugs.gnu.org; Tue, 06 Mar 2018 09:06:22 -0500 Received: from mail-io0-f176.google.com ([209.85.223.176]:40829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etDES-0007bH-8F; Tue, 06 Mar 2018 09:06:20 -0500 Received: by mail-io0-f176.google.com with SMTP id v6so22148259iog.7; Tue, 06 Mar 2018 06:06:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=2GYAaRY2cnfFTToVtv+ke4KluWEfUemlncYPHPunXDw=; b=toXxehYtE9cpzL7C1QWz5nc9Ox0MPKLzptmH2VEN+PiYVNv5rYG79T7pMzgkNN4xl+ 5qL3PhcYbigGKtmG6vvwFi2E85KSGKNx8tvGkeg7kmghJVI/DWpIFYOHHmeEO/eM9nx0 6E/rQIBQv3H2+Rd2/eoRGG2/uWVn9NTcGGGfN24A0WDVQBBRnwCIIlO1sJMDat/cDZaB Kb+zeUsD1NQWkwVXe3MEIFkQlB60b8ANruutQnHr7PsiNYZ4R0PaQMObHLDxl3J8bzcj Q07+sMxPcsq3/RVYvwAEJe2Be75tsOGae5orkGdJ1J/X8mwfWoXeUcMPi2/OrCbKhs+J SuVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=2GYAaRY2cnfFTToVtv+ke4KluWEfUemlncYPHPunXDw=; b=O9BIcgRU7TT5j8JJGQQTrOatX5cqmZmFqiUnfCXn+LNIMvN4ln7yebn5rBj69Rf4ek QpoBUVNPoW0HlGR/qV2Un9dtUFzIujCLaNXY+3+qrTrxmbeHiiyU30L3ffyJWRtOQQzE G7tCI6USkAqhbWBVVF1B/AJxvRAzYiyYFHxz8zHlSebZtsTX8MaqbS2HjIeQYGGicRZw 7BKooNWjHpW04N0q4AMCq9IhGQIVvzpIda55qniIrdAjXtUDfClRM3uol2NNg5ysKyBu fY4Q2QrpRs4ojXnk4w7HAjsCp/7YO/ISOUyasXvfpAqmwgV3yYh6v35uivHXWmMvrBNa 9bTA== X-Gm-Message-State: APf1xPAU955vN3KT4to8U7T2osGNhiwQo0llRMPti6cCF0OoHU8BZO5e uhYPUyCO2FGfr89tPWEqxArwpw== X-Google-Smtp-Source: AG47ELtvMuwcneIlf5WG+dHmg1vGewM3zKTuob5yCLpkmprWI9Q8Ai+4CcpcYldQi0SUIbZyTa5NNg== X-Received: by 10.107.200.142 with SMTP id y136mr22740556iof.155.1520345174595; Tue, 06 Mar 2018 06:06:14 -0800 (PST) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id q21sm2038017itb.2.2018.03.06.06.06.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Mar 2018 06:06:14 -0800 (PST) From: Noam Postavsky To: Francis Wright Subject: Re: bug#30499: 26.0.91; Compiler warning cannot be suppressed References: <85606vbx34.fsf@gmail.com> Date: Tue, 06 Mar 2018 09:06:12 -0500 In-Reply-To: <85606vbx34.fsf@gmail.com> (Francis Wright's message of "Sat, 17 Feb 2018 12:49:03 +0000") Message-ID: <87y3j51ep7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30499 Cc: 30499@debbugs.gnu.org, f.j.wright@live.co.uk 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.0 (/) found 30499 24.3 quit Francis Wright writes: > (with-no-warnings (byte-compile '(:foo))) I think it should rather be like this (shows the same warning): (byte-compile (lambda () (with-no-warnings (:foo)))) > produces the warning > > Warning: =E2=80=98:foo=E2=80=99 called as a function Seems to have been the case at least as far back as 24.3, and probably farther. > Setting byte-compile-warnings to nil also does not suppress this > warning. So either the documentation or the operation of both > with-no-warnings and byte-compile-warnings is incorrect. I think the warning is just missing a `byte-compile-warning-enabled-p' check: --- i/lisp/emacs-lisp/bytecomp.el +++ w/lisp/emacs-lisp/bytecomp.el @@ -3128,7 +3128,8 @@ byte-compile-form (when (assq var byte-compile-lexical-variables) (byte-compile-report-error (format-message "%s cannot use lexical var `%s'" fn var)))= ))) - (when (macroexp--const-symbol-p fn) + (when (and (byte-compile-warning-enabled-p 'suspicious) + (macroexp--const-symbol-p fn)) (byte-compile-warn "`%s' called as a function" fn)) (when (and (byte-compile-warning-enabled-p 'interactive-only) interactive-only) > In fact, it seems a little inconsistent to me that none of > > (defun :foo ()) > > (byte-compile ':foo) > > (:foo) > > produces any warning, but compiling the call of :foo does produce a > warning. Maybe (byte-compile (lambda () (defun :foo ()))) should give a warning, though I don't see why the others should. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 10 21:08:32 2018 Received: (at 30499) by debbugs.gnu.org; 11 Mar 2018 02:08:32 +0000 Received: from localhost ([127.0.0.1]:54597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euqPX-0007eI-Re for submit@debbugs.gnu.org; Sat, 10 Mar 2018 21:08:31 -0500 Received: from mail-it0-f41.google.com ([209.85.214.41]:55125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euqPU-0007dt-UC; Sat, 10 Mar 2018 21:08:29 -0500 Received: by mail-it0-f41.google.com with SMTP id c11so7085849ith.4; Sat, 10 Mar 2018 18:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version; bh=YfQWkdbqP2JHb+P1xWSr4i+PzYL7JlUH5LXblLQKoWA=; b=qF8cHfPpFAWeGSFv785mu4ENJjAzA0DDRwnWVpCSB8TXXfywvIRwMLptvzExlfUurf eQp8HR2+m0lEBzNIpVBMJp5DlnGvR3fdpciJxI+WL20Jglqzvg+8oIZ1w0pMvhoRYPFC HgjxBhb+4EWvs2yZfSGJjdvRC5r3jHgiZ3nfX/fkS9Wmc+pWWrA0WPuF8ycRAnOD9nIL bSALfE9rW9acn/e586Hq3796n0/KMLzp1KwcnvHsOtoouqbmaMemtg9lHuWYj1N2sOPc u756Ls81Y404M0HEm/sEBTCYAlvrrvPpS9dFwqYjj1QwplsMZyccEMTqhDFkQTXwrsVz Admg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=YfQWkdbqP2JHb+P1xWSr4i+PzYL7JlUH5LXblLQKoWA=; b=KIBYOu3x0CZSV3r/S2cF4GUEp/BFxGg95U5WmlzrNLw1qiDSCHcIm9k00xpen48RaK DPzDkTaT/ENRm+t7BOyyGLJMCrqFiP4gG7gh1mYG41zhsPnHjahiZSjJMKP8MIoDhbBC iw3cYn/e327EB7u11qCeps8aLQRsr41lGBnSYZHGpRA4ZCo538OkTp6H8umXpSPl5b3o gMIkhNvQQVNmib/1BY19E9XqNbkJU/AVFZ+LjyA5l/DJUYhCETchyvq6NIf/Td6vL61b fMkpBw6vb9SviVB6PczaGvfnwNz0zV0LtVjErRCGHnx+78pFJS6biB2uf1sfuTrg95Nw 4ZZA== X-Gm-Message-State: AElRT7FhCwzv9af+6AfDgCfyqlXgm6Pj1lpMy+TQLcg8T4Hd2vqtELw6 /jITu8mhzoKLWDFj2kXJ1j3+bw== X-Google-Smtp-Source: AG47ELuHq1zqrZIuN55me0Ijf7KwDblSI7vwmdU3vo9KuwUBfuav03tjQ0yIvOBSPE+7kjUef5YuXQ== X-Received: by 10.36.0.88 with SMTP id 85mr2255334ita.27.1520734103562; Sat, 10 Mar 2018 18:08:23 -0800 (PST) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id o75sm1351015ito.15.2018.03.10.18.08.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 18:08:22 -0800 (PST) From: Noam Postavsky To: 30499@debbugs.gnu.org Subject: Re: bug#30499: 26.0.91; Compiler warning cannot be suppressed Date: Sat, 10 Mar 2018 21:08:21 -0500 Message-ID: <87k1ujz7my.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30499 Cc: Francis Wright 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.0 (/) --=-=-= Content-Type: text/plain tags 30499 fixed close 30499 27.1 quit --=-=-= Content-Type: message/rfc822 Content-Disposition: inline In-Reply-To: <87y3j51ep7.fsf@gmail.com> References: <85606vbx34.fsf@gmail.com> <87y3j51ep7.fsf@gmail.com> From: Francis Wright Date: Thu, 8 Mar 2018 16:26:11 +0000 Message-ID: Subject: Re: bug#30499: 26.0.91; Compiler warning cannot be suppressed To: Noam Postavsky MIME-Version: 1.0 Content-Type: text/plain Thanks! --=-=-= Content-Type: text/plain I pushed the fix to master. [1: fda58fbc24]: 2018-03-10 19:51:25 -0500 Fix wrong behavior of 'outline-headers-as-kill' command (Bug#30209) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=fda58fbc245a3f6f6722261ffb2e2262231bd4ea --=-=-=-- From unknown Sat Jun 21 10:43:14 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, 08 Apr 2018 11:24:06 +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