From unknown Sat Jun 21 12:23:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27545: 25.1; Unused lexical variable when byte-compiling pcase with guards Resent-From: Yuri Khan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jul 2017 10:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27545 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 27545@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14989033118800 (code B ref -1); Sat, 01 Jul 2017 10:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jul 2017 10:01:51 +0000 Received: from localhost ([127.0.0.1]:46916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRFDr-0002Hr-1e for submit@debbugs.gnu.org; Sat, 01 Jul 2017 06:01:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRFDq-0002Hf-9U for submit@debbugs.gnu.org; Sat, 01 Jul 2017 06:01:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRFDj-0002Hc-Up for submit@debbugs.gnu.org; Sat, 01 Jul 2017 06:01: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]:46911) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dRFDj-0002HQ-RT for submit@debbugs.gnu.org; Sat, 01 Jul 2017 06:01:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRFDi-0007hQ-Eh for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2017 06:01:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRFDh-0002FQ-Bi for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2017 06:01:42 -0400 Received: from mail-it0-x22f.google.com ([2607:f8b0:4001:c0b::22f]:35299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRFDh-0002Dq-61 for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2017 06:01:41 -0400 Received: by mail-it0-x22f.google.com with SMTP id v202so70807280itb.0 for ; Sat, 01 Jul 2017 03:01:39 -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 :content-transfer-encoding; bh=ho+lY//1IL5sugGXrtyjpB43aqPzMkaMQUFld9iaYQU=; b=Vs6e8sYafELgHg7I9JhUJQIg19V9UBSoiYzGSO3tFNj+2ErSpBwy8DEf1ChTMwMRSt pwamRgxV/pn6UeApFtEDIKxgc3tqwWS46sE706zF8A3vVkV2pH4MlrMceANbU4/oS1MD L0EN0mO7KADMFXT8CYTWAXI0RnjyhXh1+0eEmmYUJJ8bFeMnCCL8vHyohbiDHwSKsjaf UQD4xwouiedx2vCFVNR3gRaCgziQbaGIc0y1sNRPxWiHsPDf1tUCug0BvuLnLcL/GRnt VR7wP6AjflsDhNGGEScwPM9THN1dHijWcRnrnuyJ9XFw/qvHuqD0bwNzJW6mm3C2fFQY Qurw== 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:content-transfer-encoding; bh=ho+lY//1IL5sugGXrtyjpB43aqPzMkaMQUFld9iaYQU=; b=rQ0EpIcr8lMtFM56x5JUhIPv3vLhy/cnQSyU+lR1rWe8DaJPAbNmJRZ3sUZAlaPKbT ZwwVUUh9hFLq+I3XSrmZXx05WFUc+tO17D5CqwdrXvJOVI+7w7rNY1S6beR3XGibhjP/ hTvpvEgYyR3NiJBOnQGVZAQLYHadqi4+08ci6I2Qypv0bhPLEt/W4+zgfJs+VRqo4f4o xeEKeT3rNSJYu8EH28AEWLaFE3wStmydDdOJzFrM6N+b737KPtSXEZbOZLUvhoSoTS9o XAHWMI5qbQUt5U3i/Z+tfat5oP5jMpn3lYyTaCAmw1rO4Dm3CpnHHgPc2wyqaeijanXc reyQ== X-Gm-Message-State: AKS2vOyEMCsRj6jz/7d+JA8QonRAqsS2/ixSdn2mLVBVNn2E/H1A8I+w n/vmksg3XMF9zFUOPaFxaulEX3MdXWMl X-Received: by 10.36.135.204 with SMTP id f195mr23236742ite.91.1498903298209; Sat, 01 Jul 2017 03:01:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.122.147 with HTTP; Sat, 1 Jul 2017 03:01:17 -0700 (PDT) From: Yuri Khan Date: Sat, 1 Jul 2017 17:01:17 +0700 X-Google-Sender-Auth: UicWQrHk9lZL5r4HoVmJ8c7-5ts Message-ID: Content-Type: text/plain; charset="UTF-8" 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: -6.8 (------) 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: -6.8 (------) $ emacs -Q C-x C-f test.el RET ;; -*- lexical-binding: t -*- (defun foo (x) (pcase x ((and `(,bar ,baz) (guard (eq bar 'quux))) baz))) C-x C-s M-x byte-compile RET test.el RET Observed output: Compiling file /home/yuri/test.el at Sat Jul 1 16:27:36 2017 test.el:3:1:Warning: Unused lexical variable =E2=80=98bar=E2=80=99 Expected behavior: no warning, as the variable is used in the guard. What is the byte compiler trying to tell me? Upd. Hmm. I=E2=80=99ve read the output of (pp (macroexpand (pcase =E2=80=A6= ))). (if (consp x) (let* ((x (car x)) (x (cdr x))) (if (consp x) (let* ((x (car x)) (x (cdr x))) (if (or (not (null x)) (not (let* ((bar x)) ;; =E2=86=90 one (eq bar 'quux)))) nil (let ((baz x) (bar x)) ;; =E2=86=90 two baz))) nil)) nil) It binds =E2=80=98bar=E2=80=99 twice, once around the guard expression, and= again around the case body. It=E2=80=99s probably the second one that triggers th= e warning. In GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-12-13, modified by Debian built on lgw01-55 Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Ubuntu 16.04.2 LTS Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25= .1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1/site-li= sp:/usr/share/emacs/site-lisp --with-sound=3Dalsa --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25= .1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1/site-li= sp:/usr/share/emacs/site-lisp --with-sound=3Dalsa --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_MONETARY: en_RU.UTF-8 value of $LC_NUMERIC: en_RU.UTF-8 value of $LC_TIME: en_RU.UTF-8 value of $LANG: en_US.UTF-8 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: Wrote /home/yuri/test.el Compiling /home/yuri/test.el...done Wrote /home/yuri/test.elc previous-line: Beginning of buffer [12 times] Mark set [5 times] C-g is undefined Saving file /home/yuri/test.el... Wrote /home/yuri/test.el Compiling /home/yuri/test.el...done Wrote /home/yuri/test.elc Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message 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 warnings help-fns byte-opt compile comint ansi-color ring bytecomp byte-compile cl-extra help-mode cl-loaddefs pcase cl-lib cconv dired two-column 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 104547 9702) (symbols 48 21233 0) (miscs 40 85 207) (strings 32 19291 4424) (string-bytes 1 569482) (vectors 16 13692) (vector-slots 8 450722 6005) (floats 8 176 413) (intervals 56 841 680) (buffers 976 20) (heap 1024 41261 1188)) From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 01 08:37:50 2017 Received: (at control) by debbugs.gnu.org; 1 Jul 2017 12:37:50 +0000 Received: from localhost ([127.0.0.1]:46982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRHeo-0007pW-HM for submit@debbugs.gnu.org; Sat, 01 Jul 2017 08:37:50 -0400 Received: from mail-io0-f179.google.com ([209.85.223.179]:35625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRHen-0007pK-Ku for control@debbugs.gnu.org; Sat, 01 Jul 2017 08:37:49 -0400 Received: by mail-io0-f179.google.com with SMTP id h134so36211497iof.2 for ; Sat, 01 Jul 2017 05:37:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=SvqTyG95xdO5v1p87hexcmQ753YcdRwEQ1Ku9CGr/WE=; b=r0/gLXK5foseV7vH42IgQ/m1Fe+Ca80d8wXAELMoNvkzfX9d5JZQQUKOyx0lL4LcTe AJCVS6e345COmlaLidPHkfHj4NdPC4XwjqUGe04n6oES4r8fw+JoBVsNJ8DMpWZHmd6e umHJEvulpwX2CUWxiC8/0i/XeO8s86hWZ5P1Wbo7Sk/6oanR7bhZmQD/kaei2Ou7QpPD n1b4RHzOFJeBG2AfGISJUMnc4JTaENzXHq/fbno+So/qaQQc0KnuYOnxmD0YrQtknpco G8kAyEN84kJvhcKyeKc8yjDeA9RSkIa9zNLTs/VGoiPecRedWwGjZV6rtOfK5c4P8icj x9vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=SvqTyG95xdO5v1p87hexcmQ753YcdRwEQ1Ku9CGr/WE=; b=swaaVwIecIa/zSiThgAjRKFOQy1jX5d17UgWbemyx4h3tn3m3cathUAmilywstkBzD 6byFYDBo/tx3uzdWQpVOc47KvyY7H+YxC8x7CBZuiW5ZAaLmPjEVnXlAuJ6NvbpkDuTD ikufHY9O9oT9hF2+r13Q+AOtFYhXIE4+rxCliX6t1m5V0GqNFvIBaDOxq+lCAaHjJ5rq A0VIgr6M5B7gDgZNU9gil3amAmeBZ+TXFit2FSP1nIl6r3LzqjGZyXHBeTMxMI7Vxhr6 vSHh+QuBgMl1Pg11qVchywywx6j9cgqeW+CDCDwE27lqijzzBSfTKViAeaZwUgzCMZio 7DVQ== X-Gm-Message-State: AKS2vOzpmO9iA9PGLzewZm4FoEuHHJWcj04DC23oTFcyc7ZG8HjGBFdu zDdn3usakysZU0M+ X-Received: by 10.107.152.131 with SMTP id a125mr13193286ioe.205.1498912663949; Sat, 01 Jul 2017 05:37:43 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id g198sm3255433itb.3.2017.07.01.05.37.43 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Jul 2017 05:37:43 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #27545 Date: Sat, 01 Jul 2017 08:39:20 -0400 Message-ID: <87h8ywl4av.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) 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: -2.1 (--) forcemerge 16771 27545 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 01 08:44:58 2017 Received: (at control) by debbugs.gnu.org; 1 Jul 2017 12:44:58 +0000 Received: from localhost ([127.0.0.1]:46988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRHli-0007zh-Ad for submit@debbugs.gnu.org; Sat, 01 Jul 2017 08:44:58 -0400 Received: from mail-it0-f47.google.com ([209.85.214.47]:37312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRHlg-0007zU-SF for control@debbugs.gnu.org; Sat, 01 Jul 2017 08:44:57 -0400 Received: by mail-it0-f47.google.com with SMTP id m84so37149993ita.0 for ; Sat, 01 Jul 2017 05:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=aivKJdo50qbyEJ3tV+KglM4/CAcNYsH956FGvNMQ11I=; b=nlpNUYzSZMymtiPH8QSaz45myDy+0lDvKZ36toe/AXqfNRhpFMc8rBKWHUXPCp+uPd lu4zUw+uUEsD+521lcDYgyrJDkN7OC2FBWR1BV67SPOTVkiCEB6n8ICq0bQnZrClKLkD /aJCF4tzoGiUZw0yXjhskjPmd3QLHvmP4GDMxMcfDq5Q5M2QF+jVRZ6GAbkgC4EjEm4G chE2VV6MtdrJ/aWxD2pQtDdqOsCQ+fzbu8DLw/XAiCA5Sym3pl19riRY+ZmQQ1hDElUd vWAvTocEWTma7qQXYN5cWI3yy0Z3MPd0YF6SUVIid8V+1CNbGsUt/Fy2it2iw+r8zypC Xi5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=aivKJdo50qbyEJ3tV+KglM4/CAcNYsH956FGvNMQ11I=; b=La113M9Fa/oSKiMDNkAm5V9g2oWyJQ/KfsEXMNbNzcawKn8JeMl3Bgh0Jz3nPjnJGE onp5OSDr1mzoEuTaEGG5vf3sWAYCBaRsa7PyTSPwLpj2REE2VacAqBIp9F/ynkyq31WV ucBAS8C7Om571kGAaEMEvHpRx/DV5EFGybZq0+DmP2iSZpIiW/ovG6eO3PmM5rAM29pj tu9xAr1o6W1aCSRZ7tX/6ErJeFajuuoUw5ICXkZR0EhffKzpIiaWVW9jhinOSnYXlaJ9 JkFb8egVM7FfNggd/iEiFV+cg2iFfB+JHHeSnpmiq4nhg52Zor8rhDXl/H5q0DT9GJoE fLtw== X-Gm-Message-State: AIVw111fZ8tJS9+KH/llbpLwFry2/vjCbK/DYKlOjXzVvfQwvp5ZABHg utpKv71jnp1CfeJe X-Received: by 10.36.40.145 with SMTP id h139mr370703ith.84.1498913091071; Sat, 01 Jul 2017 05:44:51 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id s68sm3536744ita.29.2017.07.01.05.44.50 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Jul 2017 05:44:50 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #11864 Date: Sat, 01 Jul 2017 08:46:27 -0400 Message-ID: <87fuegl3z0.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) 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.7 (/) retitle 11864 edebug fails to instrument code which uses net-yet-loaded macros tags 11864 + confirmed # pcase guard unused var warning tags 16771 + confirmed quit From unknown Sat Jun 21 12:23:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27545: bug#25558: Spurious warnings with variables mentioned only pcase guard patterns Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Sep 2021 08:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27545 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Yuri Khan Cc: 27545@debbugs.gnu.org, 25558@debbugs.gnu.org Received: via spool by 27545-submit@debbugs.gnu.org id=B27545.16306589619908 (code B ref 27545); Fri, 03 Sep 2021 08:50:02 +0000 Received: (at 27545) by debbugs.gnu.org; 3 Sep 2021 08:49:21 +0000 Received: from localhost ([127.0.0.1]:42902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM4sz-0002Zf-C7 for submit@debbugs.gnu.org; Fri, 03 Sep 2021 04:49:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM4sw-0002ZJ-GX; Fri, 03 Sep 2021 04:49:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=vbYbrHYQpvFvRodK3KMRqZaA+dyNnzUbV90IJVLw4DE=; b=cqovasSzRHMC1aF8BtSzp6ChFJ jM9pNEWzsLYvh6HdwqOQiDtKjBd1MKbCSvVp4jDn5OVHDUS99VaLTnlAW3QUzuLTTkvYQKlRQfLgK 9SmAMyVnQ2YuaOZxj1VuMy1SkJBDGXdr+F0B8FjXFSXnmsSz5OHetI+RZns22Bm0SI+8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mM4sn-0002Bf-LP; Fri, 03 Sep 2021 10:49:12 +0200 From: Lars Ingebrigtsen References: Date: Fri, 03 Sep 2021 10:49:09 +0200 In-Reply-To: (Yuri Khan's message of "Sat, 1 Jul 2017 17:01:17 +0700") Message-ID: <871r6611tm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Yuri Khan writes: > C-x C-f test.el RET > > ;; -*- lexical-binding: t -*- > > (defun foo (x) > (pcase x > ((and `(, bar , baz) > (guard (eq bar 'quux))) > baz))) > > C-x C-s > M-x byte-compile RET test.el RET > > Observe [...] 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: -2.3 (--) 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: -3.3 (---) Yuri Khan writes: > C-x C-f test.el RET > > ;; -*- lexical-binding: t -*- > > (defun foo (x) > (pcase x > ((and `(,bar ,baz) > (guard (eq bar 'quux))) > baz))) > > C-x C-s > M-x byte-compile RET test.el RET > > Observed output: > > Compiling file /home/yuri/test.el at Sat Jul 1 16:27:36 2017 > test.el:3:1:Warning: Unused lexical variable =E2=80=98bar=E2=80=99 I can reproduce this in Emacs 26.1, but not in Emacs 28, so I'm guessing that this is fixed, and I'm closing this bug report. If there's still problems here, please respond to the debbugs address and we'll reopen. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 04:49:26 2021 Received: (at control) by debbugs.gnu.org; 3 Sep 2021 08:49:26 +0000 Received: from localhost ([127.0.0.1]:42905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM4t4-0002a2-Me for submit@debbugs.gnu.org; Fri, 03 Sep 2021 04:49:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM4t2-0002Za-VQ for control@debbugs.gnu.org; Fri, 03 Sep 2021 04:49:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=g6Tl573y6tdqnLFbua7tjX+yzOMy+ipkBAUlsLwJfZU=; b=rEI0a4714/6IfxCb/FrikWUi2s JV42zjIsZNUQDMwpC8ZpVfEpowPyXIZgSO23Um3MUk7oPWt8LXgzPvVkF65did9fZ7/w2i8RY3pNV eATbyA+PNv1EM7Q/w2gcV14K3M641e/c072WMW0CmAbhSpOaagjei+ghJjGSNa85SUHo=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mM4sv-0002Ci-7C for control@debbugs.gnu.org; Fri, 03 Sep 2021 10:49:19 +0200 Date: Fri, 03 Sep 2021 10:49:16 +0200 Message-Id: <87zgsuyrg3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #25558 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: close 25558 28.1 quit 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: -2.3 (--) 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: -3.3 (---) close 25558 28.1 quit