From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: reducing defface redundancy Date: 12 Jul 2002 10:28:16 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <877kn3qczq.fsf@tc-1-100.kawasaki.gol.ne.jp> <871yd9q09b.fsf@tc-1-100.kawasaki.gol.ne.jp> <200204220747.g3M7lo301995@aztec.santafe.edu> <200204230024.g3N0OH702333@aztec.santafe.edu> <200204241754.g3OHsIm03235@aztec.santafe.edu> <200207081820.g68IKkT12950@aztec.santafe.edu> <200207091851.g69IpWe13865@aztec.santafe.edu> <200207092052.g69KqKm28754@rum.cs.yale.edu> <200207101920.g6AJKlO15763@aztec.santafe.edu> <200207111701.g6BH1M303198@rum.cs.yale.edu> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1026437326 18422 127.0.0.1 (12 Jul 2002 01:28:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2002 01:28:46 +0000 (UTC) Cc: Richard Stallman , abraham@dina.kvl.dk, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17SpEj-0004n1-00 for ; Fri, 12 Jul 2002 03:28:45 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17SpOO-0001zF-00 for ; Fri, 12 Jul 2002 03:38:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17SpFF-0003o5-00; Thu, 11 Jul 2002 21:29:17 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.214]) by fencepost.gnu.org with smtp (Exim 3.35 #1 (Debian)) id 17SpEd-0003mq-00; Thu, 11 Jul 2002 21:28:40 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g6C1STR23798; Fri, 12 Jul 2002 10:28:29 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g6C1SSr01644; Fri, 12 Jul 2002 10:28:28 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g6C1SLN15341; Fri, 12 Jul 2002 10:28:25 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g6C1SHS01139; Fri, 12 Jul 2002 10:28:17 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 5504737D5; Fri, 12 Jul 2002 10:28:16 +0900 (JST) Original-To: "Stefan Monnier" System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200207111701.g6BH1M303198@rum.cs.yale.edu> Original-Lines: 21 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5679 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5679 "Stefan Monnier" writes: > > If we have buffer-specific face attributes, or buffer-specific face > > redirections, you could use them to give the minibuffer different faces. > > How would we do that ? As part of the creation of the " *minibuffer-N*" > buffers ? What about the echo area ? In my scheme, which uses a variable (call it `face-mappings') to do face remappings in buffers, there could be a special variable `echo-area-face-mappings' to handle the echo area. Perhaps minibuffers should inherit the contents of that variable as the initial value for their `face-mappings' variable, which would make the keep the appearance of the echo-area/minibuffer consistent, or maybe their should be an independent `minibuffer-face-mappings' variable. In any case, more specific customizations can be done using `minibuffer-setup-hook'. -Miles -- P.S. All information contained in the above letter is false, for reasons of military security.