From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Guerry Newsgroups: gmane.emacs.devel Subject: Re: New custom faces for rmail.el Date: Tue, 12 Feb 2008 13:24:26 +0000 Message-ID: <87y79qux2t.fsf@bzg.ath.cx> References: <87skzzf992.fsf@bzg.ath.cx> <87d4r23j4p.fsf@bzg.ath.cx> <87myq66548.fsf@bzg.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202822694 30527 80.91.229.12 (12 Feb 2008 13:24:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2008 13:24:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 12 14:25:16 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JOv8C-0005DH-KU for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 14:25:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOv7j-0007hp-3n for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 08:24:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOv7f-0007hk-FY for emacs-devel@gnu.org; Tue, 12 Feb 2008 08:24:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOv7d-0007hX-Qs for emacs-devel@gnu.org; Tue, 12 Feb 2008 08:24:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOv7d-0007hU-L0 for emacs-devel@gnu.org; Tue, 12 Feb 2008 08:24:29 -0500 Original-Received: from hu-out-0506.google.com ([72.14.214.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOv7d-0003Io-6q for emacs-devel@gnu.org; Tue, 12 Feb 2008 08:24:29 -0500 Original-Received: by hu-out-0506.google.com with SMTP id 23so7823463huc.1 for ; Tue, 12 Feb 2008 05:24:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=zMSTtXm5Se2efAt0b6P23HGbbjIvEiLbHaphZG+cLZU=; b=uUgzFvd1o2H4ftGG3ddvV9WC4M9+VkqCg2hnyBfesfUO9R73HVYeWtFW4JHvtmG15h+Bjpv+4jkJKSbVIvlQ55juLbyK015vxjJcU8pCQ6o1685Bsmr5QfeGQpqeV5QTOc3NjqgXvppe7Tsao/pdFGC4N5iC3dR0h/BU9WHrmWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=NtEN/q7Hl0UcbjcODBCWfe5jj6tp2xMDD/LXrpi80BZbx42sqVAzetMqSXwS58DbYNKHi7zJdIw4Eexv+XGTtuV1Mvg/gQpwotxAzCGwBpoxPSmqCgz6SK/8eZ6TVfrkfg6PB5B5i6uU2kwj3jibr6+qT2Cc8nNxH9089WCbpNE= Original-Received: by 10.150.137.8 with SMTP id k8mr476454ybd.61.1202822666530; Tue, 12 Feb 2008 05:24:26 -0800 (PST) Original-Received: from bzg.ath.cx ( [81.99.213.34]) by mx.google.com with ESMTPS id d27sm325082nfh.34.2008.02.12.05.24.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Feb 2008 05:24:25 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id C0030157B18; Tue, 12 Feb 2008 13:24:26 +0000 (GMT) In-Reply-To: (Stefan Monnier's message of "Tue, 12 Feb 2008 08:21:18 -0500") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:88862 Archived-At: Stefan Monnier writes: >> But AFAICS there are many places where we have both mistakes: 1) have a >> face *and* a variable, and 2) name them with the *-face suffix. > > Having a variable is not necessarily an error. In the case of > font-lock, this was done originally so as to allow font-lock faces to be > changed on a per-buffer basis (by making the variable buffer-local and > making it point to different faces). Until Miles installs his changes > that add the ability to change faces on a per-buffer basis, this is > still useful. > > As for the -face name, this is historical and should probably be > changed, tho when we changed the others we specifically avoided changing > the font-lock ones. Thanks for the clarification. -- Bastien