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
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thorsten Jolitz  
View profile  
 More options Nov 12 2012, 7:29 am
Newsgroups: gnu.emacs.help
From: Thorsten Jolitz <tjol...@googlemail.com>
Date: Mon, 12 Nov 2012 13:29:07 +0100
Local: Mon, Nov 12 2012 7:29 am
Subject: How to define a function in Zile Lisp

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.