From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: +face-remapping-20040505-0.patch Date: 24 May 2004 10:04:14 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <874qqwrycm.fsf@tc-1-100.kawasaki.gol.ne.jp> <20040505221256.GB7789@fencepost> <20040508013940.GB6489@fencepost> <871xltf6zb.fsf@tc-1-100.kawasaki.gol.ne.jp> <20040513212808.GA7684@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085386928 14170 80.91.224.253 (24 May 2004 08:22:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 May 2004 08:22:08 +0000 (UTC) Cc: bob@rattlesnake.com, Richard Stallman , monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 24 10:22:00 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BSAie-0006Ui-00 for ; Mon, 24 May 2004 10:22:00 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BSAid-0001cF-01 for ; Mon, 24 May 2004 10:22:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSAYb-0005fQ-Ms for emacs-devel@quimby.gnus.org; Mon, 24 May 2004 04:11:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BSAYN-0005fB-Ie for emacs-devel@gnu.org; Mon, 24 May 2004 04:11:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BSAXr-0005Rn-52 for emacs-devel@gnu.org; Mon, 24 May 2004 04:11:22 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1BSAXq-0005RV-HR for emacs-devel@gnu.org; Mon, 24 May 2004 04:10:50 -0400 Original-Received: (qmail 24645 invoked from network); 24 May 2004 08:04:09 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 24 May 2004 08:04:09 -0000 Original-To: Miles Bader In-Reply-To: <20040513212808.GA7684@fencepost> Original-Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23879 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23879 Miles Bader writes: > On Mon, May 10, 2004 at 01:54:20PM -0400, Richard Stallman wrote: > > BTW, I think perhaps the name `face-override-alist' is a better > > (clearer) name than `face-remapping-alist', especially if it essentially > > supports the same syntax as a face property. What do you think? > > > > Don't we use the term "remapping" for other such features, > > such as the keymap feature to remap one command into another command? > > The one instance I find (via apropos) is: > > command-remapping > Function: Return the remapping for command COMMAND in current keymaps. > > [`remap' yields the same result.] > > The reasons I like override better are: > > (1) Its meaning is pretty obvious, and more visceral. For instance I think > if someone didn't know about this feature, and was trying to find out > why their faces looked weird, they'd be more likely to chance upon or > recognize `override' as being the likely culprit than `remapping'. > > (2) Remapping does seem more to imply a one-to-one replacement of one face > name with another; if indeed the feature allows merging faces, or even > un-named face attributes to be used, then I think override fits better. IMO, override also seems better than remapping in this case. We also have e.g. overriding-local-map for buffer local bindings. Maybe overriding-face-attribute-alist or some such... -- Kim F. Storm http://www.cua.dk