GNU bug report logs - #76703
Emacs running in Terminal does not change the background color of the bottom right corner

Previous Next

Package: emacs;

Reported by: Codruț Constantin Gușoi <mail+gnu <at> codrut.pro>

Date: Mon, 3 Mar 2025 04:33:02 UTC

Severity: normal

Fixed in version 31.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76703 in the body.
You can then email your comments to 76703 AT debbugs.gnu.org in the normal way.

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#76703; Package emacs. (Mon, 03 Mar 2025 04:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Codruț Constantin Gușoi <mail+gnu <at> codrut.pro>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 03 Mar 2025 04:33:03 GMT) Full text and rfc822 format available.

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

From: Codruț Constantin Gușoi <mail+gnu <at> codrut.pro>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs running in Terminal does not change the background color of the
 bottom right corner
Date: Sun, 02 Mar 2025 15:51:52 +0000
[Message part 1 (text/plain, inline)]
Hello,


This has been a thing that I've noticed in Emacs since I started using 
it a decade ago, but I kind of ignored it. I'd like to see a proper fix 
for it though.


Running any Emacs version (tested on 29.4 and 31.0.50 from 2nd of March 
2025 commit c4232a08f135b347a24cb75bb901659d45c61787) in a terminal 
makes the bottom right corner not respect a theme's background colour.


You have screenshots in this snippet: 
https://gitlab.com/-/snippets/4814843, also attached.


Exhibit 1 - Emacs running with the following command:

```

|emacs -Q -nw --eval '(dolist (face (face-list)) (set-face-foreground 
face "white") (set-face-background face "white"))' |

```

Notice the bottom right corner is dark, same colour as the terminal 
background.


Exhibit 2 - vim running with the following command:

```

vim -u NONE -c "colorscheme delek"

```

Notice the bottom right corner is white, same colour as the theme.


Now, because vim can do it, it means it's not impossible, and Emacs can 
also implement something similar and fix this issue. It's kind of hard 
for me to figure out what is going on here. From what I've understood 
this has something to do with the way Emacs handles cursors?
[exhibit-1.png (image/png, attachment)]
[exhibit-2.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#76703; Package emacs. (Mon, 10 Mar 2025 13:02:01 GMT) Full text and rfc822 format available.

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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Codruț Constantin Gușoi
 <mail+gnu <at> codrut.pro>
Cc: 76703 <at> debbugs.gnu.org
Subject: Re: bug#76703: Emacs running in Terminal does not change the
 background color of the bottom right corner
Date: Mon, 10 Mar 2025 14:01:22 +0100
Codruț Constantin Gușoi <mail+gnu <at> codrut.pro> writes:

> Running any Emacs version (tested on 29.4 and 31.0.50 from 2nd of March 
> 2025 commit c4232a08f135b347a24cb75bb901659d45c61787) in a terminal 
> makes the bottom right corner not respect a theme's background colour.

I think I fixed this yesterday or so on master. Please give it a try.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#76703; Package emacs. (Mon, 10 Mar 2025 13:55:02 GMT) Full text and rfc822 format available.

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

From: Codruț Constantin Gușoi <mail+gnu <at> codrut.pro>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 76703 <at> debbugs.gnu.org
Subject: Re: bug#76703: Emacs running in Terminal does not change the
 background color of the bottom right corner
Date: Mon, 10 Mar 2025 13:54:37 +0000
Thank you for fixing this! Just tried it, works perfectly.

On Monday, 10 March 2025 at 13:01, Gerd Möllmann <gerd.moellmann <at> gmail.com> wrote:

> Codruț Constantin Gușoi mail+gnu <at> codrut.pro writes:
> 
> > Running any Emacs version (tested on 29.4 and 31.0.50 from 2nd of March
> > 2025 commit c4232a08f135b347a24cb75bb901659d45c61787) in a terminal
> > makes the bottom right corner not respect a theme's background colour.
> 
> 
> I think I fixed this yesterday or so on master. Please give it a try.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#76703; Package emacs. (Mon, 10 Mar 2025 13:58:02 GMT) Full text and rfc822 format available.

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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Codruț Constantin Gușoi
 <mail+gnu <at> codrut.pro>
Cc: 76703 <at> debbugs.gnu.org
Subject: Re: bug#76703: Emacs running in Terminal does not change the
 background color of the bottom right corner
Date: Mon, 10 Mar 2025 14:56:59 +0100
Codruț Constantin Gușoi <mail+gnu <at> codrut.pro> writes:

> Thank you for fixing this! Just tried it, works perfectly.

Thanks for testing! I'll close this ticket, then.

>
> On Monday, 10 March 2025 at 13:01, Gerd Möllmann <gerd.moellmann <at> gmail.com> wrote:
>
>> Codruț Constantin Gușoi mail+gnu <at> codrut.pro writes:
>> 
>> > Running any Emacs version (tested on 29.4 and 31.0.50 from 2nd of March
>> > 2025 commit c4232a08f135b347a24cb75bb901659d45c61787) in a terminal
>> > makes the bottom right corner not respect a theme's background colour.
>> 
>> 
>> I think I fixed this yesterday or so on master. Please give it a try.




bug marked as fixed in version 31.1, send any further explanations to 76703 <at> debbugs.gnu.org and Codruț Constantin Gușoi <mail+gnu <at> codrut.pro> Request was from Gerd Möllmann <gerd.moellmann <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 10 Mar 2025 13:58:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 Apr 2025 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 133 days ago.

Previous Next


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