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: Buffer-local faces Date: Tue, 4 May 2004 05:57:07 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040504095707.GA9691@fencepost> References: <20040503130350.GA1929@fencepost> <20040503232700.GB9451@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083664921 2745 80.91.224.253 (4 May 2004 10:02:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 10:02:01 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , Miles Bader Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 04 12:01:54 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 1BKwkL-0000bX-00 for ; Tue, 04 May 2004 12:01:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKwkL-0004I6-00 for ; Tue, 04 May 2004 12:01:53 +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 1BKwj7-0004in-Oc for emacs-devel@quimby.gnus.org; Tue, 04 May 2004 06:00:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKwgc-0002fv-LM for emacs-devel@gnu.org; Tue, 04 May 2004 05:58:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKwfq-0001fN-SS for emacs-devel@gnu.org; Tue, 04 May 2004 05:57:47 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKwfj-0001bn-Qk for emacs-devel@gnu.org; Tue, 04 May 2004 05:57:07 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.24) id 1BKwfj-000338-7p; Tue, 04 May 2004 05:57:07 -0400 Original-To: David Kastrup Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop 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:22698 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22698 On Tue, May 04, 2004 at 11:18:21AM +0200, David Kastrup wrote: > I am uncomfortable about the whole change. And the reason has to do > with the feature freeze. Now you may argue that the change is not so > intrusive as to be likely to trigger new bugs, but that's beside the > point. I said nothing about the feature freeze. I did not post my patch to `sneak in under the wire' of the freeze, I posted it because I (1) happened to have been working on it, and (2) came up with something nice. > So I think we should first try to resolve what the perceived problem > is, what extensions or generalizations of this problem should also be > solvable, and what would be the most logical, consistent and useful > way to tackle it. The patch is in reaction to various past mailing list dicussions; usually the specific functionality requested is `how can I have a buffer-specific default/mode-line face' (it always seems to be those two faces). Anyway, that's what _I_ want to do with it. > It just appears that a buffer-local replacement list is a kludge for > avoiding a more general scheme of context-dependent faces (probably > related to the XEmacs locale/specifier stuff), and maybe other things. I don't think it's a kludge at all, it's an elegant way of leveraging emacs' very flexible variable mechanism to achieve the goal -- not only is it almost trivial to implement, but it would seem to fit very well with the way emacs modes work. Perhaps xemacs has a better way of doing it, I don't know -- I'm afraid I'm not familiar with xemacs in recent years. -Miles -- ((lambda (x) (list x x)) (lambda (x) (list x x)))