From: Thorsten Jolitz <tjolitz@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: How to define a function in Zile Lisp
Date: Mon, 12 Nov 2012 13:29:07 +0100 [thread overview]
Message-ID: <87r4nzt370.fsf@googlemail.com> (raw)
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
next reply other threads:[~2012-11-12 12:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-12 12:29 Thorsten Jolitz [this message]
2012-11-12 19:35 ` How to define a function in Zile Lisp 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4nzt370.fsf@googlemail.com \
--to=tjolitz@googlemail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).