From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Customizing fontsets Date: Fri, 02 May 2003 09:25:05 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305021325.h42DP56r020728@rum.cs.yale.edu> References: <200305010720.QAA14963@etlken.m17n.org> <87llxqorkr.fsf@gnu.org> <200305020632.PAA16368@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051882022 5462 80.91.224.249 (2 May 2003 13:27:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 2 May 2003 13:27:02 +0000 (UTC) Cc: alkibiades@gmx.de Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 02 15:27:00 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19BaZ2-0001Po-00 for ; Fri, 02 May 2003 15:27:00 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Baaa-0003DP-00 for ; Fri, 02 May 2003 15:28:37 +0200 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 19BaXt-0001ei-02 for emacs-devel@quimby.gnus.org; Fri, 02 May 2003 09:25:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19BaXF-0001de-00 for emacs-devel@gnu.org; Fri, 02 May 2003 09:25:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19BaXE-0001cn-00 for emacs-devel@gnu.org; Fri, 02 May 2003 09:25:08 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BaXD-0001ch-00; Fri, 02 May 2003 09:25:07 -0400 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h42DP5x6020730; Fri, 2 May 2003 09:25:05 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h42DP56r020728; Fri, 2 May 2003 09:25:05 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Kenichi Handa Original-cc: emacs-devel@gnu.org Original-cc: alex@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13624 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13624 > In other words, a fontset can be re-created by the sequence > of (TARGET . FONT-SPEC). So how about recording that > sequence as a list in each fontset (the order is important). > I think it's far user-friendly to customize that list than > to customize char-table elements. In addition, we can use > the normal customization facility for a list (INS, DEL) at > the top level. And then a `deffontset' can be a simple macro that expands to a `defcustom' with appropriate :get and :set. Stefan