From unknown Fri Jun 20 07:14:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18971 <18971@debbugs.gnu.org> To: bug#18971 <18971@debbugs.gnu.org> Subject: Status: 25.0.50; incorrect warning from byte compiler Reply-To: bug#18971 <18971@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:14:04 +0000 retitle 18971 25.0.50; incorrect warning from byte compiler reassign 18971 emacs submitter 18971 Tom Tromey severity 18971 minor tag 18971 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 05 23:15:11 2014 Received: (at submit) by debbugs.gnu.org; 6 Nov 2014 04:15:11 +0000 Received: from localhost ([127.0.0.1]:50772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmETW-0001Bm-Ob for submit@debbugs.gnu.org; Wed, 05 Nov 2014 23:15:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45653) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmETS-0001Bd-Vy for submit@debbugs.gnu.org; Wed, 05 Nov 2014 23:15:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmETK-0001hk-IS for submit@debbugs.gnu.org; Wed, 05 Nov 2014 23:15:06 -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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmETK-0001hf-Fn for submit@debbugs.gnu.org; Wed, 05 Nov 2014 23:14:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmETD-00029l-Bs for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 23:14:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmET6-0001ey-8m for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 23:14:51 -0500 Received: from gproxy7-pub.mail.unifiedlayer.com ([70.40.196.235]:34679) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XmET5-0001eZ-Vm for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 23:14:44 -0500 Received: (qmail 11608 invoked by uid 0); 6 Nov 2014 04:14:39 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy7.mail.unifiedlayer.com with SMTP; 6 Nov 2014 04:14:39 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id CAEX1p00B2f2jeq01AEajR; Thu, 06 Nov 2014 03:14:38 -0700 X-Authority-Analysis: v=2.1 cv=ON60g0qB c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=zstS-IiYAAAA:8 a=PnD2wP_eR3oA:10 a=X1qvojbhiZEA:10 a=XcNDXOJVOLORrFxHvb8A:9 a=6H20P_xO7qywqrzK:21 a=l0mEdJ8x2JOLIwEu:21 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=NnvH7XyGmvB57ptaoY5b1OgZIV/y1gEN0yV8YxqO0Mc=; b=rHytd/SyoMFFKRgo6YZ6VOlyZBybvokxgt+dbLjADz77f9vptHhgKYSJD4xPhdBNG0pa9+T4082pszqhY8snTf6RwshTQGHvoqau43hQ0JwmpeFUnMvY4GVxUceROdlV; Received: from [71.33.139.67] (port=35390 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82) (envelope-from ) id 1XmESt-0004ep-SP for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 21:14:32 -0700 From: Tom Tromey To: bug-gnu-emacs@gnu.org Subject: 25.0.50; incorrect warning from byte compiler Date: Wed, 05 Nov 2014 21:14:27 -0700 Message-ID: <87egthoti4.fsf@tromey.com> MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 71.33.139.67 authed with tom+tromey.com} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) Byte compile this file: ; -*- lexical-binding:t -*- (require 'bytecomp) (defun z () (byte-compile-close-variables (message "hi"))) I get: In toplevel form: q.el:3:1:Warning: Unused lexical variable `byte-compile-free-assignments' q.el:3:1:Warning: Unused lexical variable `byte-compile-free-references' q.el:3:1:Warning: Unused lexical variable `byte-compile--outbuffer' I think the warning seems wrong. bytecomp.el has a defvar for each of these variables, so I expected them not to be considered lexical. In GNU Emacs 25.0.50.8 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 2014-11-05 on bapiya Repository revision: 118301 monnier@iro.umontreal.ca-20141106032723-sooywb316jlfcpd9 Windowing system distributor `Fedora Project', version 11.0.11404000 Configured using: `configure --prefix=/home/tromey/Emacs/install' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t flyspell-mode: t which-function-mode: t global-auto-revert-mode: t desktop-save-mode: t erc-services-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t savehist-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill Recent messages: C-x C-g is undefined Saving file /home/tromey/Emacs/ET/q.el... Wrote /home/tromey/Emacs/ET/q.el Saving file /home/tromey/Emacs/ET/q.el... Wrote /home/tromey/Emacs/ET/q.el Making completion list... Mark saved where search started [2 times] Mark set Mark saved where search started Mark set [2 times] Quit Load-path shadows: /home/tromey/.emacs.d/elpa/css-mode-1.0/css-mode hides /home/tromey/Emacs/install/share/emacs/25.0.50/lisp/textmodes/css-mode /home/tromey/.emacs.d/elpa/bubbles-0.5/bubbles hides /home/tromey/Emacs/install/share/emacs/25.0.50/lisp/play/bubbles Features: (shadow sort mail-extr warnings emacsbug sendmail copyright dabbrev misearch multi-isearch shell message dired rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader make-mode texinfo sh-script smie executable sgml-mode smerge-mode bug-reference goto-addr add-log cc-mode cc-fonts cc-guess cc-menus cc-cmds vc-arch vc-mtn vc-hg vc-sccs vc-svn vc-cvs vc-rcs jka-compr vc-bzr vc-git diff-mode easy-mmode flyspell ispell diminish projectile edmacro kmacro pkg-info find-func lisp-mnt epl grep compile dash s appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs which-func imenu minimap autorevert filenotify desktop frameset cus-start cus-load status erc-services erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec auth-source cl-macs gv eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util mm-util mail-prsvr password-cache thingatpt pp advice help-fns vc-dir ewoc vc cl-loaddefs cl-lib vc-dispatcher cc-styles cc-align cc-engine cc-vars cc-defs bbdb timezone ange-ftp comint ansi-color ring server savehist dwarf-mode-autoloads gdb-shell-autoloads jabber-autoloads lisppaste-autoloads pydoc-info-autoloads info-look info easymenu weblogger-autoloads package epg-config bbdb-autoloads time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd 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 cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 421995 36333) (symbols 48 36948 0) (miscs 40 21361 845) (strings 32 76233 10784) (string-bytes 1 2288448) (vectors 16 30564) (vector-slots 8 656796 18204) (floats 8 151 435) (intervals 56 16761 235) (buffers 976 171) (heap 1024 59018 1707)) From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 06 10:29:56 2014 Received: (at 18971) by debbugs.gnu.org; 6 Nov 2014 15:29:56 +0000 Received: from localhost ([127.0.0.1]:51975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmP0W-00036A-JE for submit@debbugs.gnu.org; Thu, 06 Nov 2014 10:29:56 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:40460) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmP0U-000363-VX for 18971@debbugs.gnu.org; Thu, 06 Nov 2014 10:29:55 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvAMAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+yDmDGgQCAoEcFwEBfIQDAQEEViMQCzQSFBgNJIhUy3IBAQEBAQEEAQEBAR6RCAeESwWLZKY8gW+EFh+CegEBAQ X-IPAS-Result: AvAMAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+yDmDGgQCAoEcFwEBfIQDAQEEViMQCzQSFBgNJIhUy3IBAQEBAQEEAQEBAR6RCAeESwWLZKY8gW+EFh+CegEBAQ X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="96108906" Received: from 75-119-235-29.dsl.teksavvy.com (HELO ceviche.home) ([75.119.235.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Nov 2014 10:29:54 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 243BE660D4; Thu, 6 Nov 2014 10:29:54 -0500 (EST) From: Stefan Monnier To: Tom Tromey Subject: Re: bug#18971: 25.0.50; incorrect warning from byte compiler Message-ID: References: <87egthoti4.fsf@tromey.com> Date: Thu, 06 Nov 2014 10:29:54 -0500 In-Reply-To: <87egthoti4.fsf@tromey.com> (Tom Tromey's message of "Wed, 05 Nov 2014 21:14:27 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 18971 Cc: 18971@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (/) > ; -*- lexical-binding:t -*- > (require 'bytecomp) > (defun z () > (byte-compile-close-variables > (message "hi"))) If it hurts, don't do that. `byte-compile-close-variables' is an internal macro in bytecomp.el. Why do you need to use it elsewhere? Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 06 10:47:01 2014 Received: (at 18971) by debbugs.gnu.org; 6 Nov 2014 15:47:01 +0000 Received: from localhost ([127.0.0.1]:52002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmPH3-0004sE-6t for submit@debbugs.gnu.org; Thu, 06 Nov 2014 10:47:01 -0500 Received: from gproxy6-pub.mail.unifiedlayer.com ([67.222.39.168]:53332) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1XmPH0-0004s5-On for 18971@debbugs.gnu.org; Thu, 06 Nov 2014 10:46:59 -0500 Received: (qmail 26142 invoked by uid 0); 6 Nov 2014 15:46:54 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy6.mail.unifiedlayer.com with SMTP; 6 Nov 2014 15:46:54 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id CMmj1p01S2f2jeq01Mmmzn; Thu, 06 Nov 2014 14:46:53 -0700 X-Authority-Analysis: v=2.1 cv=ON60g0qB c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=udL4O0NGDEAA:10 a=zstS-IiYAAAA:8 a=PnD2wP_eR3oA:10 a=X1qvojbhiZEA:10 a=-TvgQ5XiIAXCvgoin0gA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=I4uJ5VP5lnnp0qLmyrJkrMGu7xhLK7I/9aBipHy0KGA=; b=B/xKFTfDNxEEt/i98ziSCnQVTZjrihI0Xx6y90bXGG+oARKfRhTVvL202n/5P2+CEPZIl2hzbcFTTyvAwFTllDIQ1hDkwplf8+j7FuZ1O+l2U1UexBvFW7ajF8jSx7WJ; Received: from [71.33.139.67] (port=51416 helo=pokyo) by box522.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82) (envelope-from ) id 1XmPGm-0004L0-FT; Thu, 06 Nov 2014 08:46:44 -0700 From: Tom Tromey To: Stefan Monnier Subject: Re: bug#18971: 25.0.50; incorrect warning from byte compiler References: <87egthoti4.fsf@tromey.com> X-Attribution: Tom Date: Thu, 06 Nov 2014 08:46:40 -0700 In-Reply-To: (Stefan Monnier's message of "Thu, 06 Nov 2014 10:29:54 -0500") Message-ID: <87h9ycuyan.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 71.33.139.67 authed with tom+tromey.com} X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18971 Cc: 18971@debbugs.gnu.org, Tom Tromey X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) >>>>> "Stefan" == Stefan Monnier writes: >> ; -*- lexical-binding:t -*- >> (require 'bytecomp) >> (defun z () >> (byte-compile-close-variables >> (message "hi"))) Stefan> If it hurts, don't do that. Stefan> `byte-compile-close-variables' is an internal macro in bytecomp.el. Stefan> Why do you need to use it elsewhere? I want to be able to call byte-optimize-form and was under the impression that byte-compile-close-variables was needed. I'm doing this for a project I'm working on where it is convenient to let the byte compiler code macroexpand a form and do some simple optimizations on it. I guess I don't understand why this would not be a bug, though. Or at least it perplexes me why this happens; my only theory is that somehow the defvars aren't seen when byte-compiling my file. I suppose if I wanted to export a macro like this, I would need it to come with special declarations for the variables? Except I didn't see a way to do that either. Tom From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 06 18:27:14 2014 Received: (at 18971) by debbugs.gnu.org; 6 Nov 2014 23:27:15 +0000 Received: from localhost ([127.0.0.1]:52213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmWSQ-0007oK-CY for submit@debbugs.gnu.org; Thu, 06 Nov 2014 18:27:14 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:53592) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmWSO-0007oD-P9 for 18971@debbugs.gnu.org; Thu, 06 Nov 2014 18:27:13 -0500 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id sA6NRAhu003006; Thu, 6 Nov 2014 18:27:11 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 55F3566125; Thu, 6 Nov 2014 18:27:10 -0500 (EST) From: Stefan Monnier To: Tom Tromey Subject: Re: bug#18971: 25.0.50; incorrect warning from byte compiler Message-ID: References: <87egthoti4.fsf@tromey.com> <87h9ycuyan.fsf@tromey.com> Date: Thu, 06 Nov 2014 18:27:10 -0500 In-Reply-To: <87h9ycuyan.fsf@tromey.com> (Tom Tromey's message of "Thu, 06 Nov 2014 08:46:40 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5117=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5117> : inlines <1499> : streams <1337188> : uri <1833032> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 18971 Cc: 18971@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -1.9 (-) > I want to be able to call byte-optimize-form and was under the > impression that byte-compile-close-variables was needed. I'm doing this > for a project I'm working on where it is convenient to let the byte > compiler code macroexpand a form and do some simple optimizations on it. Just curious: why do you need those simple optimizations performed by byte-optimize-form? > I guess I don't understand why this would not be a bug, though. > Or at least it perplexes me why this happens; my only theory is that > somehow the defvars aren't seen when byte-compiling my file. I suppose > if I wanted to export a macro like this, I would need it to come with > special declarations for the variables? Except I didn't see a way to do > that either. Those vars are not globally bound, i.e. they are only declared with (defvar ) and this only affects the file in which they appear (or even the scope, in case they appear within a defun body). So the macro would need to expand to something like (progn (defvar byte-compile-free-assignments) ... (defvar byte-compile-free-references) (let (...) ...)) if it was meant to be used outside of bytecomp.el. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 29 14:40:57 2014 Received: (at 18971) by debbugs.gnu.org; 29 Dec 2014 19:40:57 +0000 Received: from localhost ([127.0.0.1]:60550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5gBU-0000WX-Ab for submit@debbugs.gnu.org; Mon, 29 Dec 2014 14:40:56 -0500 Received: from gproxy9-pub.mail.unifiedlayer.com ([69.89.20.122]:41415) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1Y5gBM-0000WJ-Mc for 18971@debbugs.gnu.org; Mon, 29 Dec 2014 14:40:49 -0500 Received: (qmail 25992 invoked by uid 0); 29 Dec 2014 19:40:45 -0000 Received: from unknown (HELO CMOut01) (10.0.90.82) by gproxy9.mail.unifiedlayer.com with SMTP; 29 Dec 2014 19:40:45 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by CMOut01 with id ZXgg1p00F2f2jeq01XgjFv; Mon, 29 Dec 2014 12:40:46 -0700 X-Authority-Analysis: v=2.1 cv=fJeqg/qe c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=udL4O0NGDEAA:10 a=zstS-IiYAAAA:8 a=PnD2wP_eR3oA:10 a=-Ceb2LbMfV4A:10 a=A92cGCtB03wA:10 a=MuUFlfo4jzAd3PHgdxYA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=4c9yhAJRxXMCks4IZvmW8Iq11Qa9NBSIrQ8cZFS5Ics=; b=UqX4hTTauJ/DEInfgOxryvWWzlqmWpB6+SfFkF++5dqP1ekSuXvr46b4m1JDcc6kR7kxd4b07Cj1BS7QbDgltcFdu2+LKuT0xC8lVbiOFLHtLKthlrtxSFAFwcckMF0p; Received: from [71.33.142.103] (port=41598 helo=pokyo) by box522.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82) (envelope-from ) id 1Y5gBD-0003KL-Hw; Mon, 29 Dec 2014 12:40:39 -0700 From: Tom Tromey To: Stefan Monnier Subject: Re: bug#18971: 25.0.50; incorrect warning from byte compiler References: <87egthoti4.fsf@tromey.com> <87h9ycuyan.fsf@tromey.com> X-Attribution: Tom Date: Mon, 29 Dec 2014 12:40:35 -0700 In-Reply-To: (Stefan Monnier's message of "Thu, 06 Nov 2014 18:27:10 -0500") Message-ID: <87y4pqtfbg.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 71.33.142.103 authed with tom+tromey.com} X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18971 Cc: 18971@debbugs.gnu.org, Tom Tromey X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) >> I want to be able to call byte-optimize-form and was under the >> impression that byte-compile-close-variables was needed. I'm doing this >> for a project I'm working on where it is convenient to let the byte >> compiler code macroexpand a form and do some simple optimizations on it. Stefan> Just curious: why do you need those simple optimizations performed by Stefan> byte-optimize-form? I'm writing an elisp compiler and it just seemed handy. I can probably reimplement the optimizations though. Tom From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 29 21:48:46 2014 Received: (at 18971) by debbugs.gnu.org; 30 Dec 2014 02:48:46 +0000 Received: from localhost ([127.0.0.1]:60618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5mrW-0003PO-Jo for submit@debbugs.gnu.org; Mon, 29 Dec 2014 21:48:46 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:9993) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5mrV-0003PG-4f for 18971@debbugs.gnu.org; Mon, 29 Dec 2014 21:48:45 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj8PAOwQflRFpY0B/2dsb2JhbABbgweDYIVawjuCYgQCAoEkFwEBAQEBAXyEAwEBAwFWIwULCzQSFBgNJIhKCdZZAQEBAQEBAQMBAQEBAR2QbweESAWLAaQugXiEGSGCdwEBAQ X-IPAS-Result: Aj8PAOwQflRFpY0B/2dsb2JhbABbgweDYIVawjuCYgQCAoEkFwEBAQEBAXyEAwEBAwFWIwULCzQSFBgNJIhKCdZZAQEBAQEBAQMBAQEBAR2QbweESAWLAaQugXiEGSGCdwEBAQ X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="104000967" Received: from 69-165-141-1.dsl.teksavvy.com (HELO ceviche.home) ([69.165.141.1]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Dec 2014 21:48:44 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 6731E660FB; Mon, 29 Dec 2014 21:48:44 -0500 (EST) From: Stefan Monnier To: Tom Tromey Subject: Re: bug#18971: 25.0.50; incorrect warning from byte compiler Message-ID: References: <87egthoti4.fsf@tromey.com> <87h9ycuyan.fsf@tromey.com> <87y4pqtfbg.fsf@tromey.com> Date: Mon, 29 Dec 2014 21:48:44 -0500 In-Reply-To: <87y4pqtfbg.fsf@tromey.com> (Tom Tromey's message of "Mon, 29 Dec 2014 12:40:35 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 18971 Cc: 18971@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (/) > I'm writing an elisp compiler and it just seemed handy. > I can probably reimplement the optimizations though. Or you can add all the corresponding (defvar ), of course. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 12 11:11:13 2019 Received: (at 18971) by debbugs.gnu.org; 12 Jun 2019 15:11:13 +0000 Received: from localhost ([127.0.0.1]:33875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hb4u9-0006Nq-HG for submit@debbugs.gnu.org; Wed, 12 Jun 2019 11:11:13 -0400 Received: from quimby.gnus.org ([80.91.231.51]:55364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hb4u7-0006Ni-Vn for 18971@debbugs.gnu.org; Wed, 12 Jun 2019 11:11:12 -0400 Received: from cm-84.212.204.8.getinternet.no ([84.212.204.8] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hb4u2-00075x-Q3; Wed, 12 Jun 2019 17:11:09 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#18971: 25.0.50; incorrect warning from byte compiler References: <87egthoti4.fsf@tromey.com> <87h9ycuyan.fsf@tromey.com> <87y4pqtfbg.fsf@tromey.com> Date: Wed, 12 Jun 2019 17:11:06 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 29 Dec 2014 21:48:44 -0500") Message-ID: <87d0jivnxx.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: >> I'm writing an elisp compiler and it just seemed handy. >> I can probably reimplement the optimizations though. > > Or you can add all the corresponding (defvar ), of course. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18971 Cc: 18971@debbugs.gnu.org, Tom Tromey 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: -1.0 (-) Stefan Monnier writes: >> I'm writing an elisp compiler and it just seemed handy. >> I can probably reimplement the optimizations though. > > Or you can add all the corresponding (defvar ), of course. So there doesn't seem to be a bug here, and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 12 11:11:17 2019 Received: (at control) by debbugs.gnu.org; 12 Jun 2019 15:11:17 +0000 Received: from localhost ([127.0.0.1]:33878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hb4uC-0006O7-PW for submit@debbugs.gnu.org; Wed, 12 Jun 2019 11:11:16 -0400 Received: from quimby.gnus.org ([80.91.231.51]:55380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hb4uB-0006Ny-9F for control@debbugs.gnu.org; Wed, 12 Jun 2019 11:11:15 -0400 Received: from cm-84.212.204.8.getinternet.no ([84.212.204.8] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hb4u8-000765-QF for control@debbugs.gnu.org; Wed, 12 Jun 2019 17:11:14 +0200 Date: Wed, 12 Jun 2019 17:11:12 +0200 Message-Id: <87blz2vnxr.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18971 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18971 wontfix close 18971 Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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: -1.0 (-) tags 18971 wontfix close 18971 From unknown Fri Jun 20 07:14:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 11 Jul 2019 11:24:07 +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