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: Wed, 30 Nov 2005 17:33:48 +0200 Organization: JURTA Message-ID: <87veyadwc3.fsf@jurta.org> References: <43103F48.1020804@gmx.at> <4313F4CB.10200@gmx.at> <4375A332.6070000@gmx.at> <87fyperhgd.fsf@jurta.org> <438D5913.7030801@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133373911 13000 80.91.229.2 (30 Nov 2005 18:05:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2005 18:05:11 +0000 (UTC) Cc: rudalics@gmx.at, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 30 19:05:02 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EhVbs-0007MP-Ik for ged-emacs-devel@m.gmane.org; Wed, 30 Nov 2005 18:19:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EhVbr-0000oL-VM for ged-emacs-devel@m.gmane.org; Wed, 30 Nov 2005 12:19:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EhU86-0002g4-Ll for emacs-devel@gnu.org; Wed, 30 Nov 2005 10:44:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EhU7x-0002eX-EF for emacs-devel@gnu.org; Wed, 30 Nov 2005 10:44:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EhU7w-0002eH-4D for emacs-devel@gnu.org; Wed, 30 Nov 2005 10:44:12 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EhU7p-0002qk-Gk; Wed, 30 Nov 2005 10:44:05 -0500 Original-Received: from mail.neti.ee (80-235-34-14-dsl.mus.estpak.ee [80.235.34.14]) by Relayhost1.neti.ee (Postfix) with ESMTP id A7AD7C7FF; Wed, 30 Nov 2005 17:44:20 +0200 (EET) Original-To: Per Abrahamsen In-Reply-To: (Per Abrahamsen's message of "Wed, 30 Nov 2005 14:27:30 +0100") 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:46818 Archived-At: >> It's not related to the earlier problem. I see three possibilities to >> handle this: > > My patch should handle that. Since `invisible' is a special feature of cpp.el and it has nothing to do with faces (i.e. it uses overlays to hide text blocks), then it seems your patch is a better way to handle this than to use a fake face. Your patch has one problem. It changes the default values of elements of `cpp-edit-list'. Currently the default value is the face `default': Cpp Edit List: Hide Value INS DEL List: String: Face: (sample) default Face: (sample) default Choice: Value Menu t But your patch changes the default to the value `invisible': Cpp Edit List: Hide Value INS DEL List: Macro: True: Choice: Value Menu invisible False: Choice: Value Menu invisible Choice: Value Menu True branch writable I think it's better to keep old defaults. -- Juri Linkov http://www.jurta.org/emacs/