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#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Date: Sun, 12 Jun 2022 13:10:18 +0800 Message-ID: <87sfoah3gl.fsf@yahoo.com> References: <87img65htu.fsf@smoon.bkoty.ru> 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="18494"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 41719@debbugs.gnu.org To: Vladimir Lomov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 12 07:11:22 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 1o0Fsf-0004eb-3X for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 07:11:21 +0200 Original-Received: from localhost ([::1]:46108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0Fsd-0006CB-N5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 01:11:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0FsM-0006Bn-Jq for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 01:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0FsM-0000u9-Bs for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 01:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0FsL-0007Fv-UC for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 01:11: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: Sun, 12 Jun 2022 05:11:01 +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.165501063527803 (code B ref 41719); Sun, 12 Jun 2022 05:11:01 +0000 Original-Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 05:10:35 +0000 Original-Received: from localhost ([127.0.0.1]:54386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Frv-0007EN-8E for submit@debbugs.gnu.org; Sun, 12 Jun 2022 01:10:35 -0400 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:45942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Frr-0007E4-9P for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 01:10:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655010625; bh=l1FO6WtJmloVeJj5NtnoVR+xCVu0n38G3NTFIB1Aua8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=QqxgNrmdo3QMsKqc6a/mSr4i6Qo6hToxovyvYu1Xw8GxtEDcnvxqqd4+EsMUk5Y9IAT0orKLc870tFKBxw5ctT3oUpOUFvLpWMgvDJyKY4ZIRXN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tzq8IBgn6bWIz7dY3z7UcOk81wv4GbzwrAZc Skzvm0OAADI9oSgY7RnkvObeHaDqspJlNf8WuzRJYU91Q_cKkz8e.nBtgpIgf8LNP32rh60B2UKB SWuC5Nv1GhJd6RMGCqEwGP1evNiVddfNe9MrwRweRM9djcsux2LwC4cXg8rPnDFJ0L8idbHofP8k hAK18Re2xFtCBtPrgU80xu_ZFP2EzSFIfkw2jHl_iYoqxJpcdyAoqJjPVlDzxnEmues4mE02_Ys3 g_R02PPbmx5Ao42hL8eY8zlpww6_cg812YrPVshdmzi3N1dh_ue.mlXXDD8rz1XhY5e7R89bVteV Yrr3dXT67yFUalzImU7T1VuUWZAzuPIWG1fv7Kt8.XROc_lmaVKlWT1bzJZXj6MkPeMIbpTEEt1H 8ej75MQ4TvdubsPr5O_.smIWORjS7pTK3ojuLZD92tidalKR.gsdm61N_sf41e6K7WhyLlS52oky 34VIQaOlmiqEjQlDjb7y4tOdIKshVojKWYlvPY7p0V X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sun, 12 Jun 2022 05:10:25 +0000 Original-Received: by hermes--canary-production-sg3-5f7658c994-7rkj7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 56679372e848316b28bd40eea18ebea7; Sun, 12 Jun 2022 05:10:22 +0000 (UTC) In-Reply-To: <87img65htu.fsf@smoon.bkoty.ru> (Vladimir Lomov's message of "Fri, 05 Jun 2020 11:09:49 +0800") X-Mailer: WebService/1.1.20280 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:234317 Archived-At: 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.