From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Berndl Newsgroups: gmane.emacs.help Subject: Re: Customize a checklist Date: 15 Dec 2002 19:56:52 +0100 Organization: sd&m AG, Muenchen, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1039978887 14348 80.91.224.249 (15 Dec 2002 19:01:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 15 Dec 2002 19:01:27 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Ne0z-0003jF-00 for ; Sun, 15 Dec 2002 20:01:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Ne08-0006QD-0C for gnu-help-gnu-emacs@m.gmane.org; Sun, 15 Dec 2002 14:00:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!newsfeed.mathworks.com!btnet-peer0!btnet-peer1!btnet!newsr1.ipcore.viaginterkom.de!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!t-online.de!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!news.sdm.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 64 Original-NNTP-Posting-Host: callin17.muc.sdm.de Original-X-Trace: solti3.muc.sdm.de 1039978613 22639 195.125.139.17 (15 Dec 2002 18:56:53 GMT) Original-X-Complaints-To: usenet@news.sdm.de Original-NNTP-Posting-Date: 15 Dec 2002 18:56:53 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:108148 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4677 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4677 On Sun, 15 Dec 2002, Peter S. Galbraith wrote: > Hi all, > > I'd like to customize a list which would contain certain symbols or > strings from certain possibilities. The aim is to setup which buttons > appear in a toolbar through a checklist, such as > > [*] inc > [*] MIME save > ... > [*] preferences > [*] help > > I haven't found a way to do this in customize. > Did I miss something? > > Any implementation ideas or suggestions? (defcustom ecb-advice-window-functions '(other-window delete-window delete-other-windows delete-windows-on split-window-horizontally split-window-vertically switch-to-buffer switch-to-buffer-other-window) :group 'ecb-layout :initialize 'custom-initialize-default :type '(set (const :tag "other-window" :value other-window) (const :tag "delete-window" :value delete-window) (const :tag "delete-other-windows" :value delete-other-windows) (const :tag "delete-windows-on" :value delete-windows-on) (const :tag "split-window-horizontally" :value split-window-horizontally) (const :tag "split-window-vertically" :value split-window-vertically) (const :tag "switch-to-buffer" :value switch-to-buffer) (const :tag "switch-to-buffer-other-window" :value switch-to-buffer-other-window) (const :tag "other-window-for-scrolling" :value other-window-for-scrolling))) This is an example for a set of function symbols... Ciao, Klaus > > Thanks, -- Klaus Berndl mailto: klaus.berndl@sdm.de sd&m AG http://www.sdm.de software design & management Thomas-Dehler-Str. 27, 81737 München, Germany Tel +49 89 63812-392, Fax -220