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: Sun, 09 Apr 2017 17:52:30 +0900 Message-ID: <87lgrat12p.fsf@calancha-pc> References: <871st2vo4k.fsf@zancas> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1491727998 3213 195.159.176.226 (9 Apr 2017 08:53:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Apr 2017 08:53:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 26406@debbugs.gnu.org, Stefan Monnier To: David Bremner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 09 10:53:08 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 1cx8ao-0008Ae-Hh for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Apr 2017 10:53:06 +0200 Original-Received: from localhost ([::1]:57747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cx8au-0007tZ-Id for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Apr 2017 04:53:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cx8an-0007tU-Mf for bug-gnu-emacs@gnu.org; Sun, 09 Apr 2017 04:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cx8ak-0000Eg-ID for bug-gnu-emacs@gnu.org; Sun, 09 Apr 2017 04:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40667) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cx8ak-0000Ec-Et for bug-gnu-emacs@gnu.org; Sun, 09 Apr 2017 04:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cx8ak-0004gs-5o for bug-gnu-emacs@gnu.org; Sun, 09 Apr 2017 04:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Apr 2017 08:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26406 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26406-submit@debbugs.gnu.org id=B26406.149172797718017 (code B ref 26406); Sun, 09 Apr 2017 08:53:02 +0000 Original-Received: (at 26406) by debbugs.gnu.org; 9 Apr 2017 08:52:57 +0000 Original-Received: from localhost ([127.0.0.1]:38866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cx8ae-0004gX-Mi for submit@debbugs.gnu.org; Sun, 09 Apr 2017 04:52:56 -0400 Original-Received: from mail-pg0-f43.google.com ([74.125.83.43]:33346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cx8ab-0004gI-PC for 26406@debbugs.gnu.org; Sun, 09 Apr 2017 04:52:54 -0400 Original-Received: by mail-pg0-f43.google.com with SMTP id x125so91917010pgb.0 for <26406@debbugs.gnu.org>; Sun, 09 Apr 2017 01:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=vaiy6zwHMkjVbDPcisf+aw3ng2I9KO+JMXrTNnTgqe0=; b=HGXF0pDhKhBjVl41WDs4tgEMaLslz03JWUGLW0+ehOh6FsmxYXb5F0w3/KyHAe6RfP INRV/pkbYkAuO16bc2hgkI0JGBfi+miwiGm/FuQBXz7qRHovxvaDHkUDq0uSM5q7h/Sd tajYn1fFOSYF5/T5rWLLWAEYOZswlvxzkaS3dP7KHPr34xtj15OzSmmUFzdhI8s1r6Ub hrRx++NjTvHgr05x8W8Lf3EVoPei4bCC/HPONdgbcaJJcApdz1mLUbqa4xPNkNAEGjnC Xd7R7b0Y2d4Wpob5xU7i3/u7CFKEx61g5+gjfVmrjPnYiaxfcV5+ddA7cqai+koZXuf6 my/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=vaiy6zwHMkjVbDPcisf+aw3ng2I9KO+JMXrTNnTgqe0=; b=TnCB/8BIvpZQQeUQVscJIgfqNrYoDVX2O7u5xPI3DI83vFVfo/ITCAhTTchS2hQ+hm NAVVw9z5a+ujDD6UHofE6UJt0yRXdPCaLRhUx3N/bfHEXRInAo2GDIJmury4mCUck8Vg S3D9Q40hnYDZSk/z7T70Qz/Q138Z4ZPqQ5c7F7cg9/NuDmMWkI+RbWls2ijMM4kc/U+h 17RN4MVFaXOqrGftuCukVk13kUqmdjrNaNcsmTQZSY5rqqDDpew95yCInhs/DTfBdS4D hMN0wlbRltYdP8Z2QleW6bBULpfj5BPmGJW2YOxyF8e4J8lNJOSQRr2EgXZZ9pBwsnOx y0/A== X-Gm-Message-State: AN3rC/6C8yOk4dBEJycZM+wVQzF+Ffu3qdT4srKsyktGkbLtc6KpoSEnJY0xzv+RLBoOPQ== X-Received: by 10.98.13.134 with SMTP id 6mr294314pfn.112.1491727967918; Sun, 09 Apr 2017 01:52:47 -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 r11sm6830115pfi.49.2017.04.09.01.52.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Apr 2017 01:52:47 -0700 (PDT) In-Reply-To: <871st2vo4k.fsf@zancas> (David Bremner's message of "Sat, 08 Apr 2017 13:51:39 -0300") 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:131399 Archived-At: 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