From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Bremner Newsgroups: gmane.emacs.bugs Subject: bug#26406: 26.0.50; 'function' fails as variable name inside lexical-let Date: Sat, 08 Apr 2017 13:51:39 -0300 Message-ID: <871st2vo4k.fsf@zancas> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1491670396 29426 195.159.176.226 (8 Apr 2017 16:53:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Apr 2017 16:53:16 +0000 (UTC) To: 26406@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 08 18:53:11 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 1cwtbn-0006l4-8m for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Apr 2017 18:53:07 +0200 Original-Received: from localhost ([::1]:55891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwtbs-0002JE-TJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Apr 2017 12:53:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwtbn-0002J7-4L for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 12:53:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwtbj-0000I2-0O for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 12:53:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40179) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwtbi-0000Hy-So for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 12:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cwtbi-0005ap-LE for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 12:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Bremner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Apr 2017 16:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26406 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.149167032721432 (code B ref -1); Sat, 08 Apr 2017 16:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Apr 2017 16:52:07 +0000 Original-Received: from localhost ([127.0.0.1]:38378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwtap-0005Zc-1Y for submit@debbugs.gnu.org; Sat, 08 Apr 2017 12:52:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwtam-0005Z7-3X for submit@debbugs.gnu.org; Sat, 08 Apr 2017 12:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwtaf-0008TE-Nf for submit@debbugs.gnu.org; Sat, 08 Apr 2017 12:51:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cwtaf-0008T6-Jz for submit@debbugs.gnu.org; Sat, 08 Apr 2017 12:51:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwtad-0002Ag-Pb for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 12:51:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwtaZ-0008S4-SF for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 12:51:55 -0400 Original-Received: from fethera.tethera.net ([198.245.60.197]:34476) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwtaZ-0008RG-NC for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 12:51:51 -0400 Original-Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1cwtZf-00060w-89 for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 12:50:55 -0400 Original-Received: (nullmailer pid 24816 invoked by uid 1000); Sat, 08 Apr 2017 16:51:39 -0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:131380 Archived-At: 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 This is minimally a behaviour change since emacs 25.1. I tested against current master branch (hash 5f319eb3a) In GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2017-04-08 built on zancas Repository revision: c5f319eb3a2e0ad97867c8dc61bfc140333fb11d System Description: Debian GNU/Linux 9.0 (stretch) Recent messages: Loading /home/bremner/.emacs.d/custom.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --without-pop' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LANG: en_CA.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: 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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/rxvt term/xterm xterm time-date warnings finder-inf package epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt subr-x gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 125804 6927) (symbols 48 22946 1) (miscs 40 86 116) (strings 32 25338 4515) (string-bytes 1 791650) (vectors 16 16167) (vector-slots 8 484127 2556) (floats 8 58 351) (intervals 56 200 0) (buffers 976 14)) -- David Bremner Professor, UNB Computer Science bremner@unb.ca http://www.cs.unb.ca/~bremner Cross Appointment, UNB Mathematics