From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "rgb" Newsgroups: gmane.emacs.help Subject: Re: *background color* Date: 12 Feb 2007 05:36:32 -0800 Organization: http://groups.google.com Message-ID: <1171287392.073501.191390@m58g2000cwm.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1171287634 24440 80.91.229.12 (12 Feb 2007 13:40:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Feb 2007 13:40:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 12 14:40:31 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HGbPy-0001Bb-NO for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Feb 2007 14:40:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGbPy-0007zJ-8j for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Feb 2007 08:40:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m58g2000cwm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 168.208.215.221 Original-X-Trace: posting.google.com 1171287409 30391 127.0.0.1 (12 Feb 2007 13:36:49 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 12 Feb 2007 13:36:49 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m58g2000cwm.googlegroups.com; posting-host=168.208.215.221; posting-account=C7LM4w0AAAD23IRuMuUUJVCLQTuHhTK8 Original-Xref: shelby.stanford.edu gnu.emacs.help:145520 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41124 Archived-At: On Feb 12, 1:33 am, Mathias Dahl wrote: > A Soare writes: > > Why is it not possible to associate a background color to a buffer, > > not just to a frame? It could be possible to insert such a feature > > in future? > > Interesting idea! I might actually use such a feature. One could have > different background color on important buffer, to quickly recognize > them when swithing/cycling/whatever buffers or when having several > frames or windows. > > I saw Stefan's reply, let's hope for Emacs 23... > > I wonder if it could be implemented using overlays in the meantime, or > maybe that would be slow? Or impossible. If you care to go thru the trouble, Stefan mentioned in a recent thread " > The stock font-lock face names (like font-lock-builtin-face, etc) all > are symbols that point to themselves (or something like that) and so > are more-or-less self-quoting. ... The purpose of those vars is not just to make it "self-quoting", but rather to be able to change the face in some buffers, by making the variable local to that buffer." So the capabilities appear to be there. The mechanics to issue all the make-local-variable commands would then be whats missing. Perhaps some tweeks to color theme could be made to issue them? Or maybe non-stock faces are often not implemented in the necessary way?