From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Customizing faces with `defcustom' Date: Tue, 27 Dec 2005 21:05:59 +0200 Organization: JURTA Message-ID: <87u0cujwr4.fsf@jurta.org> References: <43103F48.1020804@gmx.at> <4313F4CB.10200@gmx.at> <4375A332.6070000@gmx.at> <87fyperhgd.fsf@jurta.org> <438D5913.7030801@gmx.at> <43ABFA5C.2080302@gmx.at> <87y82afehi.fsf@jurta.org> <43AEC780.2030200@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135710525 3215 80.91.229.2 (27 Dec 2005 19:08:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Dec 2005 19:08:45 +0000 (UTC) Cc: rudalics@gmx.at, abraham@dina.kvl.dk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 27 20:08:44 2005 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ErKBd-00069M-PR for ged-emacs-devel@m.gmane.org; Tue, 27 Dec 2005 20:08:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ErKCu-0007M9-7l for ged-emacs-devel@m.gmane.org; Tue, 27 Dec 2005 14:10:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ErKBZ-0006jX-FJ for emacs-devel@gnu.org; Tue, 27 Dec 2005 14:08:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ErKBW-0006iR-9G for emacs-devel@gnu.org; Tue, 27 Dec 2005 14:08:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ErKBV-0006i2-Si for emacs-devel@gnu.org; Tue, 27 Dec 2005 14:08:33 -0500 Original-Received: from [194.126.101.98] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ErKBS-00060s-UT; Tue, 27 Dec 2005 14:08:31 -0500 Original-Received: from mail.neti.ee (80-235-39-92-dsl.mus.estpak.ee [80.235.39.92]) by Relayhost1.neti.ee (Postfix) with ESMTP id 3BE5CCBEB; Tue, 27 Dec 2005 21:07:27 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Sun, 25 Dec 2005 21:20:09 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:48418 Archived-At: > > In that case, maybe the `face' custom type should accept nil > > as an alternative. That way, the existing default for > > delphi-other-face would be valid, it would still work the same > > as now, and it would not require changing the :type spec. > > > > Does anyone see any problems with that? > > That closed the thread then. > > We never did that, and I think we fixed other such problems by > adding nil as an explicit alternative, so I fixed these two in that > way also. Other such cases also use a tag like "Default" or "None" for the nil face value, because displaying "nil" in the customization buffer is not user-friendly. -- Juri Linkov http://www.jurta.org/emacs/