From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Date: Sun, 12 Jun 2022 09:32:01 +0300 Message-ID: <83mteiwfxa.fsf@gnu.org> References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28788"; mail-complaints-to="usenet@ciao.gmane.io" Cc: lomov.vl@yandex.ru, 41719@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 12 08:33:18 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 1o0H9x-0007I5-Tc for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 08:33:18 +0200 Original-Received: from localhost ([::1]:42076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0H9w-0004M2-47 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 02:33:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0H9i-0004Kd-Kn for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 02:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0H9i-0002rj-CH for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 02:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0H9i-0001Iy-9k for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 02:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jun 2022 06:33: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.16550155454947 (code B ref 41719); Sun, 12 Jun 2022 06:33:02 +0000 Original-Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 06:32:25 +0000 Original-Received: from localhost ([127.0.0.1]:54473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0H97-0001Hj-5A for submit@debbugs.gnu.org; Sun, 12 Jun 2022 02:32:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0H95-0001HV-Rr for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 02:32:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0H90-0002ot-8R; Sun, 12 Jun 2022 02:32:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=pyFetuZhkav6n59adLDsIwD+TNW4FvVn8IFQpiX3p2I=; b=UmEslCK4tnMD WkYE5aCPlHBJVqUnurPVskl9M/1Y6PE40FhGTgmfAMeFM2bb1R166hz5QggcDmL52TZ4QmiLiAOre la3qbStdWZVBKS3YqgQiVkJyBvX2GRgYFBGZejvAO+mjKe2CzC5vOy6BesIOPC3Bm9Wz253gfFOhM fKkX+Sgil6+J7OOcRK13H2h+lO9p6QcjWsnCGtfU6huSrr7nVOk22u0WjUP9cHZggsEoj0XKdALAO OurkBokClNTExyJjEkIvc1pOaf7LAHEQGQ6Nx73Q4R2XrNE2NZyo5d3bODKTXjbx35L9kHyYDgx3b V9Cf0euAXx7v9tY01a3mWA==; Original-Received: from [87.69.77.57] (port=3936 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0H8z-0003Od-54; Sun, 12 Jun 2022 02:32:18 -0400 In-Reply-To: <87sfoah3gl.fsf@yahoo.com> (bug-gnu-emacs@gnu.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:234322 Archived-At: > Cc: 41719@debbugs.gnu.org > Date: Sun, 12 Jun 2022 13:10:18 +0800 > From: Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Vladimir Lomov writes: > > > The 'emacs' allows to set the so-called 'instance' when run in X window > > system using '--name' option. The same time the 'emacsclient' doesn't > > have such option and if 'emacs' is run in daemon mode ('emacs > > --daemon=...') it is impossible (?) to change the 'instance' of emacs > > window (frame in Emacs terminology) created by 'emacsclient'. > > > > I tried to use '-F' option of 'emacsclient' but I didn't get desire > > result, WM_CLASS isn't changed, only WM_ICON_NAME. It is possible that I > > do things wrong, > > > > $ emacsclient -s /run/user/1000/emacs-default -F '((name . "default") (title . "USER@HOST"))' > > > > but this topic is covered by manual (Emacs, 21.11 "Frame Parameters" and > > Emacs Lisp 29.4.3 "Window Frame Parameters") very unclear. > > > > Even if it is possible to change the 'instance' of Emacs window created > > by 'emacsclient' using the '-F' option it would be nice to have more > > simple way to achieve this. On the other hand, if Emacs is run in daemon > > mode it is the purpose of emacsclient to (allow to) set the 'instance' > > and 'title' of created window. > > Could you please show where in the manual it is unclear? > I don't think we have any support at all for setting the WM_CLASS of > Emacs on a per-frame basis. 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?