From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: How to define a function in Zile Lisp Date: Mon, 12 Nov 2012 21:06:15 +0100 Message-ID: <87obj2pow8.fsf@googlemail.com> References: <87r4nzt370.fsf@googlemail.com> <871ufyfwcw.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352750794 31592 80.91.229.3 (12 Nov 2012 20:06:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2012 20:06:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 12 21:06:45 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TY0HM-0007uT-2q for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Nov 2012 21:06:44 +0100 Original-Received: from localhost ([::1]:53469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY0HC-0002h9-GH for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Nov 2012 15:06:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY0H4-0002gQ-Si for help-gnu-emacs@gnu.org; Mon, 12 Nov 2012 15:06:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TY0H1-0000Sf-No for help-gnu-emacs@gnu.org; Mon, 12 Nov 2012 15:06:26 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:58509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY0H1-0000SV-HD for help-gnu-emacs@gnu.org; Mon, 12 Nov 2012 15:06:23 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TY0H7-0007mq-PC for help-gnu-emacs@gnu.org; Mon, 12 Nov 2012 21:06:29 +0100 Original-Received: from e178057094.adsl.alicedsl.de ([85.178.57.94]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Nov 2012 21:06:29 +0100 Original-Received: from tjolitz by e178057094.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Nov 2012 21:06:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178057094.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:yjfhhJ7tKjHQxf4oaFfPkaXFV0I= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87664 Archived-At: Tassilo Horn writes: Hi Tassilo, >> 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) too bad, would have been nice to add some functions without knowing C. How is the Zile Lisp interpreter integrated with Zile? Would it be possible (and easy) to replace it with another small but at the same time more powerful Lisp interpreter? -- cheers, Thorsten