[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to define a function in Zile Lisp

From: Thorsten Jolitz
Subject: How to define a function in Zile Lisp
Date: Mon, 12 Nov 2012 13:29:07 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

Hi List, 

I recently discovered that the nice small and fast Emacs clone GNU Zile
(“Zile Is Lossy Emacs”) can be customized in its own .zile file with a
small subset of Emacs Lisp called Zile Lisp.

| For customization, Zile uses its own limited configuration language
| known as Zile Lisp. Zile Lisp is a tiny subset of Emacs Lisp that
| consists of the Zile commands plus ‘setq’.


Now I wonder how I can write my own functions in Zile lisp without
'defun' and other special forms, and without something like 'progn'

There is a pdf manual for zile (immediate download: that lists all Zile commands, but I can't
find any examples of Zile Lisp beyond simple customization settings with

So here is a question/challenge for the Emacs Lisp experts (maybe there
is even somebody on the list who used Zile Lisp before): 

How can I define a function (that is at least a sequence of Zile/Emacs
commands) only with 'setq' and the navigation/editing functions? and what
trick could simulate conditional execution when there are (apparently)
no conditionals in Zile Lisp?

Or is this question unreasonable, and the only reasonable way to add
functionality to Zile is to write it in C?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]