From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#32921: emacsclient obeys Xresources even when launched with -nw Date: Thu, 19 May 2022 21:40:14 +0800 Message-ID: <877d6h1w01.fsf@yahoo.com> References: <87o7zvc8xi.fsf@gnus.org> <835ym3f0xt.fsf@gnu.org> <875ym3c7bj.fsf@gnus.org> <834k1nezs3.fsf@gnu.org> <87ee0raqy2.fsf@gnus.org> <87czgal2tt.fsf@yahoo.com> <838rqydmy8.fsf@gnu.org> <878rqyklqj.fsf@yahoo.com> <831qwqdj2w.fsf@gnu.org> <87fsl5sxse.fsf@yahoo.com> <83y1yxdffv.fsf@gnu.org> <87czg93juo.fsf@yahoo.com> <83sfp5d7ad.fsf@gnu.org> <87h75l1xeo.fsf@yahoo.com> <83r14pd5b6.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11127"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 32921@debbugs.gnu.org, larsi@gnus.org, jimis@gmx.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 19 15:41: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 1nrgPE-0002kS-01 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 May 2022 15:41:32 +0200 Original-Received: from localhost ([::1]:39418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrgPC-0000u8-PH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 May 2022 09:41:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrgOk-0000qy-7q for bug-gnu-emacs@gnu.org; Thu, 19 May 2022 09:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40939) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrgOj-0007Ya-Od for bug-gnu-emacs@gnu.org; Thu, 19 May 2022 09:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrgOj-0001H8-L9 for bug-gnu-emacs@gnu.org; Thu, 19 May 2022 09:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 May 2022 13:41: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.16529676344842 (code B ref 32921); Thu, 19 May 2022 13:41:01 +0000 Original-Received: (at 32921) by debbugs.gnu.org; 19 May 2022 13:40:34 +0000 Original-Received: from localhost ([127.0.0.1]:34833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrgOH-0001G2-Vf for submit@debbugs.gnu.org; Thu, 19 May 2022 09:40:34 -0400 Original-Received: from sonic312-23.consmr.mail.ne1.yahoo.com ([66.163.191.204]:34773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrgOF-0001Fo-Nz for 32921@debbugs.gnu.org; Thu, 19 May 2022 09:40:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652967626; bh=b+Mv9cmEqe2VSkw9ulp2+rRHNKNR3J1cQOs/AWUzC7o=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=BFscd0hLJ5mM8v7lyxtJbq2rurzqoH+uJCVhmP+8q4ArkAbY/q+q5GQDJi9wPa9WbOlw6QhddBcYJv05XutlQniRT4yDk0+xb4LR+I9Dqq6QJ67jINILSD8qadPWFK7nOeECehdIJYQ0tTKwmaXv3Wh+qrcZoH9fjLTLZm712j5jPpUpuFwGCE30dqjRKJthIZ1l8PAmcyi3//shx2EkyCqFdMySrHLLk3u9D3Gb1tadyrqtCFe9BewZrlP8z7czDtqzySO6SiIP2gEmR7nKM5sPmC7i/+/Ekj68M/3AJdmzSF8ZX0SxuBlNY8u9Oa9qUH72U76hcXcQr2GegBXI9g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652967626; bh=YET9Ks+y/mIcRdSjBYoITHugP0sCZwWRgNDN9rXS7z7=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=aTeDK7RlNcmyFxWE3l95Y+Pl8XpXp0wKk2BdgBcb4/iecl8L32xDashougPQTMltUJjgN8qHl+r84rGVwZATOQcVgbqbQwaWU3ZsbNe8qkoQsy89SULgShQgUVpU7KT5WHiT5FT9q5l8MJUWOearniU4eRlwYO0B+olP/Yro4EQe87FHi5zaBoh793Tqqvi75SFP7BjhIEIvhZ29fgVZqFNscRL6FNh2QkW/j2S43B+KB4xCAv/bYdI9dLaX4ckdQcarX2ViEYwBN4PNrAzZLB9NsLufN2s2dLlSDqm3JKtQQyeVjf5roueLTDnxuFHEvCvJXSnBkk5qfMmhahVohw== X-YMail-OSG: I6gHSkYVM1kg1YQDHZeA.F1sOjT8U1x3pke3bw1qmVy29V_Z.Rs8vyNz6EnmYXv 0zj8umOiF5ZdI2yfA6MKchjT1iCy6U_jVNmyANwd85VrH0VKQKvrY2X9ziQL6lQnl3DEZWVu6VSq n8YFWpTvjjENRZ2RQqvBfwAmlAb0sRnR6lrfwKpQ_x4UAQR3rKy6jbQhvwj4gmWBtOuhotDf3QyN KkZyq5JhlpzfuEQpo1wjRJnkkSWEL24IB0vQ4epsPhzX497BPlvkRv.4nhIo6d_8kWUKJ4dYlFnj lQ6Yb5eVk6ZY_S5d9D2sw9LLLtmg5NwAGG81ZDpj4Vofhf98b87j6QC4lXdlRjyImJqn4TD6Amjp 8.GtcA8Xd9snFIGJsz7ndbEAMVMWBuArlAX4NDQky2xQM29Y_bllixgUgXDBGcxr8mE_GFkIPcnL FL8L3L2BKi9Z01Qmwv5sKP9.qQw2t70Urejsi64qxPobYp.rZHKmRExF62zRDVPNPrNIG4PG_vyF 2jJS0Ute902f59Ven1241dMWgn8.SsX4QQPqwGSvug8mnOurMt1.G04roboZJtRRVqgcGeQlytlY JMCAmHno1vW0DwwldluS4ijDyczWMFA9uD5kyYzuX_zPmN0XIxitW5aCcN5rG9RkuetX2hYqYh6H XmlhciG4Vg48dzHAcDuZyEN8knwX_szvWwIyw3N4RR5Z4QXhMOoYlm6kGbPySzUDMPlX5yQtt8sA vEvv1vK8pKO5oEh9xJrESkN5QoEyGkESqgwSrtevEQrUtCd1bU8X8xs8mf1KkP85NfPI2_sZG90G dc2CAgTvnCk9pujsR.GDNuyW03lpZpRqrJBrDZNf4_ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Thu, 19 May 2022 13:40:26 +0000 Original-Received: by hermes--canary-production-sg3-7959d4d9bd-zszfs (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 55720bd9eba6dc5901323e69be583bc0; Thu, 19 May 2022 13:40:19 +0000 (UTC) In-Reply-To: <83r14pd5b6.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 19 May 2022 16:23:41 +0300") X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:232644 Archived-At: Eli Zaretskii writes: > That's what we are trying to understand, among other things. I posted > one possible explanation. I didn't really understand it, since there is no difference between "startup time" and "frame creation time": the X resources as known to Emacs do not change after the display connection is established. They might change on the MS Windows registry emulation, but not on X. > I'm not sure this is 100% true. Hmm, what other situations could there be? Tooltip frames don't respect `default-frame-alist' anyway, and I hope nobody out there is calling `x-create-frame' directly. > I don't know. I guess for some kind of backward compatibility. This > is very old code. My guess is that it was an oversight between 19.29 and 19.27. But let's see if anyone else knows what is going on. > Then I don't understand your objection at all: when Emacs starts up, > there's only one X server that can be relevant: the one where Emacs > shows its first frame. My objection was that it behaves differently from the other X resources, in a way that is eventually overidden by `x-create-frame-with-faces' anyway. Thanks.