From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: face-remapping patch Date: Thu, 29 May 2008 11:56:14 -0400 Message-ID: References: <5CB5F5E5-9239-40A8-A3B2-5F49B94E27B7@gmail.com> <85lk1ui3i0.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212076620 3167 80.91.229.12 (29 May 2008 15:57:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2008 15:57:00 +0000 (UTC) Cc: David Reitter , Miles Bader , Emacs-Devel To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 29 17:57:31 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 1K1kVO-0002pt-4I for ged-emacs-devel@m.gmane.org; Thu, 29 May 2008 17:57:30 +0200 Original-Received: from localhost ([127.0.0.1]:60886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1kUb-0001cq-KL for ged-emacs-devel@m.gmane.org; Thu, 29 May 2008 11:56:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1kUM-0001Xa-T5 for emacs-devel@gnu.org; Thu, 29 May 2008 11:56:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1kUL-0001Wp-GM for emacs-devel@gnu.org; Thu, 29 May 2008 11:56:26 -0400 Original-Received: from [199.232.76.173] (port=35414 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1kUL-0001Wk-5B for emacs-devel@gnu.org; Thu, 29 May 2008 11:56:25 -0400 Original-Received: from 206-248-174-248.dsl.teksavvy.com ([206.248.174.248]:59695 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1kUG-0006FX-TL; Thu, 29 May 2008 11:56:21 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5A19FB41E2; Thu, 29 May 2008 11:56:14 -0400 (EDT) In-Reply-To: <85lk1ui3i0.fsf@lola.goethe.zz> (David Kastrup's message of "Wed, 28 May 2008 22:21:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:97982 Archived-At: >> To improve on this, I think we'd have to move to something more like >> XEmacs's specifiers. But I haven't even seen any proposal for such >> a thing yet. > Proposal: allow a third argument for make-local-variable. That's for variables, not faces. But, yes, maybe we should rethink face-settings along similar lines: (set-face-attribute FACE LOCUS &rest ARGS) The first difficulty is to figure out how to integrate such a thing with the settings coming from X resources, from defface specs, from frame parameters (font & back/foreground colors, IIRC), ... Note that it would be a good opportunity to try and make this whole code more efficient as well, so that all face settings don't get redundantly recomputed everytime we create a new frame. I guess the defface spec and the X resources could be turned into terminal-local settings computed everytime a new terminal is created (and everytime a new face is created, of course). Stefan