From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alexandre Oberlin Newsgroups: gmane.emacs.help Subject: Different background color for different windows/modes Date: Thu, 29 Jun 2017 03:45:31 -0700 (PDT) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1498733440 30115 195.159.176.226 (29 Jun 2017 10:50:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 29 Jun 2017 10:50:40 +0000 (UTC) Injection-Date: Thu, 29 Jun 2017 10:45:31 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 29 12:50:36 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQX1s-0007My-7x for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Jun 2017 12:50:32 +0200 Original-Received: from localhost ([::1]:38292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQX1w-00050e-3C for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Jun 2017 06:50:36 -0400 X-Received: by 10.200.52.246 with SMTP id x51mr7072438qtb.69.1498733131873; Thu, 29 Jun 2017 03:45:31 -0700 (PDT) X-Received: by 10.36.78.203 with SMTP id r194mr330552ita.3.1498733131775; Thu, 29 Jun 2017 03:45:31 -0700 (PDT) Original-Path: usenet.stanford.edu!v31no1391920qtb.0!news-out.google.com!k7ni3217itk.0!nntp.google.com!185no2081117itv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=37.160.245.117; posting-account=IWjTFQoAAAAFS3md63aQJ_ttNKJFTj1L Original-NNTP-Posting-Host: 37.160.245.117 Original-Xref: usenet.stanford.edu gnu.emacs.help:219145 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113600 Archived-At: Hi all, I am using a hook to change my background color using stuff like: (add-hook 'change-major-mode-hook 'change-my-background-color) This is sub-optimal because - there is a terrible flash as soon as I enter the minibuffer - all the displayed windows change color (not only the one getting focus). How can I have different colors for different window modes? If currently impossible, is something planned in that regard? Or maybe xemacs does this?