From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tim Landscheidt Newsgroups: gmane.emacs.bugs Subject: bug#29473: 25.3; 'background-mode is 'light on console with black background Date: Mon, 27 Nov 2017 14:53:30 +0000 Organization: http://www.tim-landscheidt.de/ Message-ID: <87efoj3h91.fsf@passepartout.tim-landscheidt.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1511794674 27464 195.159.176.226 (27 Nov 2017 14:57:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2017 14:57:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) To: 29473@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 27 15:57:47 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJKqm-0005wf-EA for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Nov 2017 15:57:36 +0100 Original-Received: from localhost ([::1]:33170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJKqt-00020M-U4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Nov 2017 09:57:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJKnQ-00085I-Sw for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 09:54:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJKnL-0002Dl-C7 for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 09:54:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51566) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJKnL-0002DU-8Z for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 09:54:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJKnK-0003pt-PN for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 09:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tim Landscheidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Nov 2017 14:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29473 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151179444214741 (code B ref -1); Mon, 27 Nov 2017 14:54:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Nov 2017 14:54:02 +0000 Original-Received: from localhost ([127.0.0.1]:60247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJKnJ-0003pc-PR for submit@debbugs.gnu.org; Mon, 27 Nov 2017 09:54:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJKnG-0003pN-T8 for submit@debbugs.gnu.org; Mon, 27 Nov 2017 09:53:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJKnA-00022u-QM for submit@debbugs.gnu.org; Mon, 27 Nov 2017 09:53:53 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40826) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eJKnA-00022i-N3 for submit@debbugs.gnu.org; Mon, 27 Nov 2017 09:53:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJKn8-0007qQ-CL for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 09:53:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJKn3-0001yf-DK for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 09:53:50 -0500 Original-Received: from mezzogiorno.tim-landscheidt.de ([78.47.87.37]:39904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJKn3-0001tK-6R for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 09:53:45 -0500 Original-Received: from x4e363e84.dyn.telefonica.de ([78.54.62.132]:57754 helo=passepartout.tim-landscheidt.de) by mezzogiorno.tim-landscheidt.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eJKmt-00036b-LU for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 14:53:35 +0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140455 Archived-At: 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).