From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Colour selection in shr Date: Mon, 03 Nov 2014 21:36:15 +0200 Message-ID: <83egtkvzyo.fsf@gnu.org> References: <8761ex10e0.fsf@rabkins.net> <87wq7cza1n.fsf@rabkins.net> <83lhnsw5if.fsf@gnu.org> <871tpkkuxy.fsf@Rainer.invalid> <83h9ygw1mv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1415043409 9506 80.91.229.3 (3 Nov 2014 19:36:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 19:36:49 +0000 (UTC) Cc: Stromeko@nexgo.de, emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 03 20:36:42 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XlNQe-0001Nj-Mw for ged-emacs-devel@m.gmane.org; Mon, 03 Nov 2014 20:36:40 +0100 Original-Received: from localhost ([::1]:36996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlNQe-0000rw-9c for ged-emacs-devel@m.gmane.org; Mon, 03 Nov 2014 14:36:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlNQV-0000qH-O8 for emacs-devel@gnu.org; Mon, 03 Nov 2014 14:36:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlNQQ-00015m-Jp for emacs-devel@gnu.org; Mon, 03 Nov 2014 14:36:31 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:36207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlNQQ-00015U-Bv for emacs-devel@gnu.org; Mon, 03 Nov 2014 14:36:26 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NEH00N00AE65000@mtaout26.012.net.il> for emacs-devel@gnu.org; Mon, 03 Nov 2014 21:34:54 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NEH00LMDAE6DB10@mtaout26.012.net.il>; Mon, 03 Nov 2014 21:34:54 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176304 Archived-At: > From: Lars Magne Ingebrigtsen > Cc: Achim Gratz , emacs-devel@gnu.org > Date: Mon, 03 Nov 2014 20:23:51 +0100 > > Eli Zaretskii writes: > > > xterm, for example. See lisp/term/xterm.el (search for > > "xterm--report-background-handler") for what I had in mind. > > Is there a, like, top-level function that will return the background > colour of the terminal, if the terminal supports that? I must be missing something, because the obvious answer is this: (face-background 'default)