From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Buffer-local faces Date: 04 May 2004 07:56:09 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040503130350.GA1929@fencepost> <20040503231927.GA9451@fencepost> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1083646792 2284 80.91.224.253 (4 May 2004 04:59:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 04:59:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 04 06:59:39 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 1BKs1r-0004RK-00 for ; Tue, 04 May 2004 06:59:39 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKs1r-0006wx-00 for ; Tue, 04 May 2004 06:59:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKs0S-0004XT-6O for emacs-devel@quimby.gnus.org; Tue, 04 May 2004 00:58:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKrzw-00047w-E5 for emacs-devel@gnu.org; Tue, 04 May 2004 00:57:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKryv-0002Yv-7e for emacs-devel@gnu.org; Tue, 04 May 2004 00:57:08 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.30) id 1BKrwP-0000r9-Th; Tue, 04 May 2004 00:54:02 -0400 Original-To: Miles Bader In-reply-to: <20040503231927.GA9451@fencepost> (message from Miles Bader on Mon, 3 May 2004 19:19:27 -0400) 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:22677 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22677 > Date: Mon, 3 May 2004 19:19:27 -0400 > From: Miles Bader > > My current patch does the former, but now I'm leaning towards making it the > latter, and having remapping be a pure display operation -- it just seems > simpler to deal with. Lisp code that's interested in such matters can look > at the variable to see what's up. Or we could add a new function, face-real-attribute, say, that would return the attribute after any remappings took place. For example, it might be useful to know what is the real color displayed on color-challenged terminals when the face requests a color that isn't directly available.