From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dimitrios Apostolou Newsgroups: gmane.emacs.help Subject: Re: emacsclient and reverseVideo in Xresources Date: Tue, 18 Sep 2018 18:02:53 +0200 (CEST) Message-ID: References: <83lg7ygace.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1537286569 14117 195.159.176.226 (18 Sep 2018 16:02:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2018 16:02:49 +0000 (UTC) User-Agent: Alpine 2.21 (LFD 202 2017-01-01) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 18 18:02:45 2018 Return-path: Envelope-to: geh-help-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 1g2ISW-0003PJ-4u for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Sep 2018 18:02:40 +0200 Original-Received: from localhost ([::1]:41117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2IUc-0001h0-BH for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Sep 2018 12:04:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2ISp-0001FJ-TT for help-gnu-emacs@gnu.org; Tue, 18 Sep 2018 12:03:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2ISm-0004TB-2J for help-gnu-emacs@gnu.org; Tue, 18 Sep 2018 12:02:59 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:56897) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g2ISl-0004Sa-N1; Tue, 18 Sep 2018 12:02:55 -0400 Original-Received: from jimisX1 ([84.209.119.197]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Mey7N-1gQJWu3wIj-00OZhB; Tue, 18 Sep 2018 18:02:54 +0200 In-Reply-To: <83lg7ygace.fsf@gnu.org> X-Provags-ID: V03:K1:/Kq13iN+uEe0jHMpnjRRhrysO9xs8hrkGL0VkLUI5mTPWkvS7dJ KMakMIxVv3tvbL46Rrzojh1RrxaV2/HGZj9e9t50TFGWaTbj1QaYalqfXkUf/14G7bf7SUE nCmA4o7t9NGWAqtS8M60D8bATu7lufrx8Eg0XVnMa1AM2OWyz7iXHRRpfohhhSeABrtlCG4 nIttDWISY+iv2vrzrVBoQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:eYqQYm7zUQs=:e1DPWRoAQ3Z4zBcvLrA6Pq 2CN0700wiarldKE1v1mXc607aTiO2blSLJY3xDLY2MKP4m77aWpZnyWoAPNNz7c99HroeMBXl myc7VJUbyzbsUEO5ZU+EE8hYJrHdzu1SPTAxHQMOOcplsicRZfpF4xw3pvfNj8c+fgw4NDmLh xLcAnV+7q/abF4y/abiyBR/BIkNSgFBrOQd1CwNtkCcwC1wzBx2BzqY4UWvCRAd0P0rG/n8mC Qj0b5es6GUQG4wv89+qp8OM1o/zqe4+rB0TkzJdRlrqYAs3d/YJY2dgdpoOTQM1HJNTilwD2Z 4rVFRqJ2HNLsIrQyS3brKBIPeq9PJVWfaRuVKFR0xhlVOmTpp6U3Qj6wb+g/WVSVCDtTgT+eN YhH3ON5gWdCnSJ0UMxk5wkC5+ED1smAmjkV49TmpzEZXjKcaLXIGyBSwNNslGIsURUbVoQ65q 8LvetvyNLaBngJMavzMAGyRgZGmwtOFDcUTOM+JdSglDwdRZYboWXcr1T1DjB93091LSr8hcG F7IB02M3pxW6MPIsZG/f9HwqLbEiChkMZgYl9cFfUYSudnuLhbBBGePV8r1ryXVDraxKQQ86x xWLGf9H+3wFtphfavAlK1nXUJFm37jcVK6yOBoy72zFABbcLnotG9Iz6Yw2dbBE/8TzzjoBaz CNGPg6B0f4BY7h9jmKc0Kle3QPpZmotQRfK+X7Gw6qBhXiL1wpXL1pTdEiVaj0O4BsHLO7Exv caYbi7tSjvbQpEkm8mJGlqZlry0ulxzE2zo176w/jX/cjZtGmQMbk5/90nT9FU9oOS/oEwX9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117955 Archived-At: On Tue, 18 Sep 2018, Eli Zaretskii wrote: >> Date: Tue, 18 Sep 2018 11:47:04 +0200 (CEST) >> From: Dimitrios Apostolou >> >> - "emacs" launches a window with dark background >> - "emacsclient -c" launches a window with dark background >> - "emacs -nw" launches emacs with dark background in the terminal >> - "emacsclient -nw" launches emacsclient in the terminal with WHITE background! >> >> Why is the last one happening? > > Because text-mode frames aren't sensitive to X resources: they don't > use X services to display text. Thanks. But "emacs -nw" is a text-mode frame, and it has dark background. It's only "emacsclient -nw" that has light background. Furthermore setting the emacs global variable "inverse-video" to t does not change any behaviour, so it must be unrelated to the Xresources. I am assuming that emacsclient is just a thin C program that manages the console itself in the "nw" case, but in the X case it communicates to emacs server and does not manage anything by itself. This could explain the different behaviour but still sounds like a bug to me. Dimitris