From xemacs-m  Wed Apr  9 08:04:40 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA12539
	for <xemacs-beta@xemacs.org>; Wed, 9 Apr 1997 08:04:38 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id PAA05315; Wed, 9 Apr 1997 15:03:36 +0200 (MET DST)
Sender: hniksic@public.srce.hr
To: Per Abrahamsen <abraham@dina.kvl.dk>
Cc: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: Fully customizable x-toolbar.el
References: <kigwwqdamd2.fsf@jagor.srce.hr> <199704090444.AAA01442@beavis.bayserve.net> <kigg1x08nf3.fsf@jagor.srce.hr> <rj7micqrqo.fsf@zuse.dina.kvl.dk>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nA
        EL1M(".[qvI#a2E6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/X
        vhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 09 Apr 1997 15:03:35 +0200
In-Reply-To: Per Abrahamsen's message of 09 Apr 1997 14:56:47 +0200
Message-ID: <kighghgjql4.fsf@jagor.srce.hr>
Lines: 26
X-Mailer: Gnus v5.4.42/XEmacs 19.15

Per Abrahamsen <abraham@dina.kvl.dk> writes:

> > Well, yes, but can you do it with customize?  I mean, easily?
> Not dynamically, but you can initialize it with something like this:
> 
> (defcustom foobar nil
>   nil
>   :type `(choice ,@(mapcar (lambda (entry)
> 			     `(const ,(car entry)))
> 			   toolbar-mail-commands-alist)
> 		 (symbol :tag "Other" :format "%v")))
> 
> You can put the validate on the last symbol.

Thanks for the tip, but it's not good enough.  The whole point is that
once someone changes `toolbar-mail-commands-alist' that the subsequent
customizations change.

I think that it's just fine to simply enter a symbol, and validate
it.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Then...  his face does a complete change of expression.  It goes from
a "Vengeance is mine" expression, to a "What the fuck" blank look.

