Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to define a function in Zile Lisp

Received: by 10.66.79.40 with SMTP id g8mr52729pax.45.1352966505008;
        Thu, 15 Nov 2012 00:01:45 -0800 (PST)
Path: s9ni12609pbb.0!nntp.google.com!news.glorb.com!usenet.stanford.edu!not-for-mail
From: Tassilo Horn <t...@gnu.org>
Newsgroups: gnu.emacs.help
Subject: Re: How to define a function in Zile Lisp
Date: Thu, 15 Nov 2012 08:53:48 +0100
Lines: 28
Approved: help-gnu-em...@gnu.org
Message-ID: <mailman.13020.1352966503.855.help-gnu-emacs@gnu.org>
References: <87r4nzt370.fsf@googlemail.com> <871ufyfwcw.fsf@thinkpad.tsdh.de>
	<87obj2pow8.fsf@googlemail.com> <878va52xkq.fsf@thinkpad.tsdh.de>
	<CA+5B0FOf93DVrrh1zSyaBQtM1FBgCVWhVuYhsrkLL_FNARWknA@mail.gmail.com>
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
X-Trace: usenet.stanford.edu 1352966504 19614 208.118.235.17 (15 Nov 2012 08:01:44 GMT)
X-Complaints-To: action@cs.stanford.edu
Cc: help-gnu-em...@gnu.org
To: =?utf-8?Q?Aur=C3=A9lien?= Aptel <aurelien.aptel+em...@gmail.com>
Envelope-to: help-gnu-em...@gnu.org
X-Virus-Scanned: amavisd-new at uni-koblenz.de
X-CHKRCPT: Envelopesender noch t...@gnu.org
In-Reply-To: <CA+5B0FOf93DVrrh1zSyaBQtM1FBgCVWhVuYhsrkLL_FNARWknA@mail.gmail.com>
	(=?utf-8?Q?=22Aur=C3=A9lien?= Aptel"'s message of "Thu, 15 Nov 2012
	07:33:20 +0100")
User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 141.26.64.15
X-Mailman-Approved-At: Thu, 15 Nov 2012 03:01:42 -0500
X-BeenThere: help-gnu-em...@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-requ...@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-em...@gnu.org>
List-Help: <mailto:help-gnu-emacs-requ...@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-requ...@gnu.org?subject=subscribe>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Aur=C3=A9lien Aptel <aurelien.aptel+em...@gmail.com> writes:

>> As far as I know, GNU Zile has just been ported to Lua, and that
>> version will probably replace the C version at some point in time.
>> That is probably a bit easier to hack on.
>>
>> It's lisp interpreter (which doesn't implement more than the C version)
>> is this:
>>
>>   http://git.savannah.gnu.org/cgit/zile.git/tree/src/lisp.lua?h=3Dlua
>
> That's curious. I'm assuming Zile didn't want a Lisp interpreter
> because it would make it less "lightweight". Now that they have a
> full-fledged Lua interpreter, is Zile programmable in it?

It's written in Lua, so clearly yes.  But I'm not sure if you can have
some ~/.zile.lua (beside the lispy ~/.zile) with your own configs and
settings.  That should be easy to implement, though.

> If not, what is the reason for not having a lisp interpreter ?

I don't know.  Maybe they could have made it extensible using Guile
instead of writing an own suped-tiny lisp interpreter.  But I guess Zile
isn't meant to be overly extensible.  If you want that, go with emacs.

Bye,
Tassilo