From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Davin Pearson Newsgroups: gmane.emacs.help Subject: Re: Novice trouble with generator.el Date: Mon, 16 Nov 2015 23:24:13 -0800 (PST) Message-ID: References: <33a346d6-e0ae-4250-b7b1-9ddb8efab2a8@googlegroups.com> <5f74a87f-ffb4-4597-a0bd-de2d35ed4035@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1447745119 27909 80.91.229.3 (17 Nov 2015 07:25:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2015 07:25:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 17 08:25:19 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zyadi-0006hA-8h for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Nov 2015 08:25:18 +0100 Original-Received: from localhost ([::1]:56102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zyadg-0008Q1-VK for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Nov 2015 02:25:16 -0500 X-Received: by 10.129.96.134 with SMTP id u128mr14759007ywb.40.1447745053917; Mon, 16 Nov 2015 23:24:13 -0800 (PST) X-Received: by 10.50.98.67 with SMTP id eg3mr10210igb.1.1447745053888; Mon, 16 Nov 2015 23:24:13 -0800 (PST) Original-Path: usenet.stanford.edu!f78no324529qge.1!news-out.google.com!l1ni238igd.0!nntp.google.com!i2no4114892igv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=202.124.123.170; posting-account=SVVH0AoAAABplEQzMkIR3gU7a0gK8IuF Original-NNTP-Posting-Host: 202.124.123.170 User-Agent: G2/1.0 Injection-Date: Tue, 17 Nov 2015 07:24:13 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:215824 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108110 Archived-At: On Tuesday, November 17, 2015 at 5:17:16 PM UTC+13, John Mastro wrote: > > When I try to execute > > > > iter-defun iterator-of-directory-files (directory &optional full match nosort recurse) > > > > it gives me the following error: > > > > Assertion failed: lexical-binding > > > > What gives? Note that I am using Emacs 24.3.1. > > > > Do I have to execute Emacs 25.x.y? > > Put a comment like this as the very first line of the file: > > ;;; lexical-binding: t > > Lexical binding is optional in Emacs but generator.el requires it. > > -- > john When I execute (iter-defun iterator-of-directory-files (directory &optional full match ...) it says (void-function macroexp-parse-body) I tried to install Emacs 25 using the following command: apt-get install emacs25 apt-get spits out the following error message: E: Unable to locate package emacs25 How do I go about installing emacs25?