From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: mah--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46159: 28.0.50; lexical-let does not work with returned closures on nativecomp Date: Thu, 28 Jan 2021 15:10:33 -0500 Message-ID: <87h7n0akli.fsf@everybody.org> Reply-To: "Mark A. Hershberger" Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5854"; mail-complaints-to="usenet@ciao.gmane.io" To: 46159@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 28 21:12:18 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5DeM-0001Nm-92 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 21:12:18 +0100 Original-Received: from localhost ([::1]:54668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5DeL-0003IL-70 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 15:12:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5De6-0003HY-Ah for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 15:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38700) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5De6-0001mP-3Z for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 15:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l5De5-00036v-Uo for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 15:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Mark A. Hershberger" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2021 20:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46159 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161186466311863 (code B ref -1); Thu, 28 Jan 2021 20:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jan 2021 20:11:03 +0000 Original-Received: from localhost ([127.0.0.1]:50240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5Dd8-000355-8M for submit@debbugs.gnu.org; Thu, 28 Jan 2021 15:11:02 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:47822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5Dcy-00034h-6g for submit@debbugs.gnu.org; Thu, 28 Jan 2021 15:11:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5Dcx-0002dB-WA for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 15:10:52 -0500 Original-Received: from nospam.nichework.com ([206.71.169.33]:51745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5Dcv-0001LP-K8 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 15:10:51 -0500 Original-Received: from localhost (localhost.localdmain [127.0.0.1]) by nospam.nichework.com (Postfix) with ESMTP id 54F98B004E for ; Thu, 28 Jan 2021 15:09:30 -0500 (EST) Authentication-Results: nospam; dmarc=fail header.from=everybody.org Authentication-Results: nospam.nichework.com; dkim=pass reason="2048-bit key; insecure key" header.d=everybody.org header.i=@everybody.org header.b=GTAVl7yK; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at nospam.nichework.com Original-Received: from nospam.nichework.com ([127.0.0.1]) by localhost (nospam.nichework.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id viNxoqFTVOLt for ; Thu, 28 Jan 2021 15:09:30 -0500 (EST) Original-Received: from mail.nichework.com (mail.nichework.com [108.161.151.158]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by nospam.nichework.com (Postfix) with ESMTPS id A1D40B0043 for ; Thu, 28 Jan 2021 15:09:29 -0500 (EST) Authentication-Results: nospam; dmarc=fail header.from=everybody.org Original-Received: from mail.nichework.com (localhost.localdomain [127.0.0.1]) by mail.nichework.com (Postfix) with ESMTPS id 7E5A14E012A for ; Thu, 28 Jan 2021 20:10:44 +0000 (UTC) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.nichework.com (Postfix) with ESMTP id 645704E018E for ; Thu, 28 Jan 2021 20:10:44 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.nichework.com 645704E018E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=everybody.org; s=C75414D8-59CA-11EA-A864-6C07A2A44C35; t=1611864644; bh=QC6yTcswbgme4EP38nrRcTTz211t5IYA0bdElBQ3AGg=; h=From:To:Date:Message-ID:MIME-Version; b=GTAVl7yKndDbOcq5+cC4clwO1LTG4g6xsO++yV3O/cDcVqRNOvPGUHaXrz5FpxwcG IoswlPY04PUWhfK78/v4xjJZguRbLz10t5FxPkIyM/m1ZGVTDy5frFnPmIKL6bhpKP Nnw4Sl+m2vJ+P57X6fpIjiCjorapG5/oOVwaQNHjdigXfDqNeIJ3XjZEGJ02IknpIo C2reB9NCAsMfba13QT+Eev/34ZaTjyeJKP+Z8kPtL9C0Bez+rRyD8ehwG0iNx11pGu 2gCvgS0K4lQ6jdgun5oEKoZzfH4AlpSCaUsQ0Hzh/zLUSoWtbje61/m55v/2XtBt7z NJnu5vF25c9yA== Original-Received: from mail.nichework.com ([127.0.0.1]) by localhost (mail.nichework.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id dyMRZ29FHlbU for ; Thu, 28 Jan 2021 20:10:44 +0000 (UTC) Original-Received: from silk.everybody.org (209-253-11-94.ip.mcleodusa.net [209.253.11.94]) by mail.nichework.com (Postfix) with ESMTPSA id 1C4B64E012A for ; Thu, 28 Jan 2021 20:10:44 +0000 (UTC) Received-SPF: pass client-ip=206.71.169.33; envelope-from=mah@everybody.org; helo=nospam.nichework.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEXHASH_WORD=1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198818 Archived-At: I previously filed #45056 but the problem seemed to be fixed. It has re-appeared and I just noticed some interesting messages in my *Warnings* buffer that appear to be relevant. Specifically: Warning (comp): init.el:164:39: Warning: =E2=80=98(post-cmd post-cmd)= =E2=80=99 is a malformed function Warning (comp): init.el:181:59: Warning: reference to free variable =E2= =80=98rsync-buff=E2=80=99 That section of code has this function: (defun mah/firestarter-sentinel (host post-cmd) "Sentinal function that will run the POST-CMD on HOST." (lexical-let ((post-cmd post-cmd) (host host) (rsync-buff (get-buffer-create mah/rsync-buff-name))) (lambda (proc event-type) (message (concat "post cmd: " post-cmd "\nevent: " event-type)) (cond ((string-equal event-type "finished\n") (if post-cmd (progn (message (concat "rsync finished, running " post-cmd)) (mah/firestarter-do-post host post-cmd rsync-buff)) (message "rsync finshed"))) (t (if post-cmd (progn (message (concat "rsync didn't finish normally, " "running anyway. Check " mah/rsync-buff-name)) (mah/firestarter-do-post host post-cmd rsync-buff)) (message "rsync finshed with errors"))))))) I just compiled emacs from master and it did not exhibit the same behavior In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, ca= iro version 1.16.0) of 2021-01-28 built on silk Repository revision: 0e250276d2445b258edcb5cb12796d626e5421dc (This is b8d3= ae78c5 with a patch to revert 32c6732d16385f242b1109517f25e9aefd6caa5c appl= ied to it.) Repository branch: feature/native-comp Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Configured using: 'configure --with-modules --with-xwidgets --with-gconf --with-cairo --with-json --with-nativecomp --with-imagemagick CFLAGS=3D-O2' Configured features: ACL CAIRO DBUS FREETYPE GCONF GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Memory information: ((conses 16 1072892 320443) (symbols 48 54985 10) (strings 32 316990 71161) (string-bytes 1 10029517) (vectors 16 120122) (vector-slots 8 3853812 409822) (floats 8 1440 2041) (intervals 56 1385 1047) (buffers 984 21)) --=20 http://hexmode.com/ I cannot remember the books I've read any more than the meals I have eaten; even so, they have made me. -- Ralph Waldo Emerson