unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to define a function in Zile Lisp
@ 2012-11-12 12:29 Thorsten Jolitz
  2012-11-12 19:35 ` Tassilo Horn
  0 siblings, 1 reply; 6+ messages in thread
From: Thorsten Jolitz @ 2012-11-12 12:29 UTC (permalink / raw)
  To: help-gnu-emacs


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’.
`--------------------------------------------------------------------

(from: http://www.emacswiki.org/emacs/Zile)

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

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

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?

-- 
cheers,
Thorsten





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-15  7:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 12:29 How to define a function in Zile Lisp Thorsten Jolitz
2012-11-12 19:35 ` Tassilo Horn
2012-11-12 20:06   ` Thorsten Jolitz
2012-11-13 17:59     ` Tassilo Horn
2012-11-15  6:33       ` Aurélien Aptel
2012-11-15  7:53         ` Tassilo Horn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).