From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#26406: 26.0.50; 'function' fails as variable name inside lexical-let Date: Sat, 22 Apr 2017 18:46:34 +0900 Message-ID: <878tmszsed.fsf@calancha-pc> References: <871st2vo4k.fsf@zancas> <87lgrat12p.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1492854443 30820 195.159.176.226 (22 Apr 2017 09:47:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Apr 2017 09:47:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 26406-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 22 11:47:12 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 1d1rdI-0007jb-Ec for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Apr 2017 11:47:12 +0200 Original-Received: from localhost ([::1]:34939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1rdM-0007qB-L7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Apr 2017 05:47:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1rdB-0007oP-RV for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 05:47:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1rd8-0007HG-PS for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 05:47:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34999) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1rd8-0007HA-LR for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 05:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d1rd8-0003Ja-FB for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 05:47:02 -0400 Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Apr 2017 09:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 26406 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 26406@debbugs.gnu.org, tino.calancha@gmail.com, david@tethera.net Original-Received: via spool by 26406-done@debbugs.gnu.org id=D26406.149285440612711 (code D ref 26406); Sat, 22 Apr 2017 09:47:02 +0000 Original-Received: (at 26406-done) by debbugs.gnu.org; 22 Apr 2017 09:46:46 +0000 Original-Received: from localhost ([127.0.0.1]:33196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1rcr-0003Iw-Sl for submit@debbugs.gnu.org; Sat, 22 Apr 2017 05:46:46 -0400 Original-Received: from mail-io0-f174.google.com ([209.85.223.174]:33262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1rcq-0003Ih-FV for 26406-done@debbugs.gnu.org; Sat, 22 Apr 2017 05:46:44 -0400 Original-Received: by mail-io0-f174.google.com with SMTP id k87so144437058ioi.0 for <26406-done@debbugs.gnu.org>; Sat, 22 Apr 2017 02:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=uUxpHeSKlqM+d0vNNC/OO4vXfp0QE9JKq/yShveNPn4=; b=i/iF77aCF0evVa1IvzeBfIn8KS4p8X2MyHsO9I3E6rxnnc6OgEgHKnqFj/KYmWq+u9 Jkf6bJXG2kks6fxr44GG923rCv/jyUpQX0Cws67oV+5fdhMcX1Q7k2db75VSuROpeDSm zL9xsU26vOXdMQLsjmUmR7HD21Sq0qyBU4XwYCzzkYKEB6b2bw/Midr38JJTwQq3wYjb xcEFx7wxo/3zUN+L9RJbvqkHZ1cK72eb49A7f8tlfd1MCEjv6nXfnnunBz2U4gs2XDGM 2HXnnZAlu40RE/XsFVhey6GbmxFo6nN81FbPDzz9cR5YvpQsVL9WOnsnY4irbH/Lciyg zGWg== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=uUxpHeSKlqM+d0vNNC/OO4vXfp0QE9JKq/yShveNPn4=; b=iT3tM5rkTB10mvqchAyI9XIEoh9FuTDbGk9R3zwos1RFpTD8QzCbGmqt3dH9h60lAN 7583V9yJFAllDA8tIXSteweasibm5NrGknSoNpGSoqHVEUz0S0VvSwHfeFGkigL8KFoq RFDytz0Fw+7lit/rF0GBOWEQcyGZCiSTZkAFKv6SfXYRYZVebp0XLrje0P0RW4fQLjpR rwjl3xI92Nf4xIlGTnMKOmcXTtR95FyIuwoASFaQk3jqeDjrZa6VuN6pYdxa+ZFCDeFf xxDI9B/e1ewHbV1eSzi8HN5Fp3ZF8UvCSorrl5fVt87rpFXDnnNufnEik7/ufMQJ0jNf RRMw== X-Gm-Message-State: AN3rC/4d1Y3A540McVSvNBaP4nQ0H926AxGa0amZDF0cml30+KN8gIhP XKetBVMTqWfssTj/ X-Received: by 10.98.103.217 with SMTP id t86mr16206808pfj.135.1492854398564; Sat, 22 Apr 2017 02:46:38 -0700 (PDT) Original-Received: from calancha-pc (222.139.137.133.dy.bbexcite.jp. [133.137.139.222]) by smtp.gmail.com with ESMTPSA id m19sm20462717pfg.115.2017.04.22.02.46.37 for <26406-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 22 Apr 2017 02:46:37 -0700 (PDT) In-Reply-To: <87lgrat12p.fsf@calancha-pc> (Tino Calancha's message of "Sun, 09 Apr 2017 17:52:30 +0900") 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:131858 Archived-At: Tino Calancha writes: > David Bremner writes: > >> 0) Put the following elisp in a file called e.g. test.el >> (eval-when-compile (require 'cl)) >> (defun my-fun (function) >> (lexical-let ((x 1)) >> (funcall function))) >> >> 1) run "emacs -Q --batch -f batch-byte-compile test.el" >> >> 2) Observe the following unhelpful error message >> >> In toplevel form: >> test.el:2:1:Error: Wrong type argument: listp, cl--function-convert > Confirmed. > This is similar as Bug#26325. Both are caused by commit > 0d112c00ba0ec14bd3014efcd3430b9ddcfe1fc1 Fixed by commit 89898e43c7ceef28bb3c2116b4d8a3ec96d9c8da