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: 18 Nov 2003 16:12:35 -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=us-ascii X-Trace: sea.gmane.org 1069190457 15675 80.91.224.253 (18 Nov 2003 21:20:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2003 21:20:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 18 22:20:54 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 1AMDHK-0006iu-00 for ; Tue, 18 Nov 2003 22:20:54 +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 1AME9O-0006wA-1G for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Nov 2003 17:16:46 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: panix2.panix.com Original-X-Trace: reader2.panix.com 1069189962 3398 166.84.1.2 (18 Nov 2003 21:12:42 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 18 Nov 2003 21:12:42 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:118423 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:14365 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14365 I've got the following code that flashes the newly-selected window. The latest version of emacs has faces for mode-line and mode-line-inactive that will allow you to change their appearance. e-other-window can be found at: http://relativity.yi.org/el/e-other-window.el ;;;============================================================ ;;; e-other-window flashes the window when traversing windows within a ;;; fram to help locat the cursor ;;;============================================================ (require 'e-other-window) (setq e-other-window-interval .05) (set-face-background 'e-other-window-overlay-face "LightSteelBlue") ;;; 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) - Chris McMahan Kevin Rodgers writes: -- (. .) =ooO=(_)=Ooo======================== Chris McMahan | cmcmahan-at-one.net ====================================