From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris McMahan Newsgroups: gmane.emacs.help Subject: Re: highlight current window/modeline after switching to it Date: 19 Nov 2003 09:48:12 -0500 Organization: PANIX Public Access Internet and UNIX, NYC Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3FBA6C9A.8090203@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1069254521 21067 80.91.224.253 (19 Nov 2003 15:08:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2003 15:08:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 19 16:08:34 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMTwY-0001ch-01 for ; Wed, 19 Nov 2003 16:08:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMUnY-0005nQ-Vi for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Nov 2003 11:03:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.mathworks.com!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: panix1.panix.com Original-X-Trace: reader2.panix.com 1069253300 21486 166.84.1.1 (19 Nov 2003 14:48:20 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Wed, 19 Nov 2003 14:48:20 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:118438 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:14380 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14380 I tried loading e-other-window without the cm-other-window function defined or mapped, and it had no effect by itself. cm-other-window is the only way I know to get it working... I'd welcome any suggestions :) - Chris François Fleuret writes: > Hi people, > > Chris McMahan wrote on 18 Nov 2003 22:12:35 MET: > > > e-other-window can be found at: > > http://relativity.yi.org/el/e-other-window.el > > > ;;; map it to the standard keybinding to swith windows > > (defun cm-other-window () > > (interactive) > > (other-window 1) > > (e-other-window-blink) > > ) > > (global-set-key "\C-xo" 'cm-other-window) > > Isn't it precisely what e-other-window does ? > > Btw, I had this problem several times already: what is the standard > way to change one window background color ? In e-other-window, they > use an overlay to change the color of the face. The problem with that > solution is that it changes the color of non-empty lines only ... > (which lead to ugliness such as *modifying* empty buffer by inserting > a '\n', cf. e-other-window-blink). > > Regards, > > -- > François Fleuret -- (. .) =ooO=(_)=Ooo======================== Chris McMahan | cmcmahan-at-one.net ====================================