unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29473: 25.3; 'background-mode is 'light on console with black background
@ 2017-11-27 14:53 Tim Landscheidt
  2017-12-02 15:25 ` Noam Postavsky
  0 siblings, 1 reply; 6+ messages in thread
From: Tim Landscheidt @ 2017-11-27 14:53 UTC (permalink / raw)
  To: 29473

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), titles of folders with no
items are displayed black on black, i. e. they are still
copyable, but not visible.  Changing the selected title with
RET highlights that one correctly and hides the previous one
if it has 0 items, suggesting that the face
newsticker-treeview-face is at fault.

Changing (:foreground "black") to (:foreground "yellow") in
newsticker-treeview-face's (background light) case makes the
titles visible and indeed
(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

3. newsticker should use a different technique (I've used
   Emacs on consoles many times and do not remember running
   into similar problems with other parts of Emacs).





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

end of thread, other threads:[~2021-10-03  9:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-27 14:53 bug#29473: 25.3; 'background-mode is 'light on console with black background Tim Landscheidt
2017-12-02 15:25 ` Noam Postavsky
2017-12-09  5:35   ` Tim Landscheidt
2017-12-09 14:05     ` Noam Postavsky
2021-09-03  6:44       ` Lars Ingebrigtsen
2021-10-03  9:44         ` Lars Ingebrigtsen

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).