GNU bug report logs - #12056
24.1.50; Background color in selected and non-selected windows

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 26 Jul 2012 12:49:02 UTC

Severity: wishlist

Merged with 50141

Found in version 24.1.50

To reply to this bug, email your comments to 12056 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12056; Package emacs. (Thu, 26 Jul 2012 12:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dani Moncayo <dmoncayo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org.

Your message specified a Severity: in the pseudo-header, but the severity value wishlist. was not recognised. The default severity normal is being used instead. The recognised values are: critical, grave, serious, important, normal, minor, wishlist.

(Thu, 26 Jul 2012 12:49:02 GMT) Full text and rfc822 format available.


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1.50; Background color in selected and non-selected windows
Date: Thu, 26 Jul 2012 14:41:01 +0200
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




Severity set to 'wishlist' from 'normal' Request was from Dani Moncayo <dmoncayo <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 26 Jul 2012 15:30:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12056; Package emacs. (Thu, 26 Jul 2012 16:04:01 GMT) Full text and rfc822 format available.

Message #10 received at 12056 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 12056 <at> debbugs.gnu.org
Subject: Re: bug#12056: 24.1.50;
	Background color in selected and non-selected windows
Date: Thu, 26 Jul 2012 18:56:10 +0300
> Date: Thu, 26 Jul 2012 14:41:01 +0200
> From: Dani Moncayo <dmoncayo <at> 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)...




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12056; Package emacs. (Thu, 26 Jul 2012 16:14:02 GMT) Full text and rfc822 format available.

Message #13 received at 12056 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12056 <at> debbugs.gnu.org, Dani Moncayo <dmoncayo <at> gmail.com>
Subject: Re: bug#12056: 24.1.50; Background color in selected and non-selected
	windows
Date: Thu, 26 Jul 2012 18:06:53 +0200
> But the default face can be remapped (hint, hint)...

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

martin





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12056; Package emacs. (Thu, 20 Jul 2017 07:36:01 GMT) Full text and rfc822 format available.

Message #16 received at 12056 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: 12056 <at> debbugs.gnu.org
Subject: Re: bug#12056: 24.1.50;
 Background color in selected and non-selected windows
Date: Thu, 20 Jul 2017 09:35:35 +0200
On Thu, Jul 26, 2012 at 2:41 PM, Dani Moncayo <dmoncayo <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12056; Package emacs. (Thu, 20 Jul 2017 08:55:01 GMT) Full text and rfc822 format available.

Message #19 received at 12056 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 12056 <at> debbugs.gnu.org
Subject: Re: bug#12056: 24.1.50;
 Background color in selected and non-selected windows
Date: Thu, 20 Jul 2017 11:54:05 +0300
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> Date: Thu, 20 Jul 2017 09:35:35 +0200
> 
> On Thu, Jul 26, 2012 at 2:41 PM, Dani Moncayo <dmoncayo <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12056; Package emacs. (Thu, 20 Jul 2017 09:21:02 GMT) Full text and rfc822 format available.

Message #22 received at 12056 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12056 <at> debbugs.gnu.org
Subject: Re: bug#12056: 24.1.50;
 Background color in selected and non-selected windows
Date: Thu, 20 Jul 2017 11:20:42 +0200
> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12056; Package emacs. (Thu, 20 Jul 2017 10:32:02 GMT) Full text and rfc822 format available.

Message #25 received at 12056 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 12056 <at> debbugs.gnu.org
Subject: Re: bug#12056: 24.1.50;
 Background color in selected and non-selected windows
Date: Thu, 20 Jul 2017 13:31:24 +0300
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> Date: Thu, 20 Jul 2017 11:20:42 +0200
> Cc: 12056 <at> 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.




Forcibly Merged 12056 50141. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 21 Aug 2021 12:49:02 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.