[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc elisp intro cross reference fixes

From: David Kastrup
Subject: Re: doc elisp intro cross reference fixes
Date: 28 Nov 2003 19:28:09 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Luc Teirlinck <address@hidden> writes:

> Per Abrahamsen wrote:
>    These were all deliberate design choices.  Adding customize support to
>    your Emacs Lisp code should be an easy and gradual process:
>      <http://www.dina.dk/~abraham/custom/old-custom.html>
> The material at that site seems to be old.  Customize has been an
> important and well known part of Emacs for years now.  I believe
> that to add customize support to one's Emacs Lisp code, one first
> should read (elisp)Customization and then turn the appropriate
> defvar's into defcustom's.  I do not see why that should be
> difficult or be done "gradually".  Actually, defcustom's _can_ get
> tricky, but only if the author wants to really optimize stuff.

defcustoms can get impossible if we are talking about describing
recursive data structures.  There is no way to customize something
that can result in (+ (* (- 3 5) 2) 5) or so except by giving up
completely and allowing a general Lisp expression.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]