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: Items in FOR-RELEASE Date: Mon, 06 Dec 2004 16:45:43 -0500 Message-ID: References: <87acsrfgwq.fsf@jurta.org> <87mzwr86iq.fsf@jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1102369598 17867 80.91.229.6 (6 Dec 2004 21:46:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2004 21:46:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 06 22:46:33 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CbQgj-0007Iq-00 for ; Mon, 06 Dec 2004 22:46:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbQqU-0004Z4-RC for ged-emacs-devel@m.gmane.org; Mon, 06 Dec 2004 16:56:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbQqC-0004Yx-9u for emacs-devel@gnu.org; Mon, 06 Dec 2004 16:56:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbQqB-0004Yj-Gr for emacs-devel@gnu.org; Mon, 06 Dec 2004 16:56:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbQqB-0004Yg-Bn for emacs-devel@gnu.org; Mon, 06 Dec 2004 16:56:19 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CbQgF-00055E-1R for emacs-devel@gnu.org; Mon, 06 Dec 2004 16:46:03 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id CA82A8282C2; Mon, 6 Dec 2004 16:45:59 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id A320B4AC674; Mon, 6 Dec 2004 16:45:43 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 8FB6E8CA69; Mon, 6 Dec 2004 16:45:43 -0500 (EST) Original-To: Juri Linkov In-Reply-To: <87mzwr86iq.fsf@jurta.org> (Juri Linkov's message of "Mon, 06 Dec 2004 23:12:14 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-3.872, requis 5, AWL 1.03, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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: main.gmane.org gmane.emacs.devel:30772 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30772 >> Besides, what makes you think that face remapping is a better solution to >> mode-specific faces? I like face-remapping but it's not a panacea. > Isn't something like below possible with face remapping? > (add-hook 'emacs-lisp-mode-hook > (lambda () > (set (make-local-variable 'face-remappings) > '((font-lock-comment-face . bold))))) Beside the fact that you can't use Custom to set this up, the problem with it is that it requires a preexistnig face with the required properties (such as the `bold' face in your example). If you want comments to appear in "uglygreen" and that no other face uses "uglygreen" (or the other faces the use "uglygreen" also use some other attribute that you don't want for comments), you have to create your own with defface, ... Hardly a a panacea, Now, maybe we can provide a layer of code on top of it which will transparently create faces when needed, etc... maybe as part of Custom, but I don't see this happening any time soon. In any case I'm not opposed at all to face-remapping (I've been asking for something like it for a long time, actually), but I just think it should either be installed right now or postponed to after the release. I.e. it shouldn't be in FOR-RELEASE. This release is coming *real* slow and if we keep going at this rate we'll never get there. Let's not forget that Emacs-CVS has not just some neat new features, but it also has important changes that make it more usable on newer/current systems (Mac OS X, utf-8, modifiers with new Xservers, PCL-CVS support for CVS-1.12, ...). It's more important that we release it soon than it is to include each and every new feature. Stefan