From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#32921: emacsclient obeys Xresources even when launched with -nw Date: Wed, 18 May 2022 15:13:20 +0200 Message-ID: <875ym3c7bj.fsf@gnus.org> References: <87o7zvc8xi.fsf@gnus.org> <835ym3f0xt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3597"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 32921@debbugs.gnu.org, jimis@gmx.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 18 15:14:32 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nrJVY-0000lg-Ak for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 May 2022 15:14:32 +0200 Original-Received: from localhost ([::1]:56222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrJVX-0002yZ-8q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 May 2022 09:14:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrJV4-0002ZC-5A for bug-gnu-emacs@gnu.org; Wed, 18 May 2022 09:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37269) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrJV3-0007pS-SK for bug-gnu-emacs@gnu.org; Wed, 18 May 2022 09:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrJV3-0001fF-K8 for bug-gnu-emacs@gnu.org; Wed, 18 May 2022 09:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 May 2022 13:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 32921-submit@debbugs.gnu.org id=B32921.16528796146356 (code B ref 32921); Wed, 18 May 2022 13:14:01 +0000 Original-Received: (at 32921) by debbugs.gnu.org; 18 May 2022 13:13:34 +0000 Original-Received: from localhost ([127.0.0.1]:59399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrJUb-0001eR-ND for submit@debbugs.gnu.org; Wed, 18 May 2022 09:13:33 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:39652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrJUZ-0001eC-8L for 32921@debbugs.gnu.org; Wed, 18 May 2022 09:13:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EkPqLO11VqMJDWmR+dWf2v/TGSZk1/7FULJjlD0/fHU=; b=kSXuNXBewr3fT3WNIkwti1HCjg WxqrJSd5ugnzROzejWhElTcgS3ULeXCzO/+aPaBbToLX10WbIAOGo7rGCYENW8JbwdplocZB+JUG3 rJrcEXnwlfcEtTv9IKBjeu5C+sDZkG4JDMFaf3ZTBZfVEiA9Y2LNWzAdcYMuihW14dXo=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nrJUP-0007Ya-V0; Wed, 18 May 2022 15:13:24 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUmIyBCPjvb2NWC fnxaVlP///8D7NzBAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YFEg0KAiIAWK4AAAFbSURBVDjLxZJh bsMwCIVBywHMxgmcHGCNfYBSc/8zDezUsdto2r9RVVX5DLxnAxhzbJFV1EOgBj5iB3QNkhIF6IEl 9hIhog50j2NJA8t9mYCXWLPl2z5AvdWabXIFd5YExKcq5bU2Kxl0ULXxTjZFAmQXxynWKatmQFcZ 6o+pKmmPJcUtnEobUH2sJHo7U82lTSs5IN/G0whkPenLhpGcWcKjK6uD45owcB/mALwCUcMyXKSp NxGWV9ZJGnFzi+S+wwQomD+XGF4qiOr1eQmegFmFWKjmazwtstm3b7DjXivHs1cgyAp2shY8RxgQ A/IEw3B/OlUwhqO/CiSpXwaeirGuWdE63J2EXqBtAQ8wjHBiPuq6jdbtv7Dt87SHHTmcL8rTbf11 zpOWtmwCr31Y057f0q0m5Yv8aPa3wKuMXB793OgC2NPtG73nP2J79Cls02DJfgF/kPbf8QN9MkfQ q5Pp+wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wNS0xOFQxMzoxMDowMiswMDowMJ4nNZUAAAAl dEVYdGRhdGU6bW9kaWZ5ADIwMjItMDUtMThUMTM6MTA6MDIrMDA6MDDveo0pAAAAAElFTkSuQmCC X-Now-Playing: Nils Petter =?UTF-8?Q?Molv=C3=A6r's?= _Solid Ether_: "Tragamar" In-Reply-To: <835ym3f0xt.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 May 2022 16:02:54 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:232561 Archived-At: Eli Zaretskii writes: > Which sequence of calls ends up calling x-handle-reverse-video, and > what is the trigger for that sequence of calls? It's: Debugger entered: nil x-handle-reverse-video(# ((vertical-scroll-bars) (height . 53) (width . 81) (reverse . t) (cursor-color . "red") (cursor-type . box) (mouse-color . "red") (horizontal-scroll-bars))) x-create-frame-with-faces(((vertical-scroll-bars) (height . 53) (width . 81) (reverse . t) (cursor-color . "red") (cursor-type . box) (mouse-color . "red") (horizontal-scroll-bars))) #f(compiled-function (params) #)(((vertical-scroll-bars) (height . 53) (width . 81) (reverse . t) (cursor-color . "red") (cursor-type . box) (mouse-color . "red") (horizontal-scroll-bars))) apply(#f(compiled-function (params) #) ((vertical-scroll-bars) (height . 53) (width . 81) (reverse . t) (cursor-color . "red") (cursor-type . box) (mouse-color . "red") (horizontal-scroll-bars))) frame-creation-function(((vertical-scroll-bars) (height . 53) (width . 81) (reverse . t) (cursor-color . "red") (cursor-type . box) (mouse-color . "red") (horizontal-scroll-bars))) make-frame() > (These kinds of changes in code that was there for decades give me the > creeps.) Indeed. I tried to do some VC history spelunking for why we're apparently checking reverseVideo redundantly in this way, but I came up short. It might not be redundant on Windows, which presumably doesn't call these X functions, but does heed reverseVideo in the w32 version of window-system-initialization. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no