GNU bug report logs -
#29473
25.3; 'background-mode is 'light on console with black background
Previous Next
Reported by: Tim Landscheidt <tim <at> tim-landscheidt.de>
Date: Mon, 27 Nov 2017 14:54:02 UTC
Severity: minor
Tags: moreinfo
Found in version 25.3
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 29473 <at> debbugs.gnu.org (full text, mbox):
Tim Landscheidt <tim <at> tim-landscheidt.de> writes:
> In newsticker tree view on a Linux console with black back-
> ground (both KDE's konsole application and "native" console
> (Alt-Ctrl-F2), all under Fedora),
> (frame-parameter nil 'background-mode) returns 'light. This
> also happens with Emacs' current master branch.
>
> After glancing at the manual, I'm unclear whether:
>
> 1. Emacs should set 'background-mode correctly by itself
> (and thus there is an error in the detection mechanism),
>
> 2. it is my duty to explicitly set background-mode (via
> initial-frame-alist?) when using Emacs on a console, or
I'm pretty sure it's #1, the manual explains that background-mode nil
should use automatic detection, and it sounds like that detection is
going wrong.
I don't see anything in lisp/term/linux.el that sets the background mode
at all. What does running 'echo $TERM' in a shell give you?
Looking at lisp/term/konsole.el, it looks like it uses the xterm
functions for everything. Could you try stepping through/adding
'message' calls in terminal-init-xterm and see if/where it goes wrong?
This bug report was last modified 3 years and 313 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.