unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12056: 24.1.50; Background color in selected and non-selected windows
@ 2012-07-26 12:41 Dani Moncayo
  2012-07-26 15:56 ` Eli Zaretskii
  2017-07-20  7:35 ` Dani Moncayo
  0 siblings, 2 replies; 7+ messages in thread
From: Dani Moncayo @ 2012-07-26 12:41 UTC (permalink / raw)
  To: 12056

Severity: wishlist.

I'd like to be able to customize Emacs so that the selected window in
a frame had a different background color than the not-selected windows
in that frame.

This would make the selected windows to stand out over the others,
thus making very easy to see where the "focus" is.

Currently, the background color is defined by the background color of
the "default" face.  So, maybe a way of implementing this would be to
define a "default-inactive" face (similar to the "modeline" versus
"modeline-inactive" faces).

TIA.

-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#12056: 24.1.50; Background color in selected and non-selected windows
  2012-07-26 12:41 bug#12056: 24.1.50; Background color in selected and non-selected windows Dani Moncayo
@ 2012-07-26 15:56 ` Eli Zaretskii
  2012-07-26 16:06   ` martin rudalics
  2017-07-20  7:35 ` Dani Moncayo
  1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2012-07-26 15:56 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 12056

> Date: Thu, 26 Jul 2012 14:41:01 +0200
> From: Dani Moncayo <dmoncayo@gmail.com>
> 
> Currently, the background color is defined by the background color of
> the "default" face.

But the default face can be remapped (hint, hint)...





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#12056: 24.1.50; Background color in selected and non-selected windows
  2012-07-26 15:56 ` Eli Zaretskii
@ 2012-07-26 16:06   ` martin rudalics
  0 siblings, 0 replies; 7+ messages in thread
From: martin rudalics @ 2012-07-26 16:06 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12056

> But the default face can be remapped (hint, hint)...

But if the same buffer appears twice on a frame ...

martin






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#12056: 24.1.50; Background color in selected and non-selected windows
  2012-07-26 12:41 bug#12056: 24.1.50; Background color in selected and non-selected windows Dani Moncayo
  2012-07-26 15:56 ` Eli Zaretskii
@ 2017-07-20  7:35 ` Dani Moncayo
  2017-07-20  8:54   ` Eli Zaretskii
  1 sibling, 1 reply; 7+ messages in thread
From: Dani Moncayo @ 2017-07-20  7:35 UTC (permalink / raw)
  To: 12056

On Thu, Jul 26, 2012 at 2:41 PM, Dani Moncayo <dmoncayo@gmail.com> wrote:
> Severity: wishlist.
>
> I'd like to be able to customize Emacs so that the selected window in
> a frame had a different background color than the not-selected windows
> in that frame.
>
> This would make the selected windows to stand out over the others,
> thus making very easy to see where the "focus" is.

This is currently the feature that I miss the most in Emacs.  IMO, it
would be a valuable improvement to the usability of Emacs.

Just a little reminder for you to consider.  Thanks for all your work on Emacs.

-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#12056: 24.1.50; Background color in selected and non-selected windows
  2017-07-20  7:35 ` Dani Moncayo
@ 2017-07-20  8:54   ` Eli Zaretskii
  2017-07-20  9:20     ` Dani Moncayo
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2017-07-20  8:54 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 12056

> From: Dani Moncayo <dmoncayo@gmail.com>
> Date: Thu, 20 Jul 2017 09:35:35 +0200
> 
> On Thu, Jul 26, 2012 at 2:41 PM, Dani Moncayo <dmoncayo@gmail.com> wrote:
> > Severity: wishlist.
> >
> > I'd like to be able to customize Emacs so that the selected window in
> > a frame had a different background color than the not-selected windows
> > in that frame.
> >
> > This would make the selected windows to stand out over the others,
> > thus making very easy to see where the "focus" is.
> 
> This is currently the feature that I miss the most in Emacs.  IMO, it
> would be a valuable improvement to the usability of Emacs.

Is your problem indeed with the same buffer appearing more than once
on the same frame?  Because if not, face-remapping-alist should
provide you with the infrastructure upon which you can build this
feature for you.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#12056: 24.1.50; Background color in selected and non-selected windows
  2017-07-20  8:54   ` Eli Zaretskii
@ 2017-07-20  9:20     ` Dani Moncayo
  2017-07-20 10:31       ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Dani Moncayo @ 2017-07-20  9:20 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12056

> Is your problem indeed with the same buffer appearing more than once
> on the same frame?

No.  This is not about buffers; this is about _windows_.

I miss a simple way of making the _selected_window_ stand out clearly
(e.g. by displaying its contents with a somewhat brighter background
than the rest of the windows), in a similar way of what is currently
implemented for the selected/unselected modelines.

>  Because if not, face-remapping-alist should
> provide you with the infrastructure upon which you can build this
> feature for you.

Well, currently I don't know how to build this feature in such way.
Also, I filed this feature request in the hope of having a simple way
of enabling such functionality, which (some day) could be implemented
upstream, so that all users would benefit from it (I believe that many
users would like it).

-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#12056: 24.1.50; Background color in selected and non-selected windows
  2017-07-20  9:20     ` Dani Moncayo
@ 2017-07-20 10:31       ` Eli Zaretskii
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2017-07-20 10:31 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 12056

> From: Dani Moncayo <dmoncayo@gmail.com>
> Date: Thu, 20 Jul 2017 11:20:42 +0200
> Cc: 12056@debbugs.gnu.org
> 
> >  Because if not, face-remapping-alist should
> > provide you with the infrastructure upon which you can build this
> > feature for you.
> 
> Well, currently I don't know how to build this feature in such way.

The idea is to write a post-command-hook which sets a
face-remapping-alist for the buffer of the selected window.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-20 10:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 12:41 bug#12056: 24.1.50; Background color in selected and non-selected windows Dani Moncayo
2012-07-26 15:56 ` Eli Zaretskii
2012-07-26 16:06   ` martin rudalics
2017-07-20  7:35 ` Dani Moncayo
2017-07-20  8:54   ` Eli Zaretskii
2017-07-20  9:20     ` Dani Moncayo
2017-07-20 10:31       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).