From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Williams Newsgroups: gmane.emacs.bugs Subject: bug#26486: 25.1.91; spurious warnings from cconv.el Date: Thu, 13 Apr 2017 11:59:08 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1492110791 9531 195.159.176.226 (13 Apr 2017 19:13:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Apr 2017 19:13:11 +0000 (UTC) To: 26486@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 13 21:13:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cykB1-0002Ms-5l for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Apr 2017 21:13:07 +0200 Original-Received: from localhost ([::1]:50568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cykB7-0003Y2-5Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Apr 2017 15:13:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cykAx-0003V1-QW for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2017 15:13:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cykAw-0008Rz-9M for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2017 15:13:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cykAw-0008Rm-3m for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2017 15:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cykAv-0001Xd-Ua for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2017 15:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Williams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Apr 2017 19:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26486 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14921107275831 (code B ref -1); Thu, 13 Apr 2017 19:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Apr 2017 19:12:07 +0000 Original-Received: from localhost ([127.0.0.1]:46023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cykA2-0001Vz-TR for submit@debbugs.gnu.org; Thu, 13 Apr 2017 15:12:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyjy1-0001CH-D7 for submit@debbugs.gnu.org; Thu, 13 Apr 2017 14:59:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyjxu-0007o8-Nw for submit@debbugs.gnu.org; Thu, 13 Apr 2017 14:59:36 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34573) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cyjxu-0007nu-Kh for submit@debbugs.gnu.org; Thu, 13 Apr 2017 14:59:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyjxt-0008CE-3I for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2017 14:59:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyjxr-0007lr-KD for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2017 14:59:33 -0400 Original-Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]:34337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyjxr-0007l5-BB for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2017 14:59:31 -0400 Original-Received: by mail-pf0-x234.google.com with SMTP id c198so32320280pfc.1 for ; Thu, 13 Apr 2017 11:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=JKznMpSeBppy1y4XymBWPICwQgT8vzExGCmUaD3A5K4=; b=YA88NepCFcRwQ9NK0xWt2JTvf5S4Nt22IRyVH1nz+OGTcs3FC/ixXso7crKkfCQmdo SXKLzxiIuxk+QfdMuLb/Pwly3DDQ5R/fhHeXg8LrkrNakno76G8Kfn+AW5n46Uax1TgK JyjuupCq09RVn/yF3OztrHveKTpdvcDTxVGdBUgq3kBZLb7L8V8loQGuTnJ2Hz5a3uwB 4xvJmVgUL6YA1WEVPA+h+kV4PiFmAj47qt5OlXYQDtS2US3r0Yqsi/RxQ1WHKq5E56sA VR2sp1lNB2vuZaRg3DvcHfxvJz7vb9ySG+aa4JwrBYn8FlTDmdDjccg3E6fb6FXQqGrT eEMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=JKznMpSeBppy1y4XymBWPICwQgT8vzExGCmUaD3A5K4=; b=IOpYwYl58KMYCjsFBR2Egkc/MXf2OPxz8cEL+sy8uom5RzaKKtxgXPgQCHcjL04idq 3VxVRafLq1KhmXFEZrwI+rjDBcVzkvYsSRkACpRYUqrQixalfvH6GXR6NQBmW+A95HuS 8qYSCat8035MEBn3Ewew74Ih9Srz/ikT1YKtgQ5aQcb7FWhcYgRflQTN5YkjGbIn00EW P95zY/Xd2a5rsZZZ8mSzcOdTgtVDMdhlph4Ih9oWvx4wNxsdnpJVzQ3gzRj5pwoZYFpy f/NQUAvWayqq7ECFNraIBL/38PBJ6pq/8DlOlqnuVDQkHYYNovVcLH2QoqEdlsS9v29J uOZA== X-Gm-Message-State: AN3rC/7Tdz+rnL3CVnAda21JN8x/fxfpNb9LSvEwkAVsmwxCt3SZPlTJ 4AXuB03Is8374SPmd8nN9VWjHQKHaBf0zt4= X-Received: by 10.98.76.140 with SMTP id e12mr4134589pfj.128.1492109969276; Thu, 13 Apr 2017 11:59:29 -0700 (PDT) Original-Received: by 10.100.154.144 with HTTP; Thu, 13 Apr 2017 11:59:08 -0700 (PDT) X-Google-Sender-Auth: 98GN_KenCL_kCefyLNQ9OfkqZWw 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-Mailman-Approved-At: Thu, 13 Apr 2017 15:12:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131543 Archived-At: When I byte compile a file where a macro expansion introduces an unused lexical veriable, I get warnings from cconv.el, even if I wrap the expansion in (with-no-warnings) and set byte-compile-warnings to nil. IMHO warnings of this type should never be issued for code that comes from a macro expansion, but it should at least be possible to suppress them with the usual mechanisms. Here's a file that demonstrates the problem when it's compiled with byte-compile-file: ======================================================================== ;; -*- lexical-binding: t; byte-compile-warnings: nil -*- (defmacro test () `(let (unused))) (with-no-warnings (test)) ======================================================================== In GNU Emacs 25.1.91.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8), modified by Debian Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 System Description: Ubuntu 14.04.5 LTS Configured using: 'configure --build x86_64-linux-gnu --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/google-emacs:/etc/emacs:/usr/local/share/emacs/25.1.91+gg1+2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1.91+gg1+2/site-lisp:/usr/share/emacs/site-lisp --with-crt-dir=/usr/lib/x86_64-linux-gnu --disable-build-details --disable-silent-rules --with-modules GOOGLE_VERSION=25.1.91+gg1+2 --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars build_alias=x86_64-linux-gnu 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-fuse-ld=gold,--export-dynamic-symbol=__google_auxv' 'CPPFLAGS=-D_FORTIFY_SOURCE=2 -DGOOGLE_EMACS_DEFINE_AUXV'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t 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: nil Mark set nil Quit Type "q" in help window to restore its previous buffer. Undo! [22 times] Saving file /usr/local/google/home/jrw/homedir/test.el... Wrote /usr/local/google/home/jrw/homedir/test.el Compiling /usr/local/google/home/jrw/homedir/test.el...done Wrote /usr/local/google/home/jrw/homedir/test.elc Quit 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 mail-prsvr mail-utils byte-opt compile comint ansi-color ring warnings thingatpt help-fns bytecomp byte-compile cl-extra help-mode cl-loaddefs pcase cl-lib cconv vc-git diff-mode easymenu easy-mmode time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-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 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 105959 7747) (symbols 48 21355 0) (miscs 40 404 190) (strings 32 19965 4463) (string-bytes 1 608139) (vectors 16 14200) (vector-slots 8 469169 6038) (floats 8 184 167) (intervals 56 1103 0) (buffers 976 22) (heap 1024 30017 1036))