From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Date: Sun, 12 Jun 2022 13:22:25 +0530 Message-ID: <87y1y2uxmu.fsf@gmail.com> References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29073"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Po Lu , lomov.vl@yandex.ru, 41719@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 12 09:53:11 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 1o0IPH-0007Oi-Ac for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 09:53:11 +0200 Original-Received: from localhost ([::1]:43438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0IPG-0007qu-EJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 03:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0IP8-0007qW-Pd for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 03:53:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0IP8-0005A5-H7 for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 03:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0IP8-0003SX-GH for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 03:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jun 2022 07:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41719 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 41719-submit@debbugs.gnu.org id=B41719.165502035613256 (code B ref 41719); Sun, 12 Jun 2022 07:53:02 +0000 Original-Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 07:52:36 +0000 Original-Received: from localhost ([127.0.0.1]:54604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0IOi-0003Rk-35 for submit@debbugs.gnu.org; Sun, 12 Jun 2022 03:52:36 -0400 Original-Received: from mail-pg1-f195.google.com ([209.85.215.195]:35821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0IOg-0003RW-CG for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 03:52:34 -0400 Original-Received: by mail-pg1-f195.google.com with SMTP id 129so2993601pgc.2 for <41719@debbugs.gnu.org>; Sun, 12 Jun 2022 00:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=KB6IQdMoL8hx50Vk6SBg5TiO+UMdkKLmX6wUS40zTFo=; b=KoEFn+juv/Lz5FQUvRBRV4kT/nXc768Wkt0Y3K8vVW7uGxsTBbMylmPQTymiTjvLcQ EDAxbgTSzx9Ui2AtDZ3u2jn6Hvin2mWQ6wrT4pYdj1CGBVzVzzIrzAC5UZJiEDUFMrfJ bS+AOqWbYDpqbwpZHEULu6jjJVOkMSnvgjuZVh089OfKco6eFJnZoOBF3rl8hqGrgG4G 63BIzmvbiTjlkA5oyHLMfKQ9kzRtRtKqa4zQuHHNahyF8v0V21fzYvU7Or/PjVmvsfQc NYjU9iNSWGtjyT4PX/UAwgNK1Q0qqh6x+Blyq6GHM/JjwJuu9Fb9c9h1ra7U8FiU3lKZ 3M0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=KB6IQdMoL8hx50Vk6SBg5TiO+UMdkKLmX6wUS40zTFo=; b=nFBvhIHKMQsIQ96Vlm3FtNyrr4rnMbeFdjGKu/nsYMuj4HExhdXA66NqcUAT4Rkinc U/9gyVJTCYmdLx3+i7Cz/NJswAQvz5liAhNKEkyIp6SasHn1IPc/YnQWfmpyygyB6A9U D1PpLA7RAKITImy5vjqd/GNpJ+/K/K2KuBcRv2B/qrMKUrfWKzGGda+5v0ovMIeBbWC+ UGGaNUm9ZiLrm8awi3uNrFc2Apf88F0pMbPBh95DWhYuxlknwHTc2NPsETMEOUluXXXO auv21R9rsv/IUWpFQgOYmiVcwRHi0LG4ciK7Bt8cXHoT8bwiuD4eB/XQVnZZXk7BWlwC KN2Q== X-Gm-Message-State: AOAM5318mWZbDu2QDFXmgQP7IcYTTIs+EvD13QnHzu+GlJcWgqitrF4I 32TwrWMvES22OYLgfro4xrY= X-Google-Smtp-Source: ABdhPJzh9PcwLcQ6X9o4Jt13akPXfqDQjAGLAKUn7vB83iJs7nb5oqBYU1IQwcEgMypScBGdWWkWmg== X-Received: by 2002:a65:5b08:0:b0:401:cf39:c35c with SMTP id y8-20020a655b08000000b00401cf39c35cmr11158759pgq.396.1655020348765; Sun, 12 Jun 2022 00:52:28 -0700 (PDT) Original-Received: from localhost ([49.204.137.20]) by smtp.gmail.com with ESMTPSA id h3-20020a62b403000000b00518142f8c37sm2813325pfn.171.2022.06.12.00.52.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 00:52:28 -0700 (PDT) In-Reply-To: <83edzuwegz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Jun 2022 10:03:24 +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:234333 Archived-At: [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 12, 2022 10:03] Eli Zaretskii wrote: >> From: Po Lu >> Cc: lomov.vl@yandex.ru, 41719@debbugs.gnu.org >> Date: Sun, 12 Jun 2022 14:40:11 +0800 >>=20 >> Eli Zaretskii writes: >>=20 >> > In addition, I don't think I understand what is the feature (in >> > user-level terms, not in terms of X-specific internal details) is >> > being sought out here. >> > >> > The discussion mentioned various options of Emacs and emacsclient, >> > which are meant to support multiple Emacs servers running on the same >> > system and the ability of emacsclient to connect to one specific >> > server. This functionality does work, so if that is not what is being >> > requested here, then what is? IOW, why is important what is the >> > WM_CLASS of Emacs? >>=20 >> I think what Vladmir wants is for two copies of Emacs to be displayed as >> two "different" applications by pagers and window managers, which rely >> on the WM_CLASS property of a window to associate it with an >> application. > > Why? What would that gain in user-level terms? WM_CLASS and WM_NAME are commonly matched against in "window manager rules." For example, I have a script that essentially calls `make-frame' with a specific frame `name' [*] which I then match against in my window manager configuration to move the frame to the top right corner of my screen. [*] I see that Emacs sets WM_CLASS and WM_NAME to the `name' frame parameter. % xprop |grep wm_'\(class\|name\)' _NET_WM_NAME(UTF8_STRING) =3D "vz/calendar-frame" WM_CLASS(STRING) =3D "vz_calendar-frame", "Emacs" WM_NAME(STRING) =3D "vz/calendar-frame"