From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Vladimir Lomov Newsgroups: gmane.emacs.bugs Subject: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3 Date: Tue, 9 Jun 2020 15:12:53 +0800 Message-ID: <20200609071253.GL846@smoon.bkoty.ru> References: <87img65htu.fsf@smoon.bkoty.ru> <20200606145221.GC846@smoon.bkoty.ru> <20200607142652.GF846@smoon.bkoty.ru> <8sgyua1f.dag@gnui.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jB+02Y6wHc2pEa2x" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="89612"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41719@debbugs.gnu.org To: Dmitry Alexandrov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 09 09:14:12 2020 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 1jiYSZ-000NGc-Mq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Jun 2020 09:14:11 +0200 Original-Received: from localhost ([::1]:56384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiYSY-0003ag-6Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Jun 2020 03:14:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiYSQ-0003aJ-S6 for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2020 03:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jiYSQ-0004D5-Ip for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2020 03:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jiYSQ-0003cP-EL for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2020 03:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vladimir Lomov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jun 2020 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41719 X-GNU-PR-Package: emacs Original-Received: via spool by 41719-submit@debbugs.gnu.org id=B41719.159168678713836 (code B ref 41719); Tue, 09 Jun 2020 07:14:02 +0000 Original-Received: (at 41719) by debbugs.gnu.org; 9 Jun 2020 07:13:07 +0000 Original-Received: from localhost ([127.0.0.1]:58719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jiYRX-0003b6-1w for submit@debbugs.gnu.org; Tue, 09 Jun 2020 03:13:07 -0400 Original-Received: from forward105p.mail.yandex.net ([77.88.28.108]:48806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jiYRT-0003aW-4s for 41719@debbugs.gnu.org; Tue, 09 Jun 2020 03:13:05 -0400 Original-Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 118394D417DE; Tue, 9 Jun 2020 10:12:56 +0300 (MSK) Original-Received: from sas1-e20a8b944cac.qloud-c.yandex.net (sas1-e20a8b944cac.qloud-c.yandex.net [2a02:6b8:c14:6696:0:640:e20a:8b94]) by mxback2g.mail.yandex.net (mxback/Yandex) with ESMTP id zVDDtKweH1-Ct9aDxSd; Tue, 09 Jun 2020 10:12:56 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1591686776; bh=gtPywnpUQ+VuvqMm38+RUk4izym7EUs6BastYMGdqz0=; h=In-Reply-To:Subject:Cc:To:From:References:Date:Message-ID; b=Z4W9mnJeqeO8kex5Alqz8coYgLey/7rqYB973gcgZU+c/UoZBvzWNa2cMQJm7XLUz fL3xL7LEV1hUEvpl5vjBxzZd1J9JdIFGt0kAMkXKkKrf+AweEQo0M/tpgSRcm07erx OSPAZsKqYp0JurWzAuo8qDLcPr0KDj2SNhVAQvRA= Authentication-Results: mxback2g.mail.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by sas1-e20a8b944cac.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id jE47i3WoAP-Cs4WXP2U; Tue, 09 Jun 2020 10:12:55 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Original-Received: by smoon.bkoty.ru (Postfix, from userid 1000) id 49h1Y14wnQz3hj4X; Tue, 9 Jun 2020 15:12:53 +0800 (+08) Content-Disposition: inline In-Reply-To: <8sgyua1f.dag@gnui.org> 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:181762 Archived-At: --jB+02Y6wHc2pEa2x Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, ** Dmitry Alexandrov [2020-06-07 19:15:40 +0300]: > Vladimir Lomov wrote: >> So, emacsclient with -F > (make-frame '((name . "NAME"))), actually. >> should change 'instance' but when Emacs is build with GTK/GTK3 emacs >> doesn't change it. Do I correctly understand this? > Only with GTK3. GTK2 is fine as well. >> Is it mean that this is a bug? > If a missing feature, that is present on a slightly different platform, i= s a > bug. It=CA=BCs not necessary a bug in Emacs, though. Maybe, besides decla= ring a > ability to set a window class deprecated [1], GTK developers had actually > broken it. > [1] : > | gtk_window_set_wmclass has been deprecated since version 3.22 and shoul= d not be used in newly-written code. > | > | Don=E2=80=99t use this function. It sets the X Window System =E2=80=9Cc= lass=E2=80=9D and =E2=80=9Cname=E2=80=9D > | hints for a window. According to the ICCCM, you should always set these= to > | the same value for all windows in an application, and GTK+ sets them to= that > | value by default, so calling this function is sort of pointless. Howeve= r, > | you may want to call gtk_window_set_role() on each window in your > | application, for the benefit of the session manager. Setting the role a= llows > | the window manager to restore window positions when loading a saved ses= sion. So, this is dead-end but I'm glad that 'role' is still kept. Is it possible= to implement this ('role' instead of 'instance') in gtk backend and in emacsclient? --- WBR, Vladimir Lomov --=20 Double Bucky, you're the one, You make my keyboard so much fun, Double Bucky, an additional bit or two, (Vo-vo-de-o) Control and meta, side by side, Augmented ASCII, 9 bits wide! Double Bucky, a half a thousand glyphs, plus a few! Oh, I sure wish that I, Had a couple of bits more! Perhaps a set of pedals to make the number of bits four. Double Double Bucky! Double Bucky left and right OR'd together, outta sight! Double Bucky, I'd like a whole word of, Double Bucky, I'm happy I heard of, Double Bucky, I'd like a whole word of you! -- to Nicholas Wirth, who suggested that an extra bit be added to terminal codes on 36-bit machines for use by screen editors. [to the tune of "Rubber Ducky"] --jB+02Y6wHc2pEa2x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQaopaKwcQWyz7yQfAHGfInzJc4BQUCXt82dQAKCRAHGfInzJc4 BbN5AP99bK0a4JcLXTxZt89sh2dvgm4icTya90tT8+ilyEreqgD+LfHIVcMmxEI9 ngxRro4gQohZzFhDLsSe6B3tywehwwo= =w/r9 -----END PGP SIGNATURE----- --jB+02Y6wHc2pEa2x--