help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Highlighting current window


From: martin rudalics
Subject: Re: Highlighting current window
Date: Wed, 04 Jul 2012 11:18:56 +0200

> Can you elaborate on the "better way" in 24?

The basic problem we have to solve is how to extend the window
background to the entire window and not only to the last buffer
position.  That's inherently what the after-string property of the
hiselwin overlay accomplishes.

Emacs 24.1 offers a better solution following the discussion of

bug#11068: 24.0.94; Face-remapped background does not extend to end of window

which you can find here:

http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-03/msg00569.html

The solution has one drawback wrt to highlighting the selected window:
When the same buffer appears in the selected window _and_ in another
window, that other window will be highlighted too.

The solution is similar to the one proposed by Francesco Mazzoli: Show
the overlay only in the current buffer and give it a 'window property to
show it only in the selected window.

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]