unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to define a function in Zile Lisp
Date: Mon, 12 Nov 2012 20:35:11 +0100	[thread overview]
Message-ID: <871ufyfwcw.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 87r4nzt370.fsf@googlemail.com

Thorsten Jolitz <tjolitz@googlemail.com> writes:

Hi Thorsten,

> 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’.
> `--------------------------------------------------------------------
>
> How can I define a function (that is at least a sequence of Zile/Emacs
> commands) only with 'setq' and the navigation/editing functions?

You can't.  Zile Lisp is really a very tiny subset of Emacs Lisp.  You
can't do anything except setting some of the few configuration options
like

  (setq tab-width 8)

or calling existing zile commands like

  (global-set-key "\M-hb" 'list-bindings)

Bye,
Tassilo




  reply	other threads:[~2012-11-12 19:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12 12:29 How to define a function in Zile Lisp Thorsten Jolitz
2012-11-12 19:35 ` Tassilo Horn [this message]
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=871ufyfwcw.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --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).