help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Customize a checklist


From: Klaus Berndl
Subject: Re: Customize a checklist
Date: 15 Dec 2002 19:56:52 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

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
>From help-gnu-emacs-bounces@gnu.org  Sun Dec 15 14:15:10 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: mspring@employees.org (Max Spring)
Newsgroups: gnu.emacs.help
Date: 15 Dec 2002 11:14:23 -0800
Organization: http://groups.google.com/
Lines: 11
Message-ID: <177c13f5.0212151114.304f9e65@posting.google.com>
NNTP-Posting-Host: 66.93.135.231
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1039979664 21369 127.0.0.1 (15 Dec 2002 19:14:24
        GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 15 Dec 2002 19:14:24 GMT
Xref: shelby.stanford.edu gnu.emacs.help:108149
To: help-gnu-emacs@gnu.org
Subject: Unable to use custom font in 21.2.1
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 15 Dec 2002 19:15:10 -0000

I have my own fixed-width fonts, installed in
/usr/X11R6/lib/X11/fonts/misc.  They work fine in XTerm, etc.

When I try to bring up one of these fonts with 'set-default-font', a
scalable font is used instead of my own.  On the other hand, a
'set-default-font 10x20' works as expected.

It used to work with previous versions of Emacs.

What am I missing?
-Max
>From p.galbraith@globetrotter.net Sun Dec 15 15:44:25 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
        id 18Nfce-0007iS-00
        for help-gnu-emacs@gnu.org; Sun, 15 Dec 2002 15:44:24 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
        id 18NfcX-0007Nb-00
        for help-gnu-emacs@gnu.org; Sun, 15 Dec 2002 15:44:20 -0500
Received: from adsl-66.110.138-170.globetrotter.net ([66.110.138.170]
        helo=mixed.dyndns.org)
        by monty-python.gnu.org with esmtp (Exim 4.10.13)       id 
18NfcW-0007JC-00
        for help-gnu-emacs@gnu.org; Sun, 15 Dec 2002 15:44:16 -0500
Received: from mixed.dyndns.org (localhost [127.0.0.1])
        by mixed.dyndns.org (Postfix) with ESMTP id 7B4D042D29
        for <help-gnu-emacs@gnu.org>; Sun, 15 Dec 2002 15:44:15 -0500 (EST)
To: help-gnu-emacs@gnu.org
In-Reply-To: Message from Klaus Berndl <Klaus.Berndl@sdm.de> 
   of "Sun, 15 Dec 2002 19:56:52 +0100." <uisxvyutn.fsf@sdm.de> 
References: <mailman.227.1039966739.19936.help-gnu-emacs@gnu.org>
        <uisxvyutn.fsf@sdm.de> 
Organization: mh-e crew - mh-e.sourceforge.net
X-Mailer: MH-E 7.0+cvs; nmh 1.0.4+dev; Emacs 21.2
X-Face: "#bYm%*(4JuXAkouMxaLz|M2dbXUFnQ"IRX)zpsiM"(B}`#|_b548$VB}5L&VIck1F#FNc'
        rsASk0?-/gFp2qzM>0]`Jc}Qd<8[l)N7{8%qMN~{|DS.ME.$
Date: Sun, 15 Dec 2002 15:44:15 -0500
From: Peter S Galbraith <p.galbraith@globetrotter.net>
Message-Id: <20021215204415.7B4D042D29@mixed.dyndns.org>
Subject: Re: Customize a checklist 
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 15 Dec 2002 20:44:28 -0000

Klaus Berndl <Klaus.Berndl@sdm.de> wrote:

> On Sun, 15 Dec 2002, Peter S. Galbraith wrote:
>
> >  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

>   :type '(set (const :tag "other-window"
>                      :value other-window)
>               (const :tag "other-window-for-scrolling"
>                      :value other-window-for-scrolling)))
> 
> This is an example for a set of function symbols...

Thank you Klaus!

I don't know how I missed it, but I'm sure glad I asked!

:-)

-- 
Peter S. Galbraith, MH-E developer  <p.galbraith@globetrotter.net>
GPG key 1024/D2A913A1 - 97CE 866F F579 96EE  6E68 8170 35FF 799E
6623'rd GNU/Linux user at the Counter - http://counter.li.org/



reply via email to

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