From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 04 23:10:05 2020 Received: (at submit) by debbugs.gnu.org; 5 Jun 2020 03:10:05 +0000 Received: from localhost ([127.0.0.1]:47997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jh2k8-00030G-Dl for submit@debbugs.gnu.org; Thu, 04 Jun 2020 23:10:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:52044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jh2k5-0002zj-3h for submit@debbugs.gnu.org; Thu, 04 Jun 2020 23:10:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh2k4-0006Ca-RZ for bug-gnu-emacs@gnu.org; Thu, 04 Jun 2020 23:10:00 -0400 Received: from forward106p.mail.yandex.net ([77.88.28.109]:34664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh2k1-0003yB-Gc for bug-gnu-emacs@gnu.org; Thu, 04 Jun 2020 23:09:59 -0400 Received: from mxback29g.mail.yandex.net (mxback29g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:329]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 103C81C802AC for ; Fri, 5 Jun 2020 06:09:51 +0300 (MSK) Received: from iva8-174eb672ffa9.qloud-c.yandex.net (iva8-174eb672ffa9.qloud-c.yandex.net [2a02:6b8:c0c:b995:0:640:174e:b672]) by mxback29g.mail.yandex.net (mxback/Yandex) with ESMTP id uzm2uHFee7-9opq1Os1; Fri, 05 Jun 2020 06:09:51 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1591326591; bh=A1bOPXg7w+m3gTYERP4lgtRW15oJVIqIFb6mqYvpyLM=; h=Subject:To:From:Date:Message-ID; b=ulap+7H48S7YgdH4YWp60ip6So7KYl9O1oO319pIEstBZIrN6onwFwzt5L/Sg5u00 GsUFkQgXY6EksIVDlr2BaSGqaEfbzvTOQlhK914RxGy6LQiRmWHnpmDQrxHMjf2crX o2H5/iJ1hHANiKuZZ7hAnVkLc52N3DrQ/8qTEzz4= Authentication-Results: mxback29g.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by iva8-174eb672ffa9.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id xk9kUSaCMp-9oW0oXog; Fri, 05 Jun 2020 06:09:50 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Received: by smoon.bkoty.ru (Postfix, from userid 1000) id 49dSLP0K3lz3hj68; Fri, 5 Jun 2020 11:09:49 +0800 (+08) From: Vladimir Lomov To: bug-gnu-emacs@gnu.org Subject: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Date: Fri, 05 Jun 2020 11:09:49 +0800 Message-ID: <87img65htu.fsf@smoon.bkoty.ru> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=77.88.28.109; envelope-from=lomov.vl@yandex.ru; helo=forward106p.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/04 23:09:51 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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. In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.17.3) of 2020-06-04 built on node2-smoon7.bkoty.ru Repository revision: 638ef457876c14b9d713e2fa991f5db3ad53c4f9 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Arch Linux Recent messages: Entering debugger... Back to top level Entering debugger... Back to top level Entering debugger... Back to top level When done with this frame, type C-x 5 0 kill-line: End of buffer When done with this frame, type C-x 5 0 [2 times] Making completion list... Configured using: 'configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --with-x-toolkit=gtk3 --with-cairo --with-xft --with-modules --with-xml2 --enable-link-time-optimization --without-imagemagick --without-gconf 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CPPFLAGS=-D_FORTIFY_SOURCE=2' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER LCMS2 GMP Important settings: value of $LC_COLLATE: en_US.UTF-8 value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: recentf-mode: t pdf-occur-global-minor-mode: t shell-dirtrack-mode: t global-undo-tree-mode: t show-paren-mode: t savehist-mode: t ido-everywhere: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /usr/share/emacs/site-lisp/org/ox hides /usr/share/emacs/28.0.50/lisp/org/ox /usr/share/emacs/site-lisp/org/ox-texinfo hides /usr/share/emacs/28.0.50/lisp/org/ox-texinfo /usr/share/emacs/site-lisp/org/ox-publish hides /usr/share/emacs/28.0.50/lisp/org/ox-publish /usr/share/emacs/site-lisp/org/ox-org hides /usr/share/emacs/28.0.50/lisp/org/ox-org /usr/share/emacs/site-lisp/org/ox-odt hides /usr/share/emacs/28.0.50/lisp/org/ox-odt /usr/share/emacs/site-lisp/org/ox-md hides /usr/share/emacs/28.0.50/lisp/org/ox-md /usr/share/emacs/site-lisp/org/ox-man hides /usr/share/emacs/28.0.50/lisp/org/ox-man /usr/share/emacs/site-lisp/org/ox-latex hides /usr/share/emacs/28.0.50/lisp/org/ox-latex /usr/share/emacs/site-lisp/org/ox-icalendar hides /usr/share/emacs/28.0.50/lisp/org/ox-icalendar /usr/share/emacs/site-lisp/org/ox-html hides /usr/share/emacs/28.0.50/lisp/org/ox-html /usr/share/emacs/site-lisp/org/ox-beamer hides /usr/share/emacs/28.0.50/lisp/org/ox-beamer /usr/share/emacs/site-lisp/org/ox-ascii hides /usr/share/emacs/28.0.50/lisp/org/ox-ascii /usr/share/emacs/site-lisp/org/org hides /usr/share/emacs/28.0.50/lisp/org/org /usr/share/emacs/site-lisp/org/org-version hides /usr/share/emacs/28.0.50/lisp/org/org-version /usr/share/emacs/site-lisp/org/org-timer hides /usr/share/emacs/28.0.50/lisp/org/org-timer /usr/share/emacs/site-lisp/org/org-tempo hides /usr/share/emacs/28.0.50/lisp/org/org-tempo /usr/share/emacs/site-lisp/org/org-table hides /usr/share/emacs/28.0.50/lisp/org/org-table /usr/share/emacs/site-lisp/org/org-src hides /usr/share/emacs/28.0.50/lisp/org/org-src /usr/share/emacs/site-lisp/org/org-protocol hides /usr/share/emacs/28.0.50/lisp/org/org-protocol /usr/share/emacs/site-lisp/org/org-plot hides /usr/share/emacs/28.0.50/lisp/org/org-plot /usr/share/emacs/site-lisp/org/org-pcomplete hides /usr/share/emacs/28.0.50/lisp/org/org-pcomplete /usr/share/emacs/site-lisp/org/org-num hides /usr/share/emacs/28.0.50/lisp/org/org-num /usr/share/emacs/site-lisp/org/org-mouse hides /usr/share/emacs/28.0.50/lisp/org/org-mouse /usr/share/emacs/site-lisp/org/org-mobile hides /usr/share/emacs/28.0.50/lisp/org/org-mobile /usr/share/emacs/site-lisp/org/org-macs hides /usr/share/emacs/28.0.50/lisp/org/org-macs /usr/share/emacs/site-lisp/org/org-macro hides /usr/share/emacs/28.0.50/lisp/org/org-macro /usr/share/emacs/site-lisp/org/org-loaddefs hides /usr/share/emacs/28.0.50/lisp/org/org-loaddefs /usr/share/emacs/site-lisp/org/org-list hides /usr/share/emacs/28.0.50/lisp/org/org-list /usr/share/emacs/site-lisp/org/org-lint hides /usr/share/emacs/28.0.50/lisp/org/org-lint /usr/share/emacs/site-lisp/org/org-keys hides /usr/share/emacs/28.0.50/lisp/org/org-keys /usr/share/emacs/site-lisp/org/org-install hides /usr/share/emacs/28.0.50/lisp/org/org-install /usr/share/emacs/site-lisp/org/org-inlinetask hides /usr/share/emacs/28.0.50/lisp/org/org-inlinetask /usr/share/emacs/site-lisp/org/org-indent hides /usr/share/emacs/28.0.50/lisp/org/org-indent /usr/share/emacs/site-lisp/org/org-id hides /usr/share/emacs/28.0.50/lisp/org/org-id /usr/share/emacs/site-lisp/org/org-habit hides /usr/share/emacs/28.0.50/lisp/org/org-habit /usr/share/emacs/site-lisp/org/org-goto hides /usr/share/emacs/28.0.50/lisp/org/org-goto /usr/share/emacs/site-lisp/org/org-footnote hides /usr/share/emacs/28.0.50/lisp/org/org-footnote /usr/share/emacs/site-lisp/org/org-feed hides /usr/share/emacs/28.0.50/lisp/org/org-feed /usr/share/emacs/site-lisp/org/org-faces hides /usr/share/emacs/28.0.50/lisp/org/org-faces /usr/share/emacs/site-lisp/org/org-entities hides /usr/share/emacs/28.0.50/lisp/org/org-entities /usr/share/emacs/site-lisp/org/org-element hides /usr/share/emacs/28.0.50/lisp/org/org-element /usr/share/emacs/site-lisp/org/org-duration hides /usr/share/emacs/28.0.50/lisp/org/org-duration /usr/share/emacs/site-lisp/org/org-datetree hides /usr/share/emacs/28.0.50/lisp/org/org-datetree /usr/share/emacs/site-lisp/org/org-ctags hides /usr/share/emacs/28.0.50/lisp/org/org-ctags /usr/share/emacs/site-lisp/org/org-crypt hides /usr/share/emacs/28.0.50/lisp/org/org-crypt /usr/share/emacs/site-lisp/org/org-compat hides /usr/share/emacs/28.0.50/lisp/org/org-compat /usr/share/emacs/site-lisp/org/org-colview hides /usr/share/emacs/28.0.50/lisp/org/org-colview /usr/share/emacs/site-lisp/org/org-clock hides /usr/share/emacs/28.0.50/lisp/org/org-clock /usr/share/emacs/site-lisp/org/org-capture hides /usr/share/emacs/28.0.50/lisp/org/org-capture /usr/share/emacs/site-lisp/org/org-attach hides /usr/share/emacs/28.0.50/lisp/org/org-attach /usr/share/emacs/site-lisp/org/org-attach-git hides /usr/share/emacs/28.0.50/lisp/org/org-attach-git /usr/share/emacs/site-lisp/org/org-archive hides /usr/share/emacs/28.0.50/lisp/org/org-archive /usr/share/emacs/site-lisp/org/org-agenda hides /usr/share/emacs/28.0.50/lisp/org/org-agenda /usr/share/emacs/site-lisp/org/ol hides /usr/share/emacs/28.0.50/lisp/org/ol /usr/share/emacs/site-lisp/org/ol-w3m hides /usr/share/emacs/28.0.50/lisp/org/ol-w3m /usr/share/emacs/site-lisp/org/ol-rmail hides /usr/share/emacs/28.0.50/lisp/org/ol-rmail /usr/share/emacs/site-lisp/org/ol-mhe hides /usr/share/emacs/28.0.50/lisp/org/ol-mhe /usr/share/emacs/site-lisp/org/ol-irc hides /usr/share/emacs/28.0.50/lisp/org/ol-irc /usr/share/emacs/site-lisp/org/ol-info hides /usr/share/emacs/28.0.50/lisp/org/ol-info /usr/share/emacs/site-lisp/org/ol-gnus hides /usr/share/emacs/28.0.50/lisp/org/ol-gnus /usr/share/emacs/site-lisp/org/ol-eww hides /usr/share/emacs/28.0.50/lisp/org/ol-eww /usr/share/emacs/site-lisp/org/ol-eshell hides /usr/share/emacs/28.0.50/lisp/org/ol-eshell /usr/share/emacs/site-lisp/org/ol-docview hides /usr/share/emacs/28.0.50/lisp/org/ol-docview /usr/share/emacs/site-lisp/org/ol-bibtex hides /usr/share/emacs/28.0.50/lisp/org/ol-bibtex /usr/share/emacs/site-lisp/org/ol-bbdb hides /usr/share/emacs/28.0.50/lisp/org/ol-bbdb /usr/share/emacs/site-lisp/org/ob hides /usr/share/emacs/28.0.50/lisp/org/ob /usr/share/emacs/site-lisp/org/ob-vala hides /usr/share/emacs/28.0.50/lisp/org/ob-vala /usr/share/emacs/site-lisp/org/ob-tangle hides /usr/share/emacs/28.0.50/lisp/org/ob-tangle /usr/share/emacs/site-lisp/org/ob-table hides /usr/share/emacs/28.0.50/lisp/org/ob-table /usr/share/emacs/site-lisp/org/ob-stan hides /usr/share/emacs/28.0.50/lisp/org/ob-stan /usr/share/emacs/site-lisp/org/ob-sqlite hides /usr/share/emacs/28.0.50/lisp/org/ob-sqlite /usr/share/emacs/site-lisp/org/ob-sql hides /usr/share/emacs/28.0.50/lisp/org/ob-sql /usr/share/emacs/site-lisp/org/ob-shen hides /usr/share/emacs/28.0.50/lisp/org/ob-shen /usr/share/emacs/site-lisp/org/ob-shell hides /usr/share/emacs/28.0.50/lisp/org/ob-shell /usr/share/emacs/site-lisp/org/ob-sed hides /usr/share/emacs/28.0.50/lisp/org/ob-sed /usr/share/emacs/site-lisp/org/ob-screen hides /usr/share/emacs/28.0.50/lisp/org/ob-screen /usr/share/emacs/site-lisp/org/ob-scheme hides /usr/share/emacs/28.0.50/lisp/org/ob-scheme /usr/share/emacs/site-lisp/org/ob-sass hides /usr/share/emacs/28.0.50/lisp/org/ob-sass /usr/share/emacs/site-lisp/org/ob-ruby hides /usr/share/emacs/28.0.50/lisp/org/ob-ruby /usr/share/emacs/site-lisp/org/ob-ref hides /usr/share/emacs/28.0.50/lisp/org/ob-ref /usr/share/emacs/site-lisp/org/ob-python hides /usr/share/emacs/28.0.50/lisp/org/ob-python /usr/share/emacs/site-lisp/org/ob-processing hides /usr/share/emacs/28.0.50/lisp/org/ob-processing /usr/share/emacs/site-lisp/org/ob-plantuml hides /usr/share/emacs/28.0.50/lisp/org/ob-plantuml /usr/share/emacs/site-lisp/org/ob-picolisp hides /usr/share/emacs/28.0.50/lisp/org/ob-picolisp /usr/share/emacs/site-lisp/org/ob-perl hides /usr/share/emacs/28.0.50/lisp/org/ob-perl /usr/share/emacs/site-lisp/org/ob-org hides /usr/share/emacs/28.0.50/lisp/org/ob-org /usr/share/emacs/site-lisp/org/ob-octave hides /usr/share/emacs/28.0.50/lisp/org/ob-octave /usr/share/emacs/site-lisp/org/ob-ocaml hides /usr/share/emacs/28.0.50/lisp/org/ob-ocaml /usr/share/emacs/site-lisp/org/ob-mscgen hides /usr/share/emacs/28.0.50/lisp/org/ob-mscgen /usr/share/emacs/site-lisp/org/ob-maxima hides /usr/share/emacs/28.0.50/lisp/org/ob-maxima /usr/share/emacs/site-lisp/org/ob-matlab hides /usr/share/emacs/28.0.50/lisp/org/ob-matlab /usr/share/emacs/site-lisp/org/ob-makefile hides /usr/share/emacs/28.0.50/lisp/org/ob-makefile /usr/share/emacs/site-lisp/org/ob-lua hides /usr/share/emacs/28.0.50/lisp/org/ob-lua /usr/share/emacs/site-lisp/org/ob-lob hides /usr/share/emacs/28.0.50/lisp/org/ob-lob /usr/share/emacs/site-lisp/org/ob-lisp hides /usr/share/emacs/28.0.50/lisp/org/ob-lisp /usr/share/emacs/site-lisp/org/ob-lilypond hides /usr/share/emacs/28.0.50/lisp/org/ob-lilypond /usr/share/emacs/site-lisp/org/ob-ledger hides /usr/share/emacs/28.0.50/lisp/org/ob-ledger /usr/share/emacs/site-lisp/org/ob-latex hides /usr/share/emacs/28.0.50/lisp/org/ob-latex /usr/share/emacs/site-lisp/org/ob-js hides /usr/share/emacs/28.0.50/lisp/org/ob-js /usr/share/emacs/site-lisp/org/ob-java hides /usr/share/emacs/28.0.50/lisp/org/ob-java /usr/share/emacs/site-lisp/org/ob-io hides /usr/share/emacs/28.0.50/lisp/org/ob-io /usr/share/emacs/site-lisp/org/ob-hledger hides /usr/share/emacs/28.0.50/lisp/org/ob-hledger /usr/share/emacs/site-lisp/org/ob-haskell hides /usr/share/emacs/28.0.50/lisp/org/ob-haskell /usr/share/emacs/site-lisp/org/ob-groovy hides /usr/share/emacs/28.0.50/lisp/org/ob-groovy /usr/share/emacs/site-lisp/org/ob-gnuplot hides /usr/share/emacs/28.0.50/lisp/org/ob-gnuplot /usr/share/emacs/site-lisp/org/ob-fortran hides /usr/share/emacs/28.0.50/lisp/org/ob-fortran /usr/share/emacs/site-lisp/org/ob-forth hides /usr/share/emacs/28.0.50/lisp/org/ob-forth /usr/share/emacs/site-lisp/org/ob-exp hides /usr/share/emacs/28.0.50/lisp/org/ob-exp /usr/share/emacs/site-lisp/org/ob-eval hides /usr/share/emacs/28.0.50/lisp/org/ob-eval /usr/share/emacs/site-lisp/org/ob-eshell hides /usr/share/emacs/28.0.50/lisp/org/ob-eshell /usr/share/emacs/site-lisp/org/ob-emacs-lisp hides /usr/share/emacs/28.0.50/lisp/org/ob-emacs-lisp /usr/share/emacs/site-lisp/org/ob-ebnf hides /usr/share/emacs/28.0.50/lisp/org/ob-ebnf /usr/share/emacs/site-lisp/org/ob-dot hides /usr/share/emacs/28.0.50/lisp/org/ob-dot /usr/share/emacs/site-lisp/org/ob-ditaa hides /usr/share/emacs/28.0.50/lisp/org/ob-ditaa /usr/share/emacs/site-lisp/org/ob-css hides /usr/share/emacs/28.0.50/lisp/org/ob-css /usr/share/emacs/site-lisp/org/ob-core hides /usr/share/emacs/28.0.50/lisp/org/ob-core /usr/share/emacs/site-lisp/org/ob-coq hides /usr/share/emacs/28.0.50/lisp/org/ob-coq /usr/share/emacs/site-lisp/org/ob-comint hides /usr/share/emacs/28.0.50/lisp/org/ob-comint /usr/share/emacs/site-lisp/org/ob-clojure hides /usr/share/emacs/28.0.50/lisp/org/ob-clojure /usr/share/emacs/site-lisp/org/ob-calc hides /usr/share/emacs/28.0.50/lisp/org/ob-calc /usr/share/emacs/site-lisp/org/ob-awk hides /usr/share/emacs/28.0.50/lisp/org/ob-awk /usr/share/emacs/site-lisp/org/ob-asymptote hides /usr/share/emacs/28.0.50/lisp/org/ob-asymptote /usr/share/emacs/site-lisp/org/ob-abc hides /usr/share/emacs/28.0.50/lisp/org/ob-abc /usr/share/emacs/site-lisp/org/ob-R hides /usr/share/emacs/28.0.50/lisp/org/ob-R /usr/share/emacs/site-lisp/org/ob-J hides /usr/share/emacs/28.0.50/lisp/org/ob-J /usr/share/emacs/site-lisp/org/ob-C hides /usr/share/emacs/28.0.50/lisp/org/ob-C Features: (shadow sort spook cookie1 mail-extr emacsbug message rmc rfc822 mml mml-sec epa epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail recentf tree-widget help-fns radix-tree cl-print debug backtrace mhtml-mode css-mode eww mm-url url-queue shr puny svg xml color js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode dom htmlize ox-org ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-html table ox-ascii ox-publish ox sh-script smie executable rx vc-git diff-mode cl-extra org-protocol ol-info org-id org-habit ol-docview doc-view ol-bibtex bibtex ol-bbdb ffap thingatpt server calfw-ical url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap icalendar diary-lib diary-loaddefs calfw-org org-capture org-element avl-tree generator org-agenda org-refile calfw holidays hol-loaddefs cl auto-loads tex-site pdf-sync pdf-outline pdf-occur ibuf-ext ibuffer ibuffer-loaddefs pdf-links pdf-isearch let-alist pdf-history pdf-annot tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-shell shell pcomplete ob-R ob-perl ob-asymptote ob-gnuplot ob ob-tangle org-src ob-ref ob-lob ob-table ob-exp ob-comint ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs pdf-misc imenu pdf-tools package browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs json map url-vars compile comint ansi-color cus-edit pdf-view password-cache jka-compr pdf-cache pdf-info tq pdf-util dired+ image-dired image-mode exif format-spec image-file dired-aux bookmark+ bookmark+-key easy-mmode derived dired-x dired dired-loaddefs bookmark+-1 bookmark+-bmu bookmark+-lit bookmark pp advice undo-tree diff ace-window avy ring company edmacro kmacro pcase quail help-mode easymenu paren savehist ido gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mail-utils mm-util mail-prsvr wid-edit cl-loaddefs cl-lib time cus-start cus-load cyril-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 339893 26002) (symbols 48 35688 2) (strings 32 120824 5563) (string-bytes 1 3997014) (vectors 16 59972) (vector-slots 8 1396971 132706) (floats 8 306 136) (intervals 56 669 185) (buffers 992 18)) -- WBR, Vladimir Lomov Content: 80% POLYESTER, 20% DACRONi ... The waitress's UNIFORM sheds TARTAR SAUCE like an 8" by 10" GLOSSY ... Hamas H.N.P. National laboratory Cartel sweep Homeland security Cohiba Hugo Chavez SGDN Colombia market Magnitude Rapid Reaction SGI warfare -- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 05 07:14:21 2020 Received: (at 41719) by debbugs.gnu.org; 5 Jun 2020 11:14:21 +0000 Received: from localhost ([127.0.0.1]:48400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhAIn-0006et-7Q for submit@debbugs.gnu.org; Fri, 05 Jun 2020 07:14:21 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:54951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhAIl-0006eg-KP for 41719@debbugs.gnu.org; Fri, 05 Jun 2020 07:14:20 -0400 Received: by mail-wm1-f48.google.com with SMTP id g10so8065877wmh.4 for <41719@debbugs.gnu.org>; Fri, 05 Jun 2020 04:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=R7+nqu8pMPNDsMuTlfkmM/J74NQP/R5LkfIZtDyu/zo=; b=BYQm5gdUcnE6JS1Efamr/1G2T6p+4dP6lddSDMZIoE8q+pHgnHxvEoIfFas1N9jrTE PJryK3QhyP4EBFyaUnjoQVokI1/HDn4jh/8+iIUqDmLAU3Koi/JKhVhaTan5ZjJTalJK lFiCarnBWJLCWaZUTbGABHr7joHIgnGV59pzDPrYZ4lLH9+vc4mJldVLqmHdiLzIMC9A WyvgNCC1k4ycYYVwv+2ZVYZSbOCFAG+cKRwyYhX5txr2tkZCOrWx70UBnyvxKsP4leKc WG+T55jKgx/ExKUtXq5B6j3WIgrjRhlgR2MmGSYZTf2mI2F5RhBn8vc/QJgaSC4UVC5g RdGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=R7+nqu8pMPNDsMuTlfkmM/J74NQP/R5LkfIZtDyu/zo=; b=fv0QIVtDnT7FzLgQMa9bZdxelEmozr/u/HDXbimvjgIicInV/O3qP8e7THGj77xnqw ZnJIJlqYY2pa0ZOxTTnuZ7SOZ9+m6f/XmbQrw3Io5SmnE1sYyBJmP69TwSjIjMtMOjo9 A7kcO2AJQPVr928sYiyrju2xgRTd39vOsvWZGsjXy9gT/LUHjn5qC6iAsv7HulE/DZQl pMYa8gyzaXc/oz0rHBO02oF1dHQJm8HWCk03JnFFX9TYyLTuStSRkk2zzTX+ebnYboPf xauIMceATjjwydkEtOMcbjYROraVVLnAJFlBaLSxatyWAb3DC/j26RNiJG0CgJ3CHAms t/Xw== X-Gm-Message-State: AOAM533PGoN1e8VrFAqpCq8SsThyNRdhFup62pWFxmb+8r6F9CxIY1m6 +S1BIFh0hlQ94vrT8CsZVfzpow== X-Google-Smtp-Source: ABdhPJzPSOtjZuyfFHreM8z3Fuq25Im3CjLepvqybvgo6I1RuIaTcKmVgsg+BTlQgOr8wNECu8GOmA== X-Received: by 2002:a7b:c005:: with SMTP id c5mr2191957wmb.22.1591355653620; Fri, 05 Jun 2020 04:14:13 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id o10sm11880467wrj.37.2020.06.05.04.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 04:14:12 -0700 (PDT) From: "Basil L. Contovounesios" To: Vladimir Lomov Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> Date: Fri, 05 Jun 2020 12:14:11 +0100 In-Reply-To: <87img65htu.fsf@smoon.bkoty.ru> (Vladimir Lomov's message of "Fri, 05 Jun 2020 11:09:49 +0800") Message-ID: <87sgf9hiik.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. Sorry if I misunderstood, but are you looking for emacsclient's --socket-name=NAME argument? This can be the same NAME passed as the --daemon=NAME argument to emacs. -- Basil From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 05 12:53:50 2020 Received: (at 41719) by debbugs.gnu.org; 5 Jun 2020 16:53:50 +0000 Received: from localhost ([127.0.0.1]:49750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhFbK-0002Tb-7v for submit@debbugs.gnu.org; Fri, 05 Jun 2020 12:53:50 -0400 Received: from forward100p.mail.yandex.net ([77.88.28.100]:58585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhFbI-0002TJ-0o for 41719@debbugs.gnu.org; Fri, 05 Jun 2020 12:53:49 -0400 Received: from forward101q.mail.yandex.net (forward101q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb98]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 8C35F598146E; Fri, 5 Jun 2020 19:53:40 +0300 (MSK) Received: from mxback8q.mail.yandex.net (mxback8q.mail.yandex.net [IPv6:2a02:6b8:c0e:42:0:640:b38f:32ec]) by forward101q.mail.yandex.net (Yandex) with ESMTP id 87448CF40009; Fri, 5 Jun 2020 19:53:40 +0300 (MSK) Received: from vla3-3dd1bd6927b2.qloud-c.yandex.net (vla3-3dd1bd6927b2.qloud-c.yandex.net [2a02:6b8:c15:350f:0:640:3dd1:bd69]) by mxback8q.mail.yandex.net (mxback/Yandex) with ESMTP id g6SuFzlXIX-recqauKW; Fri, 05 Jun 2020 19:53:40 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1591376020; bh=fqJezKUtJIhEi8u2Vj+3ZWN1EAULKlEwKZ9NyZIxciE=; h=In-Reply-To:Subject:Cc:To:From:References:Date:Message-ID; b=gn0yVcpYXXZAVPTJVdnNMEZDbWWT+AXVCUs08yWKdgjkJfO+X9gfjfo/hX7qvuPYr kH0QFVCB+EDChGEEUGGIQgO+aWMrV8DQ/PjGp1CmNNe1MzKt3Ed7WN6eaWg+APfmVz AKZIO6fNS18mxBd014iAmDP7NBdRug/eM+L00IFk= Authentication-Results: mxback8q.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla3-3dd1bd6927b2.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id sfbmO2tnwi-rdWOPpY1; Fri, 05 Jun 2020 19:53:39 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Received: by smoon.bkoty.ru (Postfix, from userid 1000) id 49dpcy6MJ3z3hj25; Sat, 6 Jun 2020 00:53:38 +0800 (+08) Date: Sat, 6 Jun 2020 00:53:38 +0800 From: Vladimir Lomov To: "Basil L. Contovounesios" Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Message-ID: <20200605165338.GB846@smoon.bkoty.ru> References: <87img65htu.fsf@smoon.bkoty.ru> <87sgf9hiik.fsf@tcd.ie> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="neYutvxvOLaeuPCA" Content-Disposition: inline In-Reply-To: <87sgf9hiik.fsf@tcd.ie> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --neYutvxvOLaeuPCA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, ** Basil L. Contovounesios [2020-06-05 12:14:11 +0100]: > 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=3D...') 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. > Sorry if I misunderstood, Yes, seems so. > but are you looking for emacsclient's --socket-name=3DNAME argument? =46rom emacsclient(1) -s, --socket-name=3DFILENAME use socket named FILENAME for communication. This can also be specified via the EMACS_SOCKET_NAME environment variable. > This can be the same NAME passed as the --daemon=3DNAME argument to emacs. =46rom emacs(1) --daemon[=3Dname], --bg-daemon[=3Dname] Start Emacs as a daemon, enabling the Emacs server and disconnecting from the terminal. You can then use the emacsclient (see emacsclient(1)) command to connect to the server (with optional nam= e). So if I use >> $ emacsclient -s /run/user/1000/emacs-default -F '((name . "default") = (title . "USER@HOST"))' then I use socket it means I use '--daemon' for emacs. Indeed I use socket activation provided by systemd. =46rom emacs(1) --name=3Dname Specify the name which should be assigned to the initial Emacs wind= ow. This controls looking up X resources as well as the window title. -T name, --title=3Dname Specify the title for the initial X window. When Emacs is run by just running 'emacs' and querying X properties $ xprop | grep 'WM_CLASS\|WM_NAME\|WM_ICON_NAME' one gets WM_CLASS(STRING) =3D "emacs", "Emacs" WM_ICON_NAME(STRING) =3D "emacs@smoon.bkoty.ru" _NET_WM_ICON_NAME(UTF8_STRING) =3D "emacs@smoon.bkoty.ru" WM_NAME(STRING) =3D "emacs@smoon.bkoty.ru" _NET_WM_NAME(UTF8_STRING) =3D "emacs@smoon.bkoty.ru" While running Emacs by $ emacs --name default --title USER@HOST one gets WM_CLASS(STRING) =3D "default", "Emacs" WM_ICON_NAME(STRING) =3D "default" _NET_WM_ICON_NAME(UTF8_STRING) =3D "USER@HOST" WM_NAME(STRING) =3D "USER@HOST" _NET_WM_NAME(UTF8_STRING) =3D "USER@HOST" In other words, emacs has option to set instance name (first string of WM_CLASS value) and set window title. On the other hand emacsclient doesn't have such option so it is (seem) impossible to set 'instance'. I wonder why= it doesn't have such options. I read Emacs and Emacs Lisp manuals about frame parameters but don't get if= it is possible to set instance (and possibly name) using frame parameters. I tried to use -F option but don't get desired result. --- Vladimir Lomov --=20 Natural laws have no pity. --neYutvxvOLaeuPCA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQaopaKwcQWyz7yQfAHGfInzJc4BQUCXtp4hgAKCRAHGfInzJc4 BYp3AP43WFOfUVpICWK38bqE6bc9nRzXzlng7Hf0i6BZLAGWqAD/fyEDPZYPld1F Ut8pWm1+4rUjOuO0CV3BY/lbZkJfLwE= =1ITm -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 06 08:36:20 2020 Received: (at 41719) by debbugs.gnu.org; 6 Jun 2020 12:36:20 +0000 Received: from localhost ([127.0.0.1]:51026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhY3g-0002aU-CE for submit@debbugs.gnu.org; Sat, 06 Jun 2020 08:36:20 -0400 Received: from relay-2.mailobj.net ([213.182.54.5]:45575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhY3e-0002aE-6E for 41719@debbugs.gnu.org; Sat, 06 Jun 2020 08:36:19 -0400 Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-2.mailobj.net (Postfix) with SMTP id 096D61309; Sat, 6 Jun 2020 14:36:12 +0200 (CEST) Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Sat, 6 Jun 2020 14:36:11 +0200 (CEST) X-EA-Auth: hD0EJF3xzBDO0nijYF40iPEnzQY49jji/Tyj5o030mJv1IJl6+SAzdE0fYw6ugri0iCXrihkSfONVFK3/xGW7vyv5G6AyeXN From: Dmitry Alexandrov To: Vladimir Lomov Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs In-Reply-To: <87img65htu.fsf@smoon.bkoty.ru> (Vladimir Lomov's message of "Fri, 05 Jun 2020 11:09:49 +0800") References: <87img65htu.fsf@smoon.bkoty.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sat, 06 Jun 2020 15:36:06 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Vladimir Lomov wrote: > I tried to use '-F' option of 'emacsclient' but I didn't get desire resul= t, WM_CLASS isn't changed, only WM_ICON_NAME. Works for me (Emacs 28, no toolkit). > It is possible that I do things wrong, > > $ emacsclient -s /run/user/1000/emacs-default -F '((name . "default") (= title . "USER@HOST"))' FWIW, this command does not necessary create a _new_ frame. Use =E2=80=98-= c=E2=80=99, =E2=80=98--create-frame=E2=80=99 to force it. > Even if it is possible to change the 'instance' of Emacs window created b= y 'emacsclient' using the '-F' option it would be nice to have more simple = way to achieve this. It would be nice to give some examples, how it can be useful. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXtuNtg0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/PnljgBAIF72/4FBmgmSREsodk7TKrChgWwrUBgIq3vT9sl dt0eAQDYsf7us0dalPZmwmaoR4wf+4jkWvbmvzZUSIanRPeCAg== =8dxv -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 06 10:52:34 2020 Received: (at 41719) by debbugs.gnu.org; 6 Jun 2020 14:52:34 +0000 Received: from localhost ([127.0.0.1]:52296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhaBW-00026W-9m for submit@debbugs.gnu.org; Sat, 06 Jun 2020 10:52:34 -0400 Received: from forward103j.mail.yandex.net ([5.45.198.246]:34964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhaBS-00026G-TF for 41719@debbugs.gnu.org; Sat, 06 Jun 2020 10:52:32 -0400 Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward103j.mail.yandex.net (Yandex) with ESMTP id 7A0BB67400D7; Sat, 6 Jun 2020 17:52:23 +0300 (MSK) Received: from mxback8q.mail.yandex.net (mxback8q.mail.yandex.net [IPv6:2a02:6b8:c0e:42:0:640:b38f:32ec]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 74F1261E0009; Sat, 6 Jun 2020 17:52:23 +0300 (MSK) Received: from vla3-4c649d03f525.qloud-c.yandex.net (vla3-4c649d03f525.qloud-c.yandex.net [2a02:6b8:c15:2584:0:640:4c64:9d03]) by mxback8q.mail.yandex.net (mxback/Yandex) with ESMTP id FKAGDcl9yj-qNcmFNJr; Sat, 06 Jun 2020 17:52:23 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1591455143; bh=keh1DBHY+oMp3tmSPMSLjt8rgDi8DhEnL10nRWXcGjg=; h=In-Reply-To:Subject:Cc:To:From:References:Date:Message-ID; b=gUBb0PCYSahzlyQGPqi3DSjZoPi4g6ODhIGvZoHF7oRtHdWkxRRDkYrBBVRWkuyRh PHWZKEq0QKpG51l6pf/WZjIlQs6YDnP5H3/yhsLvC75pEucuJAxrnk2wDZEsZAIDAf x55p2Cjqr396ad/v349Xw17WOr720Q4i1OQuDWu0= Authentication-Results: mxback8q.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla3-4c649d03f525.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id h3SHi0KVqL-qMXqYl9w; Sat, 06 Jun 2020 17:52:22 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Received: by smoon.bkoty.ru (Postfix, from userid 1000) id 49fMtY3DWqz3hj6H; Sat, 6 Jun 2020 22:52:21 +0800 (+08) Date: Sat, 6 Jun 2020 22:52:21 +0800 From: Vladimir Lomov To: Dmitry Alexandrov Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Message-ID: <20200606145221.GC846@smoon.bkoty.ru> References: <87img65htu.fsf@smoon.bkoty.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/e2eDi0V/xtL+Mc8" Content-Disposition: inline In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --/e2eDi0V/xtL+Mc8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, ** Dmitry Alexandrov [2020-06-06 15:36:06 +0300]: > Vladimir Lomov wrote: >> I tried to use '-F' option of 'emacsclient' but I didn't get desire resu= lt, >> WM_CLASS isn't changed, only WM_ICON_NAME. > Works for me (Emacs 28, no toolkit). Do you able to change WM_CLASS? >> It is possible that I do things wrong, >> >> $ emacsclient -s /run/user/1000/emacs-default -F '((name . "default") = (title . "USER@HOST"))' > FWIW, this command does not necessary create a _new_ frame. Use =E2=80= =98-c=E2=80=99, > =E2=80=98--create-frame=E2=80=99 to force it. My fault, I didn't added it in example but of course use it (without it emacsclient doesn't create window). Let me give more details what I did and what I get. 1. Run Emacs without parameters $ emacs $ xprop | grep 'WM_CLASS\|WM_NAME\|WM_ICON_NAME' WM_CLASS(STRING) =3D "emacs", "Emacs" WM_ICON_NAME(STRING) =3D "emacs@smoon.bkoty.ru" _NET_WM_ICON_NAME(UTF8_STRING) =3D "emacs@smoon.bkoty.ru" WM_NAME(STRING) =3D "emacs@smoon.bkoty.ru" _NET_WM_NAME(UTF8_STRING) =3D "emacs@smoon.bkoty.ru" 2. Run Emacs with parameters $ emacs --name default --title USER@HOST $ xprop | grep 'WM_CLASS\|WM_NAME\|WM_ICON_NAME' WM_CLASS(STRING) =3D "default", "Emacs" WM_ICON_NAME(STRING) =3D "default" _NET_WM_ICON_NAME(UTF8_STRING) =3D "USER@HOST" WM_NAME(STRING) =3D "USER@HOST" _NET_WM_NAME(UTF8_STRING) =3D "USER@HOST" 3. Run emacsclient (the socket is created by systemd, emacs started by service) $ emacsclient -s /run/user/1000/emacs-default -c $ xprop | grep 'WM_CLASS\|WM_NAME\|WM_ICON_NAME' WM_CLASS(STRING) =3D "emacs", "Emacs" WM_ICON_NAME(STRING) =3D "*scratch*" _NET_WM_ICON_NAME(UTF8_STRING) =3D "*scratch*" WM_NAME(STRING) =3D "*scratch*" _NET_WM_NAME(UTF8_STRING) =3D "*scratch*" But this time I already have openned Emacs windown. If I close it (C-x 5 0) and run emacsclient again I get WM_CLASS(STRING) =3D "emacs", "Emacs" WM_ICON_NAME(STRING) =3D "emacs@smoon.bkoty.ru" _NET_WM_ICON_NAME(UTF8_STRING) =3D "emacs@smoon.bkoty.ru" WM_NAME(STRING) =3D "emacs@smoon.bkoty.ru" _NET_WM_NAME(UTF8_STRING) =3D "emacs@smoon.bkoty.ru" 4. Run emacsclient with -F $ emacsclient -s /run/user/1000/emacs-default -c -F '((name . "default") (t= itle . "USER@HOST")) $ xprop | grep 'WM_CLASS\|WM_NAME\|WM_ICON_NAME' WM_CLASS(STRING) =3D "emacs", "Emacs" WM_ICON_NAME(STRING) =3D "default" _NET_WM_ICON_NAME(UTF8_STRING) =3D "USER@HOST" WM_NAME(STRING) =3D "USER@HOST" _NET_WM_NAME(UTF8_STRING) =3D "USER@HOST" This time I don't have openned Emacs window. If I run the same command when Emacs already has window (created by emacsclient) then I get WM_CLASS(STRING) =3D "emacs", "Emacs" WM_ICON_NAME(STRING) =3D "default" _NET_WM_ICON_NAME(UTF8_STRING) =3D "USER@HOST" WM_NAME(STRING) =3D "USER@HOST" _NET_WM_NAME(UTF8_STRING) =3D "USER@HOST" As one may see only emacs allows to set 'instance' (WM_CLASS, first string) with --name option. >> 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. > It would be nice to give some examples, how it can be useful. --- WBR, Vladimir Lomov --=20 If you marry a man who cheats on his wife, you'll be married to a man who cheats on his wife. -- Ann Landers --/e2eDi0V/xtL+Mc8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQaopaKwcQWyz7yQfAHGfInzJc4BQUCXtutjwAKCRAHGfInzJc4 BTkOAQCujqFzRsoRKE3NeT9xkv8MK7orflZ8+yrVrNARmmnHJgEAxfqu7moPL06C Tt7vOEIsYWgNn35W3SfyJaSKMv9tpQ8= =oN8F -----END PGP SIGNATURE----- --/e2eDi0V/xtL+Mc8-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 06 13:09:19 2020 Received: (at 41719) by debbugs.gnu.org; 6 Jun 2020 17:09:19 +0000 Received: from localhost ([127.0.0.1]:52368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhcJf-0005Lu-FW for submit@debbugs.gnu.org; Sat, 06 Jun 2020 13:09:19 -0400 Received: from relay-2.mailobj.net ([213.182.54.5]:49485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhcJc-0005LM-88 for 41719@debbugs.gnu.org; Sat, 06 Jun 2020 13:09:06 -0400 Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-2.mailobj.net (Postfix) with SMTP id 1286512A6; Sat, 6 Jun 2020 19:08:58 +0200 (CEST) Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Sat, 6 Jun 2020 19:08:57 +0200 (CEST) X-EA-Auth: 7Za7EARrhb2TYM3Bof0Wby4l2R53KckV50SfNfH2jDuVFUIDuhQ26HR3OciCJtnfsHNh06Y9xCeycEfYKvkAi/T+WUOyHB0I From: Dmitry Alexandrov To: Vladimir Lomov Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs In-Reply-To: <20200606145221.GC846@smoon.bkoty.ru> (Vladimir Lomov's message of "Sat, 6 Jun 2020 22:52:21 +0800") References: <87img65htu.fsf@smoon.bkoty.ru> <20200606145221.GC846@smoon.bkoty.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) OpenPGP: id=525F7E60AD812C2361752BB4C8B0F8548EE7F3E7; url=https://openpgpkey.gnui.org/.well-known/openpgpkey/gnui.org/hu/hr4k5tkxm6shwdc18su4bkm34w3dctjd Mail-Copies-To: always Date: Sat, 06 Jun 2020 20:08:56 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Vladimir Lomov wrote: > ** Dmitry Alexandrov [2020-06-06 15:36:06 +0300]: >> Vladimir Lomov wrote: > >>> I tried to use '-F' option of 'emacsclient' but I didn't get desire result, WM_CLASS isn't changed, only WM_ICON_NAME. > >> Works for me (Emacs 28, no toolkit). > > Do you able to change WM_CLASS? Yes. > 3. Run emacsclient (the socket is created by systemd, emacs started by service) That is with all your customizations. Try to reproduce it with $ emacs --quick --fg-daemon=test-wm-class --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXtvNqA0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/PnKLMA/1O+3lhcVdxJGK5GgCeP1ceMhmxDjlYNOJ8PBK2E 3PXzAP9comJosYJ13zwfpTAZ5PRg/K7rzuMjTkrdKiu8/CR6Bw== =1JK4 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 06 14:24:31 2020 Received: (at 41719) by debbugs.gnu.org; 6 Jun 2020 18:24:31 +0000 Received: from localhost ([127.0.0.1]:52434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhdUd-00078B-L6 for submit@debbugs.gnu.org; Sat, 06 Jun 2020 14:24:31 -0400 Received: from relay-1.mailobj.net ([213.182.54.6]:42005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhdUb-00077x-OH for 41719@debbugs.gnu.org; Sat, 06 Jun 2020 14:24:30 -0400 Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-1.mailobj.net (Postfix) with SMTP id 6840712A9; Sat, 6 Jun 2020 20:24:23 +0200 (CEST) Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Sat, 6 Jun 2020 20:24:23 +0200 (CEST) X-EA-Auth: 5eLkuBLoApWYcZ8mcFZcDMLgImfdzGkPfZFP3rHp28xLeKnK2AIlt0EV81/f6n5brKqk+rWBudfbSEcQ4O5otuXW/o0I0gBI From: Dmitry Alexandrov To: Vladimir Lomov Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs In-Reply-To: (Dmitry Alexandrov's message of "Sat, 06 Jun 2020 20:08:56 +0300") References: <87img65htu.fsf@smoon.bkoty.ru> <20200606145221.GC846@smoon.bkoty.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) OpenPGP: id=525F7E60AD812C2361752BB4C8B0F8548EE7F3E7; url=https://openpgpkey.gnui.org/.well-known/openpgpkey/gnui.org/hu/hr4k5tkxm6shwdc18su4bkm34w3dctjd Mail-Copies-To: always Date: Sat, 06 Jun 2020 21:24:22 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Control: retitle -1 28.0.50; emacsclient -c -F '((name . "NAME"))' is not r= espected --with-x-toolkit=3Dgtk3 Dmitry Alexandrov wrote: > Vladimir Lomov wrote: >> ** Dmitry Alexandrov [2020-06-06 15:36:06 +0300]: >>> Vladimir Lomov wrote: >> >>>> I tried to use '-F' option of 'emacsclient' but I didn't get desire re= sult, WM_CLASS isn't changed, only WM_ICON_NAME. >> >>> Works for me (Emacs 28, no toolkit). >> >> Do you able to change WM_CLASS? > > Yes. Okay, it=CA=BCs =E2=80=98no toolkit=E2=80=99 that seems to be determinant. = With GTK build I indeed can=CA=BCt. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXtvfVg0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/Pn7h0BAMs4bFcsKDyqniuQvVwWr52VA4xe8FJom7AkVrlh p9buAPwPZxlPOzxdzoMKA8xbQMkX6itFzFqwN1j7bLtvl7/aBw== =p7cx -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 06 14:27:55 2020 Received: (at control) by debbugs.gnu.org; 6 Jun 2020 18:27:55 +0000 Received: from localhost ([127.0.0.1]:52448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhdXv-0007Dh-2f for submit@debbugs.gnu.org; Sat, 06 Jun 2020 14:27:55 -0400 Received: from relay-1.mailobj.net ([213.182.54.6]:33542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhdXt-0007DV-Vm for control@debbugs.gnu.org; Sat, 06 Jun 2020 14:27:54 -0400 Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-1.mailobj.net (Postfix) with SMTP id 5167912B7 for ; Sat, 6 Jun 2020 20:27:48 +0200 (CEST) Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Sat, 6 Jun 2020 20:27:48 +0200 (CEST) X-EA-Auth: 4l5uDoECfuNA7raNJPZN9iyLHjfYz1HmVvef1fvkMuKw9gvlncuMu1js4ps6O41iJub9HiHl46t+BVOIngdecRxPwlWqZo6e From: Dmitry Alexandrov To: control@debbugs.gnu.org Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs In-Reply-To: (Dmitry Alexandrov's message of "Sat, 06 Jun 2020 21:24:22 +0300") References: <87img65htu.fsf@smoon.bkoty.ru> <20200606145221.GC846@smoon.bkoty.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) OpenPGP: id=525F7E60AD812C2361752BB4C8B0F8548EE7F3E7; url=https://openpgpkey.gnui.org/.well-known/openpgpkey/gnui.org/hu/hr4k5tkxm6shwdc18su4bkm34w3dctjd Mail-Copies-To: always Date: Sat, 06 Jun 2020 21:27:48 +0300 Message-ID: <7dwkvyl7.dag@gnui.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) retitle 41719 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3 From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 07 10:27:04 2020 Received: (at 41719) by debbugs.gnu.org; 7 Jun 2020 14:27:04 +0000 Received: from localhost ([127.0.0.1]:54583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhwGN-0005aV-UP for submit@debbugs.gnu.org; Sun, 07 Jun 2020 10:27:04 -0400 Received: from forward104p.mail.yandex.net ([77.88.28.107]:59391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhwGM-0005Zt-2B for 41719@debbugs.gnu.org; Sun, 07 Jun 2020 10:27:03 -0400 Received: from mxback25j.mail.yandex.net (mxback25j.mail.yandex.net [IPv6:2a02:6b8:0:1619::225]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 6E9AD4B00224; Sun, 7 Jun 2020 17:26:55 +0300 (MSK) Received: from sas2-ee0cb368bd51.qloud-c.yandex.net (sas2-ee0cb368bd51.qloud-c.yandex.net [2a02:6b8:c08:b7a3:0:640:ee0c:b368]) by mxback25j.mail.yandex.net (mxback/Yandex) with ESMTP id rYT1lQ7hAJ-QtOqW4u3; Sun, 07 Jun 2020 17:26:55 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1591540015; bh=zihF4gehoANohHVLa65mWAUTVgqbkcIW010fCXXEsmg=; h=In-Reply-To:Subject:Cc:To:From:References:Date:Message-ID; b=dK0VTq9gE9BVZ43Xj1eAxxCwrD3MujbijXcSWHX7nIeBemVyKAbLgYAFxMNeDHLnx yrsx8fBK5D8B+2xssUdStT056xzvVoZE15wkG/2Ly3HuLndDU6iSYL/dY2LFP2oGIm NFtbNVbOjJM894zcAe44vbKsaERWsL0Jzsrocj8M= Authentication-Results: mxback25j.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by sas2-ee0cb368bd51.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id T4HlYNca0d-QsWmWA8Z; Sun, 07 Jun 2020 17:26:54 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Received: by smoon.bkoty.ru (Postfix, from userid 1000) id 49fzGj0Ghmz3hhxd; Sun, 7 Jun 2020 22:26:53 +0800 (+08) Date: Sun, 7 Jun 2020 22:26:52 +0800 From: Vladimir Lomov To: Dmitry Alexandrov Subject: Re: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk328.0.50 (Was: [FR] emacsclient should provide '--name' option as emacs) Message-ID: <20200607142652.GF846@smoon.bkoty.ru> References: <87img65htu.fsf@smoon.bkoty.ru> <20200606145221.GC846@smoon.bkoty.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RMedoP2+Pr6Rq0N2" Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --RMedoP2+Pr6Rq0N2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, ** Dmitry Alexandrov [2020-06-06 21:24:22 +0300]: > Control: retitle -1 28.0.50; emacsclient -c -F '((name . "NAME"))' is not > respected --with-x-toolkit=3Dgtk3 > Dmitry Alexandrov wrote: >> Vladimir Lomov wrote: >>> ** Dmitry Alexandrov [2020-06-06 15:36:06 +0300]: >>>> Vladimir Lomov wrote: >>>>> I tried to use '-F' option of 'emacsclient' but I didn't get desire >>>>> result, WM_CLASS isn't changed, only WM_ICON_NAME. >>>> Works for me (Emacs 28, no toolkit). >>> Do you able to change WM_CLASS? I didn't notice that you write 'no toolkit', I didn't realize that. >> Yes. > Okay, it=CA=BCs =E2=80=98no toolkit=E2=80=99 that seems to be determinant= =2E With GTK build I indeed can=CA=BCt. So, emacsclient with -F should change 'instance' but when Emacs is build wi= th GTK/GTK3 emacs doesn't change it. Do I correctly understand this? Is it mean that this is a bug? --- WBR, Vladimir Lomov --=20 Remove me from this land of slaves, Where all are fools, and all are knaves, Where every knave and fool is bought, Yet kindly sells himself for nought; -- Jonathan Swift --RMedoP2+Pr6Rq0N2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQaopaKwcQWyz7yQfAHGfInzJc4BQUCXtz5LAAKCRAHGfInzJc4 BVVIAQD4IXXv55RvPpZJx41rb+1JyGT9zmm9RhVTd7eY+XE8oAD+I5ATkQ/QTKVS YcqJszLjP8Mfe/9vlhZSNBfr+w2fHg4= =RyX1 -----END PGP SIGNATURE----- --RMedoP2+Pr6Rq0N2-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 07 12:15:44 2020 Received: (at 41719) by debbugs.gnu.org; 7 Jun 2020 16:15:44 +0000 Received: from localhost ([127.0.0.1]:54760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhxxX-00026i-Vj for submit@debbugs.gnu.org; Sun, 07 Jun 2020 12:15:44 -0400 Received: from relay-1.mailobj.net ([213.182.54.6]:40958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhxxV-00026P-Is for 41719@debbugs.gnu.org; Sun, 07 Jun 2020 12:15:42 -0400 Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-1.mailobj.net (Postfix) with SMTP id 3EB581225; Sun, 7 Jun 2020 18:15:35 +0200 (CEST) Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Sun, 7 Jun 2020 18:15:35 +0200 (CEST) X-EA-Auth: B99YD5eFw4sfq7tl3t+utAeHIyOycCvpVSwVdibOp7k5dVUkUpUERkWo0Zywi0xGNUHUmHSNF5C5xVRROOztg+xt+nVJn6Pw From: Dmitry Alexandrov To: Vladimir Lomov Subject: Re: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3 In-Reply-To: <20200607142652.GF846@smoon.bkoty.ru> (Vladimir Lomov's message of "Sun, 7 Jun 2020 22:26:52 +0800") References: <87img65htu.fsf@smoon.bkoty.ru> <20200606145221.GC846@smoon.bkoty.ru> <20200607142652.GF846@smoon.bkoty.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) OpenPGP: id=525F7E60AD812C2361752BB4C8B0F8548EE7F3E7; url=https://openpgpkey.gnui.org/.well-known/openpgpkey/gnui.org/hu/hr4k5tkxm6shwdc18su4bkm34w3dctjd Mail-Copies-To: always Date: Sun, 07 Jun 2020 19:15:40 +0300 Message-ID: <8sgyua1f.dag@gnui.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Vladimir Lomov wrote: > So, emacsclient with -F (make-frame '((name . "NAME"))), actually. > should change 'instance' but when Emacs is build with GTK/GTK3 emacs does= n'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, is = a bug. It=CA=BCs not necessary a bug in Emacs, though. Maybe, besides dec= laring a ability to set a window class deprecated [1], GTK developers had a= ctually broken it. [1] : | gtk_window_set_wmclass has been deprecated since version 3.22 and should = not be used in newly-written code. | | Don=E2=80=99t use this function. It sets the X Window System =E2=80=9Ccla= ss=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. However, 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 allows the window manager to restore window posit= ions when loading a saved session. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXt0SrA0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/PnAMABAL2RECoI9G68Fj2gmElqXNc3CTsQp82GapfVsKaB DvBKAP0XyiAM/ipt8H4MHw7G4IsdJeqtShpYknGjt14VO1GtBQ== =enhN -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 09 03:13:07 2020 Received: (at 41719) by debbugs.gnu.org; 9 Jun 2020 07:13:07 +0000 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 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 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) 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 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) Received: by smoon.bkoty.ru (Postfix, from userid 1000) id 49h1Y14wnQz3hj4X; Tue, 9 Jun 2020 15:12:53 +0800 (+08) Date: Tue, 9 Jun 2020 15:12:53 +0800 From: Vladimir Lomov To: Dmitry Alexandrov Subject: Re: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3 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" Content-Disposition: inline In-Reply-To: <8sgyua1f.dag@gnui.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 10 02:17:32 2022 Received: (at 41719) by debbugs.gnu.org; 10 Feb 2022 07:17:33 +0000 Received: from localhost ([127.0.0.1]:53565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI3hs-0007MR-HY for submit@debbugs.gnu.org; Thu, 10 Feb 2022 02:17:32 -0500 Received: from quimby.gnus.org ([95.216.78.240]:44640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI3hq-0007HD-QC for 41719@debbugs.gnu.org; Thu, 10 Feb 2022 02:17:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ZeBBWQ74IjCZHcNuDGje6TGz9bKQbo6YJ2Es+GXbeng=; b=WvrdjLhtJllo0p/6PWb5WyeE+D ZGRtSDrCZQ3NX3wppi/NWJUwVLweiWgf/CsC7cIazPLyEpmNLBtp4UQo+UW7HCpTSJjrdGUbr1IGY O3A4iDjfYov8anPNVVogfhUM+2Bhy/Rt9KUyY7C9NyyADxakmjB+KSx4AjQV6F/mG+WQ=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nI3hg-0003oc-Jd; Thu, 10 Feb 2022 08:17:24 +0100 From: Lars Ingebrigtsen To: Dmitry Alexandrov Subject: Re: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3 References: <87img65htu.fsf@smoon.bkoty.ru> <20200606145221.GC846@smoon.bkoty.ru> X-Now-Playing: Ultra =?utf-8?Q?Nat=C3=A9's?= _Is It Love? Ultra =?utf-8?Q?Nat=C3=A9?= Best Remixes Volume 1_: "It's Over Now (Original Classic Mix)" Date: Thu, 10 Feb 2022 08:17:17 +0100 In-Reply-To: (Dmitry Alexandrov's message of "Sat, 06 Jun 2020 21:24:22 +0300") Message-ID: <87czjvdwci.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dmitry Alexandrov writes: > Okay, itʼs ‘no toolkit’ that seems to be determinant. With GTK build > I indeed canʼt. I'm unable to reproduce this on the current trunk (x86_64-pc-linux-gnu, GTK+ Version 3.24.31, Debian/bookworm). Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41719 Cc: Vladimir Lomov , 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Dmitry Alexandrov writes: > Okay, it=CA=BCs =E2=80=98no toolkit=E2=80=99 that seems to be determinant= . With GTK build > I indeed can=CA=BCt. I'm unable to reproduce this on the current trunk (x86_64-pc-linux-gnu, GTK+ Version 3.24.31, Debian/bookworm). Do you still see this issue on the current trunk? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 10 02:17:40 2022 Received: (at control) by debbugs.gnu.org; 10 Feb 2022 07:17:40 +0000 Received: from localhost ([127.0.0.1]:53568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI3hz-0007RG-Rt for submit@debbugs.gnu.org; Thu, 10 Feb 2022 02:17:39 -0500 Received: from quimby.gnus.org ([95.216.78.240]:44656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI3hx-0007MH-HS for control@debbugs.gnu.org; Thu, 10 Feb 2022 02:17:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=e1X2L/ZJD5ysR6qCI6UKtpOoqOiAXkezirmU2sRanBU=; b=DlMLsVddKrYqNA3mPUoUgcdhA6 L/bgLhZXFK5JjHVdtWv7z+qUiKVX/WuJ39yYL5Kfkcv+k4dskCWJ8BtokpzxDJDk5CXTGS+dZJK6J C0Q3bxEoRPoH1BOquQ07tm5ZpCDzKOu/MO2fMqF3/wow5krJd3C1/8BuJCvHerJvf9iE=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nI3hp-0003or-Fs for control@debbugs.gnu.org; Thu, 10 Feb 2022 08:17:31 +0100 Date: Thu, 10 Feb 2022 08:17:27 +0100 Message-Id: <87bkzfdwc8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41719 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 41719 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 41719 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 17:45:47 2022 Received: (at 41719) by debbugs.gnu.org; 12 Mar 2022 22:45:47 +0000 Received: from localhost ([127.0.0.1]:41109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTAUc-0008PZ-Q1 for submit@debbugs.gnu.org; Sat, 12 Mar 2022 17:45:47 -0500 Received: from quimby.gnus.org ([95.216.78.240]:53882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTAUa-0008Gr-1E for 41719@debbugs.gnu.org; Sat, 12 Mar 2022 17:45:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=InZYTUUh3Q/jzf2Z3sDlGBET8iYKN1hQsY7kIRqUqzc=; b=YrzbZo8zD7S/xLBo3hj85UNDfD FG6Yf0/twD7RwubmY7gHXfhhblWZFnVPKFWXZk8aW6HDqASQXTFRJEyrXz+K1IjiFQWfYA/ny4N+G J5r/TUcGZnsIdLJtL8Kr4TQgjiiw9ZgI0HkLaky/B3x96+S4+irackRFCJg3xwvfTW8U=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTAUR-0004LZ-FQ; Sat, 12 Mar 2022 23:45:37 +0100 From: Lars Ingebrigtsen To: Dmitry Alexandrov Subject: Re: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3 References: <87img65htu.fsf@smoon.bkoty.ru> <20200606145221.GC846@smoon.bkoty.ru> <87czjvdwci.fsf_-_@gnus.org> Date: Sat, 12 Mar 2022 23:45:32 +0100 In-Reply-To: <87czjvdwci.fsf_-_@gnus.org> (Lars Ingebrigtsen's message of "Thu, 10 Feb 2022 08:17:17 +0100") Message-ID: <877d8yx01f.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > I'm unable to reproduce this on the current trunk (x86_64-pc-linux-gnu, > GTK+ Version 3.24.31, Debian/bookworm). > > Do you still see this issue on the current trunk? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41719 Cc: Vladimir Lomov , 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > I'm unable to reproduce this on the current trunk (x86_64-pc-linux-gnu, > GTK+ Version 3.24.31, Debian/bookworm). > > Do you still see this issue on the current trunk? More information was requested, but no response was given within a month, so I'm closing this bug report. If the problem still exists, please respond to this email and we'll reopen the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 17:45:50 2022 Received: (at control) by debbugs.gnu.org; 12 Mar 2022 22:45:50 +0000 Received: from localhost ([127.0.0.1]:41112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTAUg-0008SV-1h for submit@debbugs.gnu.org; Sat, 12 Mar 2022 17:45:50 -0500 Received: from quimby.gnus.org ([95.216.78.240]:53898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTAUd-0008L9-Qb for control@debbugs.gnu.org; Sat, 12 Mar 2022 17:45:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yE/MkGCoF0ohpwTOD/A7Dz4QxPXBB9s1p0N6cbrdlrg=; b=LTYz87cTfVU4K8lb0K/VW5uzpV Xi+k+5bwkT88P2WpRnFyrjeh6x9n3msbliovIyU4YKmLoLyt1KHTv6OIA6/XBbJHBccJ9HAmnHhsq h/S3fioCWi5RkRc9y+VVD2/mgO9MvKqeTJARAM5If93nz2+Ff4Le4qLlNljqgcDClHm8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTAUW-0004Li-7M for control@debbugs.gnu.org; Sat, 12 Mar 2022 23:45:42 +0100 Date: Sat, 12 Mar 2022 23:45:39 +0100 Message-Id: <875yoix018.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41719 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 41719 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 41719 quit From unknown Tue Sep 09 18:21:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 10 Apr 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 11 12:06:09 2022 Received: (at control) by debbugs.gnu.org; 11 Jun 2022 16:06:09 +0000 Received: from localhost ([127.0.0.1]:53746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o03cm-00069L-R3 for submit@debbugs.gnu.org; Sat, 11 Jun 2022 12:06:09 -0400 Received: from mail-io1-f41.google.com ([209.85.166.41]:38752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o00U6-0006vZ-4a for control@debbugs.gnu.org; Sat, 11 Jun 2022 08:44:58 -0400 Received: by mail-io1-f41.google.com with SMTP id r5so1571843iod.5 for ; Sat, 11 Jun 2022 05:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdfh.org.uk; s=google; h=mime-version:from:date:message-id:subject:to; bh=KHs1pX3JkPnkhDr/PJLY4fwu2mEXLKydokCf5nguVGU=; b=prs7iGYABF6s/o54faMoFb6w8X6cOXn6GEP2LGidBUdt+/jp0LdsfE1LWmTH2aKk/s Dbs/6KRc74ya4YgRWFRjlUMiCrTarXi9E6omOUXWXE/IYTPxS5pqk+UAm0V4q1bs54+L BDzeRM0ImjItrDT2+9MgskHfftKyvrc6//jXulCQZvRrvVWK9RpyY51ZucdVl8gvb82Q LwuLOSAg08e7gcf0Gbw5CqtUsloaSooZLfSEnnaHSrOAgvXTLRUIcDpMZKCPQeqnsKJ8 GikNOZ+VES2lvBriaIq6S4YVEAY6mDSJjIJqUN1jddQe5hm8FuSduPasecS7t9IDnHh+ w61Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KHs1pX3JkPnkhDr/PJLY4fwu2mEXLKydokCf5nguVGU=; b=AtoIO3yPDdUHmraVgMCbMEAlOCAF+2weGOfkRW+3ea9o0m4o3A29RiYOjbsEE1dCdG ILz8ShhrneuReLvEuks4Sbx9rnde790W5xaJbuK5Ng5aCijO14YlzVdUIHfRMWFsAe1N 3HA+SKx7Ws48DK1rJ/5yVAPeVamuoCWrDVV94FFNcisoCvL6xrwkF7BBQH7zIpi+J6dh hYMFu27LYOdf1gzBITIvjTrIijGaJmephYZN4UK+kxfwEyhFEozJ5w0nba++8KUKFfb4 rdzDMdSwl3qZTA6Zl8Ac9s4DL5a4C/m/u2uw8H4+5WucPGxNeokugsEZsF0AmMAR0CPd 0Umg== X-Gm-Message-State: AOAM530OAG1LnJA1lqPUH/GEmKPGfG8/i20sziII5kUjanPtMMWgpm4z nqfyOnphPJFRujQZSG7sD2AYtr2WFSdS8+ixFyQXOTtq1Lu0OQ== X-Google-Smtp-Source: ABdhPJwnqevUaJT9nzPqGoKNnUD1Ni/1jCLY1Fb3qj8DWjctzrHSPo18OtHaHJl8EzbEP6ldZKVjglR0DFIJ6yUBlzg= X-Received: by 2002:a05:6638:40a6:b0:331:cd97:8629 with SMTP id m38-20020a05663840a600b00331cd978629mr13091830jam.304.1654951492253; Sat, 11 Jun 2022 05:44:52 -0700 (PDT) MIME-Version: 1.0 From: Colin Horne Date: Sat, 11 Jun 2022 13:44:16 +0100 Message-ID: Subject: unarchive 41719 To: control@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000d1104805e12b6bca" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-Mailman-Approved-At: Sat, 11 Jun 2022 12:06:07 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000d1104805e12b6bca Content-Type: text/plain; charset="UTF-8" unarchive 41719 --000000000000d1104805e12b6bca Content-Type: text/html; charset="UTF-8"
unarchive 41719
--000000000000d1104805e12b6bca-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 11 12:07:21 2022 Received: (at 41719) by debbugs.gnu.org; 11 Jun 2022 16:07:21 +0000 Received: from localhost ([127.0.0.1]:53754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o03dx-0006Bx-7N for submit@debbugs.gnu.org; Sat, 11 Jun 2022 12:07:21 -0400 Received: from mail-il1-f169.google.com ([209.85.166.169]:39631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o00jY-00016i-Bh for 41719@debbugs.gnu.org; Sat, 11 Jun 2022 09:00:57 -0400 Received: by mail-il1-f169.google.com with SMTP id z11so1154765ilq.6 for <41719@debbugs.gnu.org>; Sat, 11 Jun 2022 06:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdfh.org.uk; s=google; h=mime-version:from:date:message-id:subject:to; bh=QzfjT8l8F5TJUEdMVR6AXD5QNLuvZESwdgTHe/DZx7M=; b=qtuqmdJqi7dMu3k70Hcr/fPfiuldLQ+0P70zXGsbRPBlSlL+tmKDZGNscFQv5e4tYw pYqm3ajMXQYn016FvNBnhaQDXtxyFzXToG40MxampJUD8KINnGr+VuRUqPDwV4rBgGIM 6Vn/MT478WrJUfKyDqhoMJNurse0w65Au5I9ghNPxIF6v1xtaLW5Xxi78KtBgeIaID5R /e1gElCDLzJ/o+fy4bqE5UPrfTJ3nKlcf5j4Ni54xUNdh3MWi1cnArspRT6UrLjkWvyH TD6CludzhDJrnVh0xJYkuMFSbOwqvau8s80sDkzsllN4T2t1sNav2DtzFZq719LjWb7f i9lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QzfjT8l8F5TJUEdMVR6AXD5QNLuvZESwdgTHe/DZx7M=; b=PfKHjTk3fcJF6zLz9V13gESE4AEoCqpNpp0iUTzxEk62TcgNoORfsA8pQPq+7tuPPO A+dMdVM1cTm86TzlNrvJkNaHhdfDPA2HkFbQ6Szr8XYkDK1vI/zBcUa/joEIRtWe8C9x 0ZFtRjkNBtYVzYWdB+yJIxj4nUcu/TmVvrHdXnKPWWBL/zrrRryr43ece+EnZ4O3KVaf vHH2EpMrRvdVBSevVA4quJNhNhm/Kwl6aEBScLvOXwAxJF3Dzde2IMfgRuT5Ij0qgRej ZHU7NKbVnmDRjYzVEWrmKSsGEphHa76DwwGtmEuHG5u8Hz+lKwDdQlqZ14Ktcnc9BKNw 9XxA== X-Gm-Message-State: AOAM531LyySoNn46ykzs4uyzuhWXDw+KhcF/UxbzKiApPKldKMt9jHqf SeGRHYSUyqYua/QdKy8MbrXmv4IlalliyymmRV64AFhggfKBlA== X-Google-Smtp-Source: ABdhPJwwK1R5wRdufKYtqxNCKCGv5lIVpkiamqf/AhVT3sX/IGu1sGE3oZ4Vdbvw1bdSKldVuu/0uOyettxlXyfynFE= X-Received: by 2002:a05:6e02:1d03:b0:2d3:bd9f:1a62 with SMTP id i3-20020a056e021d0300b002d3bd9f1a62mr28225926ila.79.1654952450418; Sat, 11 Jun 2022 06:00:50 -0700 (PDT) MIME-Version: 1.0 From: Colin Horne Date: Sat, 11 Jun 2022 14:00:14 +0100 Message-ID: Subject: Re: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is To: 41719@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000ed818a05e12ba4bf" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 X-Mailman-Approved-At: Sat, 11 Jun 2022 12:07:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000ed818a05e12ba4bf Content-Type: text/plain; charset="UTF-8" > I'm unable to reproduce this on the current trunk (x86_64-pc-linux-gnu, > GTK+ Version 3.24.31, Debian/bookworm). > > Do you still see this issue on the current trunk? I can confirm that this is still an issue on trunk. My Emacs welcome screen says: GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0) of 2022-06-11 Invoked as: emacsclient -F '((name . "foobar") (title . "foobar-title"))' --create-frame -a "" xprop reports: WM_CLASS(STRING) = "emacs", "Emacs" WM_ICON_NAME(STRING) = "foobar" _NET_WM_ICON_NAME(UTF8_STRING) = "foobar-title" WM_NAME(STRING) = "foobar-title" _NET_WM_NAME(UTF8_STRING) = "foobar-title" This affects me in that I run simultaneous emacs instances as two different users and have different icons configured for the different users. Now that I can't change WM_CLASS, both emacs instances appear under the same icon under my desktop manager, which is very frustrating. Cheers, Colin --000000000000ed818a05e12ba4bf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> I'm unable to reproduce this on the current trunk= (x86_64-pc-linux-gnu,
> GTK+ Version 3.24.31, Debian/bookworm).
&= gt;
> Do you still see this issue on the current trunk?

<= /div>
I can confirm that this is still an issue on trunk.=C2=A0

My Emacs welcome screen says:=C2=A0

<= div>GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29,<= br>=C2=A0cairo version 1.16.0) of 2022-06-11

I= nvoked as:

=C2=A0 emacsclient -F '((name . &qu= ot;foobar") (title . "foobar-title"))' --create-frame -a= ""

xprop reports:

WM_CLASS(STRING) =3D "emacs", "Emacs"
WM_ICO= N_NAME(STRING) =3D "foobar"
_NET_WM_ICON_NAME(UTF8_STRING) =3D= "foobar-title"
WM_NAME(STRING) =3D "foobar-title"_NET_WM_NAME(UTF8_STRING) =3D "foobar-title"

=
This affects me in that I run simultaneous emacs instances as tw= o different users and have different icons configured for the different=C2= =A0users. Now that I can't change WM_CLASS, both emacs instances appear= under the same icon under my desktop manager, which is very frustrating.= =C2=A0

Cheers,
=C2=A0 Colin
--000000000000ed818a05e12ba4bf-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 11 12:07:22 2022 Received: (at 41719) by debbugs.gnu.org; 11 Jun 2022 16:07:22 +0000 Received: from localhost ([127.0.0.1]:53756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o03dx-0006Bz-Ib for submit@debbugs.gnu.org; Sat, 11 Jun 2022 12:07:22 -0400 Received: from mail-io1-f49.google.com ([209.85.166.49]:42596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o01Sc-0002Hf-6C for 41719@debbugs.gnu.org; Sat, 11 Jun 2022 09:47:31 -0400 Received: by mail-io1-f49.google.com with SMTP id a10so1661456ioe.9 for <41719@debbugs.gnu.org>; Sat, 11 Jun 2022 06:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdfh.org.uk; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4Sj08oKCv8tMuJzXEEGvBuHxh61vpP491zvfCVGm6NU=; b=gKZhs9kkXQiVe2e1AJFvc7TvJ4+2iYbwjl6VPWU0ntMvEatZPhbdxE1S6o/2tQKB5o 6zK1fEcku24K6/Od1NLkAIUBqKjBZ1d56qP+akyCZNKnp8KA5KEx0/YR/tRqGY2xxwxo NsEQqxfYup91TR8OeTO9z9Q0ak+CZ0WIfELhIwTKf66A1SeAiC3i4toftdr3c3UtGi+A TpZJMnx+H4F9efkoyTrEQ1gEWOIPsSqrU30q3ySgz1Y7eYX85hc2QcROmDa8EiGTVCSC wxYVqBXdLNLks8R31rfujSHqVNBPH60OeNVcjoF+jIBo2eDuUeCPhrgGBUgAXmtEX3bv sVNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=4Sj08oKCv8tMuJzXEEGvBuHxh61vpP491zvfCVGm6NU=; b=ISEfkVnKsYkNcAtc2GNVgGik8LhfZrPv5SSmgMpqlFCgioSatJtYNXFpj0vD7ieT3F so2TNSkdHLvMiXpJv2t6+7DkPrl6zL3A1D/yOx/i7DL0Q/8/BNdNxWiuWNals3T705XM NfebwtxHiSxVM/6X8GWzguiZXt9z61D325q2WXxYC0hr5Qpe4dF1B/qee8yEaHsieMmy DbNKirfglYBM2qXIyDICWiJcE5HWUownqMS96xXrxp85NDa96Kd9oColEfmGym1Z7DhI IlKP2Ud10gzKEssSXsaM4Rp0JS2rJEZJzO8NXmlChcmoybUWcbJBWhDt5nv9aaZkvRci srKQ== X-Gm-Message-State: AOAM530mEQ6iUSMqzVMAkCPp5S1EtKGv23Qwm0MLh89Z66erABrnbUnk sA6faaxdYpZkf4f7d1Bdp+3b/eUloIJt8kLE6VI+ajWCkcsY2Q== X-Google-Smtp-Source: ABdhPJzimASMPgStvhw4nmF5HVXGplf0cM4CcamlaDVXPUmiI/6vJX+RLrA+N5FGSWca53UouLnFgoKeqfFpMeF18DY= X-Received: by 2002:a02:b0c4:0:b0:331:9a38:9603 with SMTP id w4-20020a02b0c4000000b003319a389603mr18337059jah.270.1654955244180; Sat, 11 Jun 2022 06:47:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Colin Horne Date: Sat, 11 Jun 2022 14:46:48 +0100 Message-ID: Subject: Re: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is To: 41719@debbugs.gnu.org Content-Type: multipart/alternative; boundary="00000000000072ea1405e12c4b65" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 X-Mailman-Approved-At: Sat, 11 Jun 2022 12:07:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000072ea1405e12c4b65 Content-Type: text/plain; charset="UTF-8" Just to confirm, I've also verified this against GTK+ Version 3.24.34: GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2022-06-11 Emacs is built as follows: ./configure' '--prefix=/home/hdiags/hdiags/spack/spack/opt/spack/linux-ubuntu20.04-skylake/gcc-11.3.0/emacs-master-tvikd2njjgseq47ywpa5zrlksnz3pylz' '--with-x' '--with-x-toolkit=gtk' '--with-gnutls' For avoidance of doubt, the issue still occurs when the emacs is started as: # No server currently running emacs -q --fg-daemon emacsclient -F '((name . "foobar") (title . "foobar-title"))' --create-frame xprop reports: WM_CLASS(STRING) = "emacs", "Emacs" WM_ICON_NAME(STRING) = "foobar" _NET_WM_ICON_NAME(UTF8_STRING) = "foobar-title" WM_NAME(STRING) = "foobar-title" _NET_WM_NAME(UTF8_STRING) = "foobar-title" Using a previous version of emacs (26.3), the same steps produce: WM_CLASS(STRING) = "foobar", "Emacs" On Sat, 11 Jun 2022 at 14:00, Colin Horne wrote: > > I'm unable to reproduce this on the current trunk (x86_64-pc-linux-gnu, > > GTK+ Version 3.24.31, Debian/bookworm). > > > > Do you still see this issue on the current trunk? > > I can confirm that this is still an issue on trunk. > > My Emacs welcome screen says: > > GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, > cairo version 1.16.0) of 2022-06-11 > > Invoked as: > > emacsclient -F '((name . "foobar") (title . "foobar-title"))' > --create-frame -a "" > > xprop reports: > > WM_CLASS(STRING) = "emacs", "Emacs" > WM_ICON_NAME(STRING) = "foobar" > _NET_WM_ICON_NAME(UTF8_STRING) = "foobar-title" > WM_NAME(STRING) = "foobar-title" > _NET_WM_NAME(UTF8_STRING) = "foobar-title" > > This affects me in that I run simultaneous emacs instances as two > different users and have different icons configured for the > different users. Now that I can't change WM_CLASS, both emacs instances > appear under the same icon under my desktop manager, which is very > frustrating. > > Cheers, > Colin > --00000000000072ea1405e12c4b65 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just to confirm, I've also verified this against GTK+= =C2=A0Version 3.24.34:

GNU Emacs 29.0.50 (build 1, x86_6= 4-pc-linux-gnu, GTK+ Version 3.24.34,
=C2=A0cairo version 1.16.0) of 202= 2-06-11

Emacs is built as follows:
.= /configure' '--prefix=3D/home/hdiags/hdiags/spack/spack/opt/spack/l= inux-ubuntu20.04-skylake/gcc-11.3.0/emacs-master-tvikd2njjgseq47ywpa5zrlksn= z3pylz' '--with-x' '--with-x-toolkit=3Dgtk' '--with= -gnutls'

For avoidance of doubt, the issue= still occurs when the emacs is started as:

=C2=A0= # No server currently running
=C2=A0 emacs -q --fg-daemon
=C2=A0 emacsclient -F '((name . "foobar") (title . &q= uot;foobar-title"))' --create-frame

x= prop reports:

WM_CLASS(STRING) =3D "emacs&quo= t;, "Emacs"
WM_ICON_NAME(STRING) =3D "foobar"
_NE= T_WM_ICON_NAME(UTF8_STRING) =3D "foobar-title"
WM_NAME(STRING)= =3D "foobar-title"
_NET_WM_NAME(UTF8_STRING) =3D "foobar= -title"

Using a previous version of emacs= (26.3), the same steps produce:

WM_CLASS(STRING) = =3D "foobar", "Emacs"


=

On Sat, 11 Jun 2022 at 14:00, Colin Horne <colin@cdfh.org.uk> wrote:
> I'm unable to re= produce this on the current trunk (x86_64-pc-linux-gnu,
> GTK+ Versio= n 3.24.31, Debian/bookworm).
>
> Do you still see this issue on= the current trunk?

I can confirm that this is still= an issue on trunk.=C2=A0

My Emacs welcome screen = says:=C2=A0

GNU Emacs 29.0.50 (build 1, x86_64-pc-= linux-gnu, GTK+ Version 3.24.29,
=C2=A0cairo version 1.16.0) of 2022-06-= 11

Invoked as:

=C2=A0= emacsclient -F '((name . "foobar") (title . "foobar-tit= le"))' --create-frame -a ""

xprop reports:

WM_CLASS(STRING) =3D "emacs&q= uot;, "Emacs"
WM_ICON_NAME(STRING) =3D "foobar"
_= NET_WM_ICON_NAME(UTF8_STRING) =3D "foobar-title"
WM_NAME(STRIN= G) =3D "foobar-title"
_NET_WM_NAME(UTF8_STRING) =3D "foob= ar-title"

This affects me in that I run s= imultaneous emacs instances as two different users and have different icons= configured for the different=C2=A0users. Now that I can't change WM_CL= ASS, both emacs instances appear under the same icon under my desktop manag= er, which is very frustrating.=C2=A0

Cheers,
=
=C2=A0 Colin
--00000000000072ea1405e12c4b65-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 01:10:35 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 05:10:35 +0000 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 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+EsMUk5Y9IAT0orKLc870tFKBxw5ctT3oUpOUFvLpWMgvDJyKY4ZIRXNwm3SLctDDJ1gjmWLMM9mGsi29UXaHbI3Ex6lj9IotI8eZFPG6M4lWvlE81snycPp3owJT8/b7xf1C+QjIi2lbTsgR2uwUusIAi6x9+gKYVk1mMjuwgIvMEAe14pXgK30nwzcikKwUoZFuChiZSdoJ0CDF6fcojo4fZgNHosBmapiqsv619uFIHi8Qwnvlp5dg0rxSDES/ytZuAAhTfiDnhevCTBUfYFcs6PtCkQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/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z2th5ivbvHS8rdNB58jXEgvdLfjbPdzs2gv9dFYHRHWDaEkOJAixeAAeYCDRa5owewqn RAxarP.4RuFR74vanTHdqO.n0a9M4m1ZdMRu5EFX_U6zWL2_B5HF.N1iX0LHPy1z_OcbdAg4AZjv Q_35gQfxkN.UyZTEuRKrNl9ihglVZfd4bTkR_2N3cRMSf0ScJS2aoYmrZcyqRB70U6ec68I6XbLT Q9enqjTppO3U9zO4u26tBP2o.uPqoTerVaMP83Ho0BhUTV2Ejmsep5MIdJ0VwYIoyuXaQJJznih0 tcIYXbvhZTSeGkFKdNBiGpoZAkNd4MmiJOJnLvvIddJe5JlZDxNiXwAFOoGyysVgw6BVfFAeCLR_ yQ19KdqwlqPszIRD3MTSr_Cgu6Nk9oWeZ7mDdLPSLyZRDMA7LSx4wmt0ECvVlPnT8FNuMDuZPPXH Vv1la6WPXFlYGYvSOAkg.Me5t7sDTOnqDMFzVt5s25FWmh21uXAdOkyNwboU70lktSIBCF.VCsCb 3CIWlyX.QCBCCZ7TcV7QBCZkNXtexn5XyArZ6xljYkWFw4t1PIbbKGRnqIl1njKOmYkyULEoauY0 FAo_IwBFOjWSglRbGVGKCl3vjUaDje9oRkhMkQbnwGn3hrQ6oEIuRvi7OFiJNNuMTkQ-- X-Sonic-MF: 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 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) From: Po Lu To: Vladimir Lomov Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> Date: Sun, 12 Jun 2022 13:10:18 +0800 In-Reply-To: <87img65htu.fsf@smoon.bkoty.ru> (Vladimir Lomov's message of "Fri, 05 Jun 2020 11:09:49 +0800") Message-ID: <87sfoah3gl.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1278 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 02:32:25 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 06:32:25 +0000 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 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 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==; 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 Date: Sun, 12 Jun 2022 09:32:01 +0300 Message-Id: <83mteiwfxa.fsf@gnu.org> From: Eli Zaretskii To: Po Lu In-Reply-To: <87sfoah3gl.fsf@yahoo.com> (bug-gnu-emacs@gnu.org) Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41719 Cc: lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 02:40:28 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 06:40:29 +0000 Received: from localhost ([127.0.0.1]:54493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0HGu-0001WR-Lu for submit@debbugs.gnu.org; Sun, 12 Jun 2022 02:40:28 -0400 Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:46455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0HGs-0001WD-SE for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 02:40:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655016021; bh=G1Je9SmackQPIGmyl6FQxWxhpUU6VdhVDpSMEvok7pA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=BxmLhjtE7eqoxgm5Twq2ZbC0+yf12BsiY5Jxv9v6E3oqn9IszRFGSvZ8x6LjPMdlosLvV0c3TUsXsNAAL6+w9iRCPzXDzDg3+z8bUdKS69Xli7tYM8gN+xmdMWwa/kRaZvCltReVVHWgX85ayXVk/ZwhIFdD6/bVldWUpj3HeOOJ5663kyBmANJmrT7nTAanCjcimwHsxyErJ3tViUQSHz4M2e+UIL2sOifX+4uugMwLj7lgt5HifwiZ9wA/PDrshGbXGGf0bvrDFPHMJ1cmVkeoQw8REtlo9xmmp4PKdxG7z5SfGyJxEeLaQk1K/gASItbzLHM37O+L/U67ynEvsQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655016021; bh=6c3f+LwhBShvOQL1kUkt3frnKYE2UK23hJYFUiprvA9=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=XlU6He9ADvHsJIxIZ3a5sfyf5v2tJubQ9qw16+Tte7r/j3vdkM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9PXhR4usm1VyZsvcu Dop.AJRh7bSzNsoI60FFDQ.usjQra1m3DFYnjxDOjMp3RjwZ_FGYQg667O0sqd9KudYLNL9wA3zU 5iU_E8MheXX6TNqK.F6yo8zJ.Nqm1.j72Di6NAldGVamsB.gE.4RO9nxHoxUXEyeHjjqXQ0rW6em BOORZhLGSpwrpQYAmSUWLkH.ILbuk.rW3xfJOAX13WSz5MjwCslzcOZhO9YVkehTr8im7izKwQ0Y OaRcvel9RkLOrbd3HxBVXzpP_kgNJn3YVsNFR_T9hR1eHAePh.jFPC3mhQPHCy9dKF2KNK7Y.Q5K V2_JBkLjQuqEJ3ggQp9sbcFsH0xdRUL1yWt0L2lixT3sxd62k2Mp3DQmU3_hdribS7EnQhGofyrs cb9yTTP4EpYjx5jYr2QJjcBY84N_rafFe0c0U8xaqTIAHWGGOwa34xB2wRKDNSRKJ3g-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Sun, 12 Jun 2022 06:40:21 +0000 Received: by hermes--canary-production-sg3-5f7658c994-6jtvl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e38bd528a7f806e7964ff1bb84eceae5; Sun, 12 Jun 2022 06:40:17 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> Date: Sun, 12 Jun 2022 14:40:11 +0800 In-Reply-To: <83mteiwfxa.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Jun 2022 09:32:01 +0300") Message-ID: <87fskagzas.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 787 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > 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? 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 03:03:48 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 07:03:48 +0000 Received: from localhost ([127.0.0.1]:54507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0HdT-00028w-Sc for submit@debbugs.gnu.org; Sun, 12 Jun 2022 03:03:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0HdS-00028i-85 for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 03:03:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0HdM-00071C-Hc; Sun, 12 Jun 2022 03:03:40 -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=xd/yNMNYJ/HA5D6fRfU7G7eq5IwsrRNw2KPJB5GndX4=; b=CHUaE7307Hup 85hGgBu62gcaYZnSgH6PKrVAGkrWRz1H30rjHLwhDCBwg2PYXuF+TsIIW66AjLkjPnciVzFHBJh0G ZlSGsawZX6cTneo+moOEZF0CnolkCY20wxrTXQda04MjytKFH/M8JEP2VVzEvoV/qJGJJlNRAbpI6 TVOhRDKj77o4qkTw/YEIvqrcMiSJaMsriaSxm2d+m2gF/alt7tjtqwRvCBi3JFyI/uyclKfJ7R7+W 2cv0RMimKJ2k8/a3OCJu7S5NXqH7c+w1X0wN6ObvgyJLHfIXdzIi7KZaLyeVMtL6P9esWCbTj45bl RtCNsq/Q1vNjo1MzipAzGw==; Received: from [87.69.77.57] (port=1891 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 1o0HdL-00010U-N5; Sun, 12 Jun 2022 03:03:40 -0400 Date: Sun, 12 Jun 2022 10:03:24 +0300 Message-Id: <83edzuwegz.fsf@gnu.org> From: Eli Zaretskii To: Po Lu In-Reply-To: <87fskagzas.fsf@yahoo.com> (message from Po Lu on Sun, 12 Jun 2022 14:40:11 +0800) Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41719 Cc: lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Po Lu > Cc: lomov.vl@yandex.ru, 41719@debbugs.gnu.org > Date: Sun, 12 Jun 2022 14:40:11 +0800 > > Eli Zaretskii writes: > > > 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? > > 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? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 03:06:30 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 07:06:30 +0000 Received: from localhost ([127.0.0.1]:54512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Hg6-0002DJ-AO for submit@debbugs.gnu.org; Sun, 12 Jun 2022 03:06:30 -0400 Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:45500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Hg4-0002D4-8J for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 03:06:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655017581; bh=DfhXLioLC/ocC5qzWGLCcPW85vRn/7CKwFhMNXzZnTc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Ed1vAM42pkk/CaUu1uaYKv3TA9ozCkr1atIvi54vc0CEAk5uSgv+STBU9uWO238MvTZYl301CLbJQ0dLfDEvYroZV1Z4aMFRPXL1KXD7H7RdnBhfuXT4ESgOZvejX+iGNbubMqZhsjFZn2QNM2BLq9jvNMxy/W/KtvvIbWmKD7C9BiVCdaKnvzqEKaDFKK9JDZnG9QH6o76BTMzoiOgW9qIaqiG24NVpak5eBguWfbGxVyr7P8dSGghuddTiKSpTqkEzJnub4tmXmJTKnw+8CCtvHhaU2aO5wF6U2QypMnkoBDRiEOTdbRs4WsgbnUuxyYGmWLX+p+JH3AZpripQAQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655017581; bh=MJOrYpeZUMmAfkwit4Plta8QGNFk9BBfyWRJaRyX9Nm=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ne2LF05qzvbaz+rQPlSymGtDOJPgMG+XD1Wjbxe9vU/KYaxYPvDrnOoqsv9wyxYyKGmn7GYEMCXDPYvFFt/GCBnnnhEHUYcz1QTqETW9i7RUajU1MR1U6QD1ibk4UwHBuCdV7+p1OFjeOGmILdmncs1DKkm0AzMCMqmb2k1VkN3Tv076VKiq6ff+vZEjdSjNKnJkz0sjaEPWOSLn8HGqkmTqlDdoTIFDKWEdgmOnWpV9wiaDWJ3Zy+ABrrM7BKDguMlaQmyUoyn20smrujLkWpHj3Of+0q6Yvfq+V5Y3cLY5zwdyZDefPQfmr/aKsb7dorZy7y3s9ZxZmJOq5Ns+Dg== X-YMail-OSG: qOZoWCAVM1lO7D9L9QHWTvJpFz77pTag9taJQyw6y2NnSwupTCwelqhdGHs8Cv9 IGcTt7YoYf4lvayNS45hQJk74A25AlQY.sEMarsrh8yjtJVkpqNszB1VEybZqxuYcd544ofDfoGz x1eCk3390PP0NRXEDupiBC4btYohviTeEurbP40RMsTYUwMisqV2HAoJKGqKjsvRuRCGhXEKoJxg VNJ2uLSNFIxRz.DX9hJdk4JyeIjUQgm.lFaUju7X7aYx80C7ZSN9Lvd71m1LwZbZpNUCU1iAtSic 2J5z3JB8RBqZp1zi9cG05klynI3JbHVvwGKFBWj_r3nourgfhft6dh_o5nCMpWhIg37ih3q2hEJH w9SN0BBkx7Uy3387VrWIYD4ZOet1QMRfRnLAPTIIicBR7QcNCtBosRhD28jlBlhr5kS9SQ2qo1za oDsAGeqHJ8mb8Gg06X11B3v12YIRfN.ESK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4jaAA21ybZAzZLBK6qqsalxhB3izRRjdDChVEc0okVSfkRc_ Edz7vhCMgZwim58rbkiZu7PV.EZzHYALme8_cgwRzoCMXWGlpSYVA8kzGLZ2cn03PQDZmeXNt0Nu CoJvTvvq1WyjdTo4gSOvSmGlGPhihFzsUuuBVGw6kb.V0hXD1hV9VRC3HrBDmgg8bt47pN_EIgeo FESdVFIzzfb5FC6GNjjalpi784vy2Bn9_9degQPDZ_8gl3co97GvXpRxVXjDlMVx_Xeh4ZCnpRT7 bXreNEHBVv23B0KaQ6fVVfziAEJe0QwsFW0yx8KdrmfvBIBXbKtpuKYpJ7af_A7Er6h0f0Q.g1fy vR17qbrOtcV4tAOkqWs4_7SCCQ7i0jy8j_FCzdBuzXkGsytu7PEem_C0L_Hwp5s4E0njEIEXsoPe qVyX4RNQ7VB7cqyfMGVQ1a8BqIjzgyYuzpVWmH7IknjKHA1qrtaid6q..qCuF.vjSo44OWpRhX2D 2UwnPe2aUoTmfupndzB6GNJcsIcOIbpscwpuKzXRLTXAMLDaSMeBOUTmrRX6_COVahmnt1_iMGu2 .Pjcqj4wlYqq07GkVubUOj7tUUvzp7X_OiBI0NNwou9Rp1xQYtOqryNISuBfxWgDxN1IVPW8meol hJHRc3UFTerhNIvrWbH_0bSZsJ6Flu4NJdeS.X.7Bqd9NjE1i6VfGdARAVZG_mS3mtE4zQlGl2a5 Vp72Qw9JhcGptb8iTVIgBno5j.lKerIFYsiIpMCApqfPOAXyzldx3nHwNNDZ_zLk- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Sun, 12 Jun 2022 07:06:21 +0000 Received: by hermes--canary-production-sg3-5f7658c994-r59gj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID bbea267f9140d312c1df1960a6f5214b; Sun, 12 Jun 2022 07:06:18 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> Date: Sun, 12 Jun 2022 15:06:13 +0800 In-Reply-To: <83edzuwegz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Jun 2022 10:03:24 +0300") Message-ID: <874k0qgy3e.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 130 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Why? What would that gain in user-level terms? I don't know, you would have to ask him. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 03:26:56 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 07:26:56 +0000 Received: from localhost ([127.0.0.1]:54518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Hzs-0002i7-05 for submit@debbugs.gnu.org; Sun, 12 Jun 2022 03:26:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Hzq-0002hu-Kg for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 03:26:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0Hzl-0001ev-3g; Sun, 12 Jun 2022 03:26:49 -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=sWQzPn/tx/hXn//e8rCDVERceHvS7Pe+/w2y+ua5SwM=; b=ri/F6tkVB89O aeE2eVkPOBLTmgnoN7zhSVx2gVDel0amw3Yaa8HTMp4Ex1x/9MY7g90ULVogCpGa1etk1t0s54qck kbDn/l0ukcjYFAGDSSaTigsNMJpFiy/u0aU0V5ldpDE0abEa6pziomBn5LnAdj4kNvjwEjb+mA5Oa F8e5e8lT/UX9TXQ34X05vgwy0To0BbtB13uCr6Yp0ISiRTrQ15zXxUcxlIlqCLVrzfIgEHQtxZcma ZV7tRkk4sldtF1zy7EQmew0g7R4aORT2pDDqE+OsXJ+KU+eL997/u+uf+jjsEZTJO22qDrx95rSjw Et3SXlaBlztBn1VQgaGOYg==; Received: from [87.69.77.57] (port=3332 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 1o0Hzj-0005Vn-R4; Sun, 12 Jun 2022 03:26:48 -0400 Date: Sun, 12 Jun 2022 10:26:32 +0300 Message-Id: <838rq2wdef.fsf@gnu.org> From: Eli Zaretskii To: Po Lu In-Reply-To: <874k0qgy3e.fsf@yahoo.com> (message from Po Lu on Sun, 12 Jun 2022 15:06:13 +0800) Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <874k0qgy3e.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41719 Cc: lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Po Lu > Cc: lomov.vl@yandex.ru, 41719@debbugs.gnu.org > Date: Sun, 12 Jun 2022 15:06:13 +0800 > > Eli Zaretskii writes: > > > Why? What would that gain in user-level terms? > > I don't know, you would have to ask him. I just did ;-) He is on the CC, and hopefully will respond. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 03:52:36 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 07:52:36 +0000 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 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 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) 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) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> Date: Sun, 12 Jun 2022 13:22:25 +0530 In-Reply-To: <83edzuwegz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Jun 2022 10:03:24 +0300") Message-ID: <87y1y2uxmu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 41719 Cc: Po Lu , lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) [=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" From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 04:01:02 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 08:01:02 +0000 Received: from localhost ([127.0.0.1]:54621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0IWd-0004P9-Hm for submit@debbugs.gnu.org; Sun, 12 Jun 2022 04:01:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0IWc-0004IM-Ii for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 04:00:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0IWW-0006Cw-Jb; Sun, 12 Jun 2022 04:00:41 -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=FGrp8YUnB29gW1XsKj4DhRB04GG9oekQsQdnJTSh0yw=; b=MuP+aEqlUg09 atzXWXNkOHxl19HAGYlT5pU7SCKVyffDw9r8Fd+oPCS1DrW4PriBSwoOAIeClctok2jw65LtoUiv2 m8usbeOOKSZ5zH2r7mUDCfaWmDBModI3+Rzmo+fLVueVGrAoXtFyoJXh0UBNBXioRl104K2E05Nej 6o+JNvqqKl7shr8a8nVgWLC0AGLZqK16R3vNKnfKaRPkBMs85QCFORU+GRUbM5wZxnHEt59iK95e6 qIL3sFUSX4z7E2NkzBhd6gh01Wwc0UY4uB+zBY0l871RWsNi11Noi61piheTg2ph/kKzQWHp83yNU SfPZnEdRkVWGC0uuy4OdSg==; Received: from [87.69.77.57] (port=1437 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 1o0IWV-0003FH-S2; Sun, 12 Jun 2022 04:00:40 -0400 Date: Sun, 12 Jun 2022 11:00:23 +0300 Message-Id: <835yl6wbu0.fsf@gnu.org> From: Eli Zaretskii To: Visuwesh In-Reply-To: <87y1y2uxmu.fsf@gmail.com> (message from Visuwesh on Sun, 12 Jun 2022 13:22:25 +0530) Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <87y1y2uxmu.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41719 Cc: luangruo@yahoo.com, lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > From: Visuwesh > Cc: Po Lu , lomov.vl@yandex.ru, 41719@debbugs.gnu.org > Date: Sun, 12 Jun 2022 13:22:25 +0530 > > >> 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. Why cannot you do the same by invoking emacsclient? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 04:02:42 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 08:02:42 +0000 Received: from localhost ([127.0.0.1]:54626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0IYU-0005tQ-L4 for submit@debbugs.gnu.org; Sun, 12 Jun 2022 04:02:42 -0400 Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:46631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0IYQ-0005qH-Pz for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 04:02:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655020953; bh=seBDiwjUIjx+IJSu5vi9ZJHHF19YbkQZtxANNaO4dBk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=M0b2LdjgGqCXB8La4oZwfNN9dW23TOoNV7NKH/f9qbgU2tU0sVfQq6Q+hCYMCPjsP32F4hUxtgtca4Wjo1BaO5EKkkEAllfFIzCSu1+SiM0KDtG4lJZpEU2orYwEkt71c+Zs5tIwomdmzyCEWFQFEm1/v99kI2LpYI/2jc9i0vZdNDBI+EQTNpa4jpw7DB2ly2kYVDcKgkmM+rjy0g6kA2JCMLjVus7ziv5JPlm28rh/pm0accSB6WyhMAb28ZMJ2G+TaDG9KtM8xt9eEw1mYkt2RYRM1+2UwengS5e3DLga4kpsL5gwTjTp/c6CLgEWnOC480Lko4e0AXR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RhE_nbMaCiAHAx5jrwyStif x5PttuW1frrtEZ_I2.O3510WSgqSoO1kbRo1PgagbLIYpTByi9YOnm4NBudcSa0JOuVZ4imFbImb SBMGeY_Pzsf.uV5CxFqYBcDN8_ZioP_t6m07iZsu5ILArysQmF048WVtGlv8a6.e5DjA8s2zjHb5 jYD9r2O6y47JXueVaIeiL5NIgCkbllHd3qMdrGxUOHTNTMvP0PI6fw5zNt1RFs9_uPOmq.rsBl_Y CxRfHFQKHrdgFHyAUreN1fjOJ_GP7w0lBWleRVvIO1EeDbzeI8nXGPw_p3Dz3H1LUSsW4MEG6T1B _K6WMSmeLbu_rlLlM8u91iSx.smAKxfrb1v9ok.liphxPoTwo70gM69Z9t81x49A87ck6l69b5lu LeF4XbxOQiO.aIF00QsEM93pTSqhy7y.edMcRcxuHiVqxV1sZp6YAKl7r7IhEQ_7bgmptDsxZ8v6 Oa4kxNJ.6J6FNmF3_qVh6AfJM0nwKgiFWjoT8iDuWYMT.Y311gZgHODOKa9tiC7Zo7TGNrruOiNE nXgSGyuhjmnmcOCR2TzZCxfVeBohMxICPzYZrN9hPiIG2U8pnCI2CBTtGo21VeUuxjWXw9nH4foo kCJo5lAeLrEP82AHOE6hfJy1xn0dPp.h.FbLiwgW8lacbRnWGePOSNG2UPssjBfRVg4PdoA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Sun, 12 Jun 2022 08:02:33 +0000 Received: by hermes--canary-production-sg3-5f7658c994-djglh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8dd4df6d5f15938364ba8e11404045e4; Sun, 12 Jun 2022 08:02:27 +0000 (UTC) From: Po Lu To: Visuwesh Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <87y1y2uxmu.fsf@gmail.com> Date: Sun, 12 Jun 2022 16:02:19 +0800 In-Reply-To: <87y1y2uxmu.fsf@gmail.com> (Visuwesh's message of "Sun, 12 Jun 2022 13:22:25 +0530") Message-ID: <87czfefgxg.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1111 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: Eli Zaretskii , lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Visuwesh writes: > 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) = "vz/calendar-frame" > WM_CLASS(STRING) = "vz_calendar-frame", "Emacs" > WM_NAME(STRING) = "vz/calendar-frame" Class hints are only set by Emacs under X toolkit and no toolkit builds. On GTK builds, it's set by GTK to a value set during GTK initialization. BTW, the `name' frame parameter is rather special, since it's set by `x-create-frame' binding special values to `x-resource-name' and `x-resource-class' during frame creation. So for the record, changing the `name' parameter of a frame after it is created will not change the values of the WM_CLASS and WM_NAME properties. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 04:20:19 2022 Received: (at submit) by debbugs.gnu.org; 12 Jun 2022 08:20:19 +0000 Received: from localhost ([127.0.0.1]:54657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0IpX-0006K4-0X for submit@debbugs.gnu.org; Sun, 12 Jun 2022 04:20:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:56434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0IpV-0006Jw-5t for submit@debbugs.gnu.org; Sun, 12 Jun 2022 04:20:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0IpU-0006TP-Vw for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 04:20:17 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:43943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0IpS-0000QJ-KT; Sun, 12 Jun 2022 04:20:16 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4LLSLJ5npyz1s756; Sun, 12 Jun 2022 10:20:08 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4LLSLJ39Z8z1qqkD; Sun, 12 Jun 2022 10:20:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id nRxF8gcOjard; Sun, 12 Jun 2022 10:20:07 +0200 (CEST) X-Auth-Info: ZkC0q2Sj++lSOgRnOrvinKIRUySlXET7Emv0UDFwnXvyNm78oquxvoas25c93DBR Received: from tiger.home (ppp-46-244-166-45.dynamic.mnet-online.de [46.244.166.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 12 Jun 2022 10:20:07 +0200 (CEST) Received: by tiger.home (Postfix, from userid 1000) id 1DE8DE4FAF; Sun, 12 Jun 2022 10:20:06 +0200 (CEST) From: Andreas Schwab To: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <87y1y2uxmu.fsf@gmail.com> <87czfefgxg.fsf@yahoo.com> X-Yow: I'm having BEAUTIFUL THOUGHTS about the INSIPID WIVES of smug and wealthy CORPORATE LAWYERS.. Date: Sun, 12 Jun 2022 10:20:06 +0200 In-Reply-To: <87czfefgxg.fsf@yahoo.com> (Po Lu via's message of "Sun, 12 Jun 2022 16:02:19 +0800") Message-ID: <87pmjes37t.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=212.18.0.10; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: Po Lu , Eli Zaretskii , lomov.vl@yandex.ru, 41719@debbugs.gnu.org, Visuwesh X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On Jun 12 2022, Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > BTW, the `name' frame parameter is rather special, since it's set by > `x-create-frame' binding special values to `x-resource-name' and > `x-resource-class' during frame creation. So for the record, changing > the `name' parameter of a frame after it is created will not change the > values of the WM_CLASS and WM_NAME properties. The WM_NAME property follows the name parameter for me. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 04:27:56 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 08:27:56 +0000 Received: from localhost ([127.0.0.1]:54672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Iwt-0006Vu-PF for submit@debbugs.gnu.org; Sun, 12 Jun 2022 04:27:55 -0400 Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]:43952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Iwr-0006Vi-Nd for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 04:27:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655022468; bh=C7zpoc9QMAE5lKvNSyproZIxVU5mxHnHQngtgClTaNw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=J03zB5m4l8cI53Q5ehndcjOHwBYR5HyU6TqlCtdpEkjlRDCNA00oU5kofvv68Ea5KwqAanCQQtsGctyPjgeGKmRiZ+B5v5jDF4HibZxPF9wV6/v3Unb88acSJ3l23H0h4cF3F7U0CzIFFPBjCA9OR4IFpkRV0y3xXxFQcWMD0oOORMe/JWxnTxUaHxxwfITk9+Vs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RZIOfoGpSfTMMVwdkNwtGwS6RJ7tW Ms.00dusWjhxKFqR7juqeNVLFSdwwiOfZJ7tVbxs6VpMZDU3bDEwHywESJyTVKeFzVlzC3f5IbwM NkcpVMQPP7E.gSFPkBs6I_UdiWtPKkUmZGyQYHowrvRasjqiHPchaW.CEVN3gxMYZG_zATLz6N2z fKduiV7BG4K4ZAW.drDnZ5Thti174AwZtZ7GT3sl7NwnuqRquiSxRP6wvgm6Q8Y9dteVen6kHFb2 Q.4g5TWhk6elp1Sx0ngoUArmyXdKd9EgNOSp6SUbbbc7frDoxXG8XZHxydUiz2d22WME9tHNU9S. hzVuUIHn5SRtkUisyDOvzlrRqyQLVkwYWL8jqLJ01B0IfrUCtBXtYdYUL_ebAg6BnV30O3THjnU9 pBgtVGQ_YhUkjRfex.Olt4PB2upHBD_wYKDa3_JKTZVmgiKOUpsGa2gY3RRVgWZ0E_i1Rgrlu_Sf U8ANgCf5sQjsHijVEvHaXfZIpfr_qcDKD86RblWIIeKwsDH4w19_SFZBjrTqyYffmg04.DyGpW2K 7c.dfdf4IrocsJCB0lp9.AM11W4ildgcApiy5Xc6I3j6wVkdjvPEbsKmwI_KcAdXwuEI5WGNoGq. iuJp.q8agHLG5qFKtFiX3AHR7VjMlvi8j5tfk5jT67cz610TswEcR8gY74oHx_au5pBiXeKBGLsm 3kYQYE6JpexqUiGrlZNm04pkD5V_ww7GhwWiM2t.sX9Sl8wNeb7.mGvBIHCTPDsUD4RGX3qPCRiz 8lpQr7LeD30pTeoVsm7Gf7FagbZaDmBLu0uVofSL1FJzLbn0cwYMRBAyltKVuQ49JAQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sun, 12 Jun 2022 08:27:48 +0000 Received: by hermes--canary-production-sg3-5f7658c994-m7v88 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 21ad6ecb90c8eb8ddb8292db341e974c; Sun, 12 Jun 2022 08:27:44 +0000 (UTC) From: Po Lu To: Visuwesh Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <87y1y2uxmu.fsf@gmail.com> Date: Sun, 12 Jun 2022 16:27:39 +0800 In-Reply-To: <87y1y2uxmu.fsf@gmail.com> (Visuwesh's message of "Sun, 12 Jun 2022 13:22:25 +0530") Message-ID: <87v8t6e16s.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1082 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: Eli Zaretskii , lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Visuwesh writes: > 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. [...] > WM_CLASS(STRING) = "vz_calendar-frame", "Emacs" BTW, that property looks very wrong to me. Is the instance name of the X resources you want to apply to that frame really "vz_calendar-frame"? If it is not, then you will run into difficult-to-explain problems with any customizations you make down the road. If you need to set WM_NAME by itself, set the `title' parameter. Most people have no reason to set the `name' parameter at all. Window managers that ask users to change the declared instance and/or class names of random windows in their programs encourage sloppy resource management. They should ideally allow matching on all window properties, which Lisp code can then set with `x-change-window-property'. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 04:47:14 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 08:47:14 +0000 Received: from localhost ([127.0.0.1]:54692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0JFa-00070m-M3 for submit@debbugs.gnu.org; Sun, 12 Jun 2022 04:47:14 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:53000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0JFZ-00070X-PW for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 04:47:14 -0400 Received: by mail-pj1-f67.google.com with SMTP id gd1so3089963pjb.2 for <41719@debbugs.gnu.org>; Sun, 12 Jun 2022 01:47:13 -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=3x5PDVzPpU8HIxKgARon3JsExP47jhItSlhHhvktTsA=; b=X0pKvfvxj6jcBEWEdXug2IFIXs93ztUeQNmaLh1KMgyrKEf/PGVx5+HacPAi+kZFKH ab6z2cOjNv1GHGQf37QnKEC0/4En86l9yA0WmeChnV3/yvJXnXTxaVdPFWrP0jnni9wB JGyv4wY54EcX0BY64g3BpXPcM9MO2APZo30UFw0xLb8Re929koG+we1KuO3iGFTL4WfU PXKbke6TkMqAubvJYKcdnTVrX41zvLealbTosqzQFKAm6oyJp7YHtQ9SESmg/+tkKTI3 lj6tTreBjYJDtdfEdkpmJD5EOYfBIMAmvmBKljhL1C7owsOrEpo/cq5Fy2gtFrSQk+30 uWDQ== 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=3x5PDVzPpU8HIxKgARon3JsExP47jhItSlhHhvktTsA=; b=p+Bnz3Ewa4+tadmRGoEVAyUDSKMFU+APkCNhUooZPYAqTM2oByYduiUWBJ1V+QEgEL jAXCBF6+aeulcCgTaXe6mJv/I9bHk85nQAHlF3KWt9r4ZzKX2ITEG0fKKlwH48iTGBQl JowjGIb8DZ1BLn6eR1RN5GU/Buc5wiMgUVSrNzUnCxVFkckXhZTJLBsEC3zJDxX8LoSm 7NiLuJgOcuvk4vVmmui3YvQ6ETK2Tn6JRGkddmtOeuEIHl37DYR7T96m/wwwm40Af2Eq eLTu9W+T11iAim7BCmBmddN23q23BTmhXlIRf7Tt5MniTb2I06m5nEVTSyCEfylKs22H LF6Q== X-Gm-Message-State: AOAM53314OBwMjy9cLj3GZSZx4QQzND0RVcby/tYWwCU1nnVU3Enhzxn hTQ3gIbMD/0zjw5/j4fyRZk= X-Google-Smtp-Source: ABdhPJzcBNWukS/Gi3DOdi2l3YYympUjrIl1HJo2OtebVWLKmDvOMaWluwl/QogWoiY0wqEz831b3A== X-Received: by 2002:a17:90b:3591:b0:1e3:25d3:e78e with SMTP id mm17-20020a17090b359100b001e325d3e78emr9194857pjb.29.1655023627802; Sun, 12 Jun 2022 01:47:07 -0700 (PDT) Received: from localhost ([49.204.137.20]) by smtp.gmail.com with ESMTPSA id u18-20020a170902e21200b0015e8d4eb2ddsm2651544plb.295.2022.06.12.01.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 01:47:07 -0700 (PDT) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <87y1y2uxmu.fsf@gmail.com> <835yl6wbu0.fsf@gnu.org> Date: Sun, 12 Jun 2022 14:17:05 +0530 In-Reply-To: <835yl6wbu0.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Jun 2022 11:00:23 +0300") Message-ID: <87tu8quv3q.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 41719 Cc: luangruo@yahoo.com, lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) [=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 11:00] Eli Zaretskii wrote: >> From: Visuwesh >> Cc: Po Lu , lomov.vl@yandex.ru, 41719@debbugs.gnu.= org >> Date: Sun, 12 Jun 2022 13:22:25 +0530 >>=20 >> 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. > > Why cannot you do the same by invoking emacsclient? I admit that my example was quite poor, but there are some things that are strictly out of control of Emacs like, 1. Moving an Emacs frame to a specific virtual desktop / workspace / tag / group, etc. People call the "workspace" feature by a billion different names. 2. Make a specific Emacs frame "floating" in tiling window managers. I'm not a heavy user of these "window manager rules" so I may not do enough justification here. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 04:49:29 2022 Received: (at submit) by debbugs.gnu.org; 12 Jun 2022 08:49:29 +0000 Received: from localhost ([127.0.0.1]:54700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0JHl-000772-AN for submit@debbugs.gnu.org; Sun, 12 Jun 2022 04:49:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:43244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0JHj-00076l-2a for submit@debbugs.gnu.org; Sun, 12 Jun 2022 04:49:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0JHg-0002tq-SF for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 04:49:26 -0400 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]:46973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0JHf-0004Z0-Am; Sun, 12 Jun 2022 04:49:24 -0400 Received: by mail-pj1-x1041.google.com with SMTP id k5-20020a17090a404500b001e8875e6242so3225705pjg.5; Sun, 12 Jun 2022 01:49:22 -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=hZmANbcnYt8K2GDZFmXAoUzCipK0pV5OsPrsfttZB0I=; b=FvVJDvfLM+jOTej1PRdzVSjy7j+GVzpmtZT/kLkiXwCrskI5e8wlyBWe9n23zHPD7m UsGK4tJUv4AqiJyORSC6WSBQw5oIA+Fz8cmZvSPTUhP+TdgLQrxrJWeEEWJluof5R65G AMhy1OD6et6yXAbISa0OjOLVVeg2WM13+7kuReKty0Kh4jgcWPVMF7PnRe9BuIxTDCsc jDSk2Sqgm8WI/v/6FYXv7bob9Pw+HT0ITUrOxKV9KLrg8MDZeeI3p3gVzWILlvbCBHyq 0NgW3+vAeNE8DEv0RHCv3jZSPw2nAPZxRCQMQwzNKY6+z8uvTwebFzpYHZlZ/60r6Ojx jb3Q== 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=hZmANbcnYt8K2GDZFmXAoUzCipK0pV5OsPrsfttZB0I=; b=5VZLa4P/P21tkjvSnYp+lHfddlQ1mdJCk9aWA1ULzj1qJZE2SNB42QVCTD74T2bbFE 40SHq35ktr/J4PCG/cM5Rjoaaj4AMomM8intHyg3J6k6Xr2K4cAySL8qCgCug91mCjLp hnPnQoEu5hVjHp3yk93AaGczSHuV7QfGYdZn1jlXLEtZQ6sdXApJ/b4m+S+jlGfA7qec bjJtRw+qP+U8OU1C7fcDwWlHbIo5iZqKgtS6MVrXAfEYZNHrnnc2yLZdcgp0gBuMWA2+ 3Hv6eSRrbURegFQE8BVdtNHiPqGAxyT80QanE52SXoj1iYgP+MhIEeN1vusBJGkuGUol xyLw== X-Gm-Message-State: AOAM532DDwgrwz/wxBc6zsfTmnwEINgNIz8jjM2/jvuzJ9z9W8DLoXfU 7BpGlIPG+kbzK81CP7etQEI9J4ybiFA= X-Google-Smtp-Source: ABdhPJyNAH8wLxYT2qjP6ic+SyoFOCt2PsF4vKRLadpH+YvzYSJqalKlKG7b6nAXydkhZV5t4axKlA== X-Received: by 2002:a17:90b:33cd:b0:1e2:a03c:a4b1 with SMTP id lk13-20020a17090b33cd00b001e2a03ca4b1mr9318388pjb.49.1655023761133; Sun, 12 Jun 2022 01:49:21 -0700 (PDT) Received: from localhost ([49.204.137.20]) by smtp.gmail.com with ESMTPSA id m5-20020a170902bb8500b0015e8d4eb2d8sm2658477pls.290.2022.06.12.01.49.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 01:49:20 -0700 (PDT) From: Visuwesh To: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <87y1y2uxmu.fsf@gmail.com> <87czfefgxg.fsf@yahoo.com> Date: Sun, 12 Jun 2022 14:19:18 +0530 In-Reply-To: <87czfefgxg.fsf@yahoo.com> (Po Lu via's message of "Sun, 12 Jun 2022 16:02:19 +0800") Message-ID: <87pmjeuv01.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1041; envelope-from=visuweshm@gmail.com; helo=mail-pj1-x1041.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Po Lu , Eli Zaretskii , lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) [=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 16:02] Po Lu via "Bug reports for GNU Emacs, th= e Swiss army knife of text editors" wrote: > Visuwesh writes: > >> 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" > > Class hints are only set by Emacs under X toolkit and no toolkit builds. > On GTK builds, it's set by GTK to a value set during GTK initialization. > That checks out. I use a lucid build. > BTW, the `name' frame parameter is rather special, since it's set by > `x-create-frame' binding special values to `x-resource-name' and > `x-resource-class' during frame creation. So for the record, changing > the `name' parameter of a frame after it is created will not change the > values of the WM_CLASS and WM_NAME properties. Ah, thanks for the info. I was afraid the WM_NAME property would change when the frame title changes. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 04:54:57 2022 Received: (at submit) by debbugs.gnu.org; 12 Jun 2022 08:54:57 +0000 Received: from localhost ([127.0.0.1]:54706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0JN3-0007HJ-0o for submit@debbugs.gnu.org; Sun, 12 Jun 2022 04:54:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:44636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0JN1-0007H7-Nq for submit@debbugs.gnu.org; Sun, 12 Jun 2022 04:54:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0JN0-00047B-OI for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 04:54:55 -0400 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]:40802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0JMx-0005DY-QY; Sun, 12 Jun 2022 04:54:53 -0400 Received: by mail-pg1-x542.google.com with SMTP id f65so3033565pgc.7; Sun, 12 Jun 2022 01:54:49 -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=QbDyA9b9fHC0etFxnYQ+ZKoGpQF/nBs9QsdFC7Rdqgw=; b=NIBpqmGdU1YNTjDg4VcbEsIyWlNdPaj22Jn5q50PDFicqTV1oFKWLt6XAlq2+rHT9C I/ncKn5ZuqPP7NIHMC65cXP3AS66QNDlrekRowqlCncXLFlUTg4ZmoaVr8NUf1OB/Tqm FfC52kurhKkG1mFmFJPHFJzcHIR4Bih6I6QW6fyYFkBEPNSa+bBjdZZKUZrPa5oFdA7H BZdGsK8BHoksFevMP6nWF+X01Rf56WO+ppCzO87d3jBYuRBgkVFzCIRLjVLKNfqabff4 qGY1nu4DN17dv3sONdV83gWo1DrSbHdsqEcjJrcbTDryvbBJAoHut8JHyQAyWGnNhwI+ UoIQ== 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=QbDyA9b9fHC0etFxnYQ+ZKoGpQF/nBs9QsdFC7Rdqgw=; b=fj0Mwqt213GfYQG1Rg+SnY/TR1okLwWFAD4xfi6T+Leh4gZ84cJ83tkZQcLQIkZJF7 ZJ8wb7+7+EZPf8EsnzN5uFx+Bg+E/byMzq1g4T+9q+jN7NsqeR+YAoUsCzHyVwA71trK WdwszYv8CQVcp10SETM5oFtGXokO+Gbxjgot7a8yCDIAbd2Mzo2Xr2lUeU62D9HoNQG0 Hr1wztlL8RBa0a6IJ8VlUnOelnZzgh+fq8WNqC8rfN9DKOIeMbWkFrFPHHmLB1HxdMfZ YEymUUo59vq6fHJlSnqJ/0mG2SMpelSHLNsyWTid4VJBhHo03I9ROYx5n+7N4n/z3nAI G++g== X-Gm-Message-State: AOAM530xN49QCxybJ1xtodq7hnAs5KiR1elg5MwzL5rCZoaHkh8N5c+M z+BorXfkRxGnlKptQLI6efqDZnRiSPk= X-Google-Smtp-Source: ABdhPJy3YsEKwsQ/9hT3AznuK2ZNwi6MwIhdRS1ubTygjmEo3FK5Dms28rwdlkO6V23RCk/vVEzkFA== X-Received: by 2002:aa7:9103:0:b0:519:3150:6b3f with SMTP id 3-20020aa79103000000b0051931506b3fmr54361834pfh.67.1655024087975; Sun, 12 Jun 2022 01:54:47 -0700 (PDT) Received: from localhost ([49.204.137.20]) by smtp.gmail.com with ESMTPSA id g16-20020a17090ace9000b001ea840392eesm2748457pju.32.2022.06.12.01.54.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 01:54:47 -0700 (PDT) From: Visuwesh To: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <87y1y2uxmu.fsf@gmail.com> <87v8t6e16s.fsf@yahoo.com> Date: Sun, 12 Jun 2022 14:24:45 +0530 In-Reply-To: <87v8t6e16s.fsf@yahoo.com> (Po Lu via's message of "Sun, 12 Jun 2022 16:27:39 +0800") Message-ID: <87leu2uuqy.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::542; envelope-from=visuweshm@gmail.com; helo=mail-pg1-x542.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Po Lu , Eli Zaretskii , lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) [=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 16:27] Po Lu via "Bug reports for GNU Emacs, th= e Swiss army knife of text editors" wrote: > Visuwesh writes: > >> 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. > > [...] > >> WM_CLASS(STRING) =3D "vz_calendar-frame", "Emacs" > > BTW, that property looks very wrong to me. Is the instance name of the > X resources you want to apply to that frame really "vz_calendar-frame"? > I created the frame like so, (make-frame '((name . "vz/calendar-frame") ;; (minibuffer . nil) (vertical-scroll-bars . nil) (font . "monospace-16"))) > If it is not, then you will run into difficult-to-explain problems with > any customizations you make down the road. > > If you need to set WM_NAME by itself, set the `title' parameter. Most > people have no reason to set the `name' parameter at all. > Probably because I noticed the `name' parameter first in `(elisp) Frame Parameters'. > Window managers that ask users to change the declared instance and/or > class names of random windows in their programs encourage sloppy > resource management. They should ideally allow matching on all window > properties, which Lisp code can then set with > `x-change-window-property'. I don't really understand what any of you said means. All I wanted was a unique WM_NAME so that I can move the frame to the top right corner. These frames are usually ephemeral so I haven't had any problems so far, . From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 05:11:52 2022 Received: (at 41719) by debbugs.gnu.org; 12 Jun 2022 09:11:52 +0000 Received: from localhost ([127.0.0.1]:54737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0JdQ-0007mA-JF for submit@debbugs.gnu.org; Sun, 12 Jun 2022 05:11:52 -0400 Received: from sonic304-20.consmr.mail.ne1.yahoo.com ([66.163.191.146]:34914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0JdN-0007lw-Vv for 41719@debbugs.gnu.org; Sun, 12 Jun 2022 05:11:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655025104; bh=PYritZUI7g/2Un6BRoOuqQm2aBvjn0zsWKmWW0NZJHA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=VuZk7H2W0+0LwKhOHxOVywcdjmXwp51JX+FsfMJGiV6smNz6XHjmA75GI7vdb4sOQ3OLfzTOfMXBhd23pNflmMCSl0qYrFtMtX1HKPolNmqrDu11BAgHZw6TLDnpgVcKn4eiNNBfF/m5Md5WfcxV/IBADyWYXV86yKX2j2iRXSV0/aCCSsHemMUr+fRiQvVl1LRJdqSjxBh7VLsaKVIE0Jd+aOMM9wLjPY+lx+iPIw2b2XVMjLb/XqquyPv0cXnmmQs+s2CnfGNuRVHNcJVBKeZ6AUbEyE6FsSYahLvtGfvs148iBSj7sJcah0nJpPoaOXAEMzp0YzNGCS+KKPT/3w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655025104; bh=DDYItjkqN2mKxaNSKBHQG2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.BA6rA78m_iujLkc.BYbOoZEz4LEkYolktNYQyfKMEg5uJzb_Jsi17wDB48M8i6a.Acwpi31u Pk_hkDtzaTqW3_LTa8qhKEoLqgzy3J7dA2LVriD_jJEPn_YVVsjjDgQck_Tz3yua.FiRcfN4zxxN ZPCL5VliNizF.oHISlTeFcr5a7LT1K2.a_9uU9FHqRmSldlgd0xSiiTpjPhFXXiUWh_AnD14Y5wu 9x_N5Y33hoh89R_8PpELukAEHxXjQPtipHyH9JbVT9JHGrbcp.97ILzJD44.TB97jluw739SASAS YRi4SwZAZyGnr8Yr_fbRIuqOldBDKC2wtVo6h3MvrBY.Ie2e7b6bZ4v.p4lN6mDFJQEhsyDKG9rp U0j8Qn4DrUp9kll6m64sg3Or9HkdUDCjOtNrVIDlbcZOQNtg4I262VNGy18.l.uRKKpFvK6n9x9S EPtTZrXEzzPaGNLXCifbJu5iz5k_3PFLN1l5mXVozJBnlj0_f7Kwp0aEwwEP9YWFFvfo1zS2IvIx K_x_wyS1SwRB2kWizDi6qZQFe.eNSYORaQs8sN7BEyvDP5L6p22uyY2mU8fljZftms_0- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sun, 12 Jun 2022 09:11:44 +0000 Received: by hermes--canary-production-sg3-5f7658c994-m7v88 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 91e7c317536824a07e29c7c67aefbd76; Sun, 12 Jun 2022 09:11:40 +0000 (UTC) From: Po Lu To: Visuwesh Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <87y1y2uxmu.fsf@gmail.com> <87v8t6e16s.fsf@yahoo.com> <87leu2uuqy.fsf@gmail.com> Date: Sun, 12 Jun 2022 17:11:35 +0800 In-Reply-To: <87leu2uuqy.fsf@gmail.com> (Visuwesh's message of "Sun, 12 Jun 2022 14:24:45 +0530") Message-ID: <87k09mdz5k.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 593 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: Eli Zaretskii , lomov.vl@yandex.ru, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Visuwesh writes: > I created the frame like so, > > (make-frame '((name . "vz/calendar-frame") > ;; (minibuffer . nil) > (vertical-scroll-bars . nil) > (font . "monospace-16"))) That's probably the wrong thing to do. The instance name of the Emacs session is `x-resource-name', not "vz/calendar-name". > Probably because I noticed the `name' parameter first in `(elisp) Frame > Parameters'. I guess that part of the manual needs rewriting to warn against setting the `name' parameter while creating a frame. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 23:04:21 2022 Received: (at 41719) by debbugs.gnu.org; 14 Jun 2022 03:04:21 +0000 Received: from localhost ([127.0.0.1]:60813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0wqq-000706-NU for submit@debbugs.gnu.org; Mon, 13 Jun 2022 23:04:20 -0400 Received: from forward500p.mail.yandex.net ([77.88.28.110]:41518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0wql-0006zo-Iv for 41719@debbugs.gnu.org; Mon, 13 Jun 2022 23:04:19 -0400 Received: from sas8-f288abe7802c.qloud-c.yandex.net (sas8-f288abe7802c.qloud-c.yandex.net [IPv6:2a02:6b8:c1b:290e:0:640:f288:abe7]) by forward500p.mail.yandex.net (Yandex) with ESMTP id 07891F014FE; Tue, 14 Jun 2022 06:04:09 +0300 (MSK) Received: from sas2-ffeb92823cb1.qloud-c.yandex.net (sas2-ffeb92823cb1.qloud-c.yandex.net [2a02:6b8:c08:6803:0:640:ffeb:9282]) by sas8-f288abe7802c.qloud-c.yandex.net (mxback/Yandex) with ESMTP id VL0OmmAgnD-48g8xt0s; Tue, 14 Jun 2022 06:04:08 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1655175848; bh=1qNmm+y/ycs63sV9sverxDmhjbbXAMW3Ozs/4TCXBtk=; h=In-Reply-To:Subject:Cc:To:From:References:Date:Message-ID; b=pHLrLGWpzP5pkFVppSdBn71u3ta5X0Hnn0Lw4K9GlU1eEIhigxNZ20emtqmiDGoPO 4WG2Y68R4k6ecjgSyxag7sT2z2T0G2pnjW72AAIju49VhTNAR+RkSa7b9PtjLyguG4 jwhbDVm23OqiOI19gZP4RCeLaNwerhCuvgUh31rM= Authentication-Results: sas8-f288abe7802c.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by sas2-ffeb92823cb1.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id fK9BZc0mdS-47MW9Weq; Tue, 14 Jun 2022 06:04:07 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Received: by smoon.bkoty.ru (Postfix, from userid 1000) id 4LMYDk48JDz8wv; Tue, 14 Jun 2022 11:04:06 +0800 (+08) Date: Tue, 14 Jun 2022 11:04:06 +0800 From: Vladimir Lomov To: Eli Zaretskii Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Message-ID: 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: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i8hm523rhd+gVRjY" Content-Disposition: inline In-Reply-To: <83edzuwegz.fsf@gnu.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: Po Lu , 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --i8hm523rhd+gVRjY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, ** Eli Zaretskii [2022-06-12 10:03:24 +0300]: >> 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. Yes, exactly that. > Why? What would that gain in user-level terms? I'm using AwesomeWM and it allows me to set windows in different tags (think of them as "workspaces"). I have two "instances" (two a bit different configurations) of Emacs, one for programming and one for other tasks (i.e. they use different packages). I prefer to run first instance ("other") on "emacs" tag while second instance is placed in "misc" tag. Of course, this is WM (X actually) dependent feature and I'm not sure if it would work on Wayland. Now I build emacs with 'pgtk' and didn't check how it works. --- WBR, Vladimir Lomov --=20 McGowan's Madison Avenue Axiom: If an item is advertised as "under $50", you can bet it's not $19.95. --i8hm523rhd+gVRjY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQaopaKwcQWyz7yQfAHGfInzJc4BQUCYqf6mAAKCRAHGfInzJc4 Bd+EAQDKLEnyfX5pDKRY1oJgz9Rmbiam3lC3CtLXnThlo2A/8QEA2gguWwcqHMLW rDYdyHSlfxPY+Pe2lRmC+VOzQZh+1wY= =uq2y -----END PGP SIGNATURE----- --i8hm523rhd+gVRjY-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 00:13:31 2022 Received: (at 41719) by debbugs.gnu.org; 14 Jun 2022 04:13:31 +0000 Received: from localhost ([127.0.0.1]:60883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0xvn-0000co-Cu for submit@debbugs.gnu.org; Tue, 14 Jun 2022 00:13:31 -0400 Received: from sonic306-22.consmr.mail.ne1.yahoo.com ([66.163.189.84]:37132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0xvk-0000cV-Ax for 41719@debbugs.gnu.org; Tue, 14 Jun 2022 00:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655180003; bh=ZlqU8G9mTXxDy8j+B3wDqafPtvdbqiimBS3spAysu+A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=EZy5uS75xK2PMC5xTd8ismPqblbwEbPemDx0OEpMion9HjTcJDJFGguve078r4qmbk/U+UI2p2WTUyvhMzhlI2E0rZGkjyTBFEWEE5IxmCZ/o5WwQAD6meATU0+3TylrvogI8nJ3ZXMWMfEe+UpjQSiUx4FOkXI1eqR3tjBopgNHJuPDQYpOTnOduC2V5eSoMoPrukq0FpNnVCbw71ecjk+7cXyexdP/Q26Il3LjWXApWBn041BvprSp6+qIusWQIuWYtKk4pLhqie3gXJ0q1iSQyedYlPcRgVq36XOuq2puSYFGrTduHF64VGbIK04l0QnyPeWtyyiwHRg0nKne2g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655180003; bh=75C5auA1CuGIEQy6lW7Z9c6YN0tkyuwDQw4ESfe5+qA=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ZHJ0XfKHxeaFT/k5iIyzNvRCxlKCIUx2UjrKg6b5el8UHUoR19S5uGdoyiQMdMHcHr5UC2+x8sU3zUe1vQ3TwGNjzBud1R9PMJX5HvDOi1yQ8i80pM7SVuIih7WzCvm/fMfBcj3OpmPn3qUuRwswx7TXt7+esxYVSnWJM41tz8CeiZxuSH23d02Fn1HcSxCxZ82TdU9mgbn9aWI78MMNnjz++RTQvW76NFsydsNkt0S8bq7SyAtE18LGbSlMDHXX6wTccykSmAWI81OZbJL2rR1zIwRsRHWGbETvefSSI054VgR4vROSXcj9Zge440VEt8fXSGWNZtcDZLfWBMqT9Q== X-YMail-OSG: 81yvmeQVM1nZcU7yubJgPb6T3SKrwyYZQPFZKbUoC6chWI0jCD.fVKGHS615UiG 92zfqatDKyHmkkUvETq3LA1TFzjXGHj6H3hW6bkdOs25Oul8WhoqXyiiwYqVhADQh0jQN1R.it3i iAyacIkNsk_jrNHyFYajunsj_K7EKDZegbvXy84ywaKySH3LiJEYmjS7815Yp2xmjfa6HFCpS.ra tRF2Y7qfAFL9NFz2tBrmvIuxBlifucjgir.jjt4gthVDNR_b5rYxf5x.ylIIADHFnz7K6W_AsRWj JfwrozzmPnKWVjQUfFR3I4YC7PWtMEV2LoRjBrrd0wl0WIwecarFLtkDdyoIMR1CQ2GudlQ_qQqf hFIXVgNsD5IxWyVo0.pfhDkvNJn_ok.PLUo0UKM6AIknu_6t1GjKYg6Sc4YJJpLwel8FlMYnZJXa 2WvFWH7VNO9f_LN048trMus_qfEal.NMZKDvHDwzZEcYZwDNxxwAI_Y5.rMYEFV7PKQJoUWVmQeC TvZ7heU9SRh_B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mOJLsUjvnZrLlYFYip7Hf8lnaZmk5T4o3CNA9MwDtlOfQ Rq9ooD_.xN.8U6LX6ZYYwxJweYe5Y_S8iusb2OewPzLw8NuXf1jh.wHomCcojrhvdBBv8aEz65ZN iaa89tPXV0vhDVs7_VsdH8rg5TQYawne.hQZlzUR7Q9YhZ.IZoLZAyrcKBh96wLtYTP_.t6GXyDT fKVAfdfG1S6aoJT.qggYAOzzd82J10kr18YUsTVyNdXNlstzOrL4ka1fDbfpItHRu85NVfyay.Er tFF_QYY2qTOvrbrIXCS0b1Qo_cyjMW9eGkjiWQGP56swGO6ZN6.hfSmnlENWFw5rFE9L6nUh7n_7 yymkEelQWqlaGeTVIm6ZMHQnSllyySuFc_gUVdgoqpH59B2KgGa_iKF6PoCrUhHAzDq4jhTGHtYg tm_B4NyxVTr111RyHn6kEB1hpyvG3mI1D9pBNIKN0tH6ddMa5xao_3k7XIG_fSSNSLL9UVnjJq_V S7O_M2Q._N_stgdTch3MlhmrwuG.0vvSitYLkTmcfeogjMsPyTsF0oXeU_9rIFs2fKcCTHGDSxr_ G1R3qsZRtGv5GTkZ2KWSeciGsfBCY0ZDPVRvPFclqOoM1m70WSsPq7FXMK40Tm7TjkHEQlza.5.w 52A9rjN47URjXlkQYPlBLnZ.EOXe5mCUUKR2OQymcyjmBaeWEhpWr7R.8Yw-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Tue, 14 Jun 2022 04:13:23 +0000 Received: by hermes--canary-production-sg3-5f7658c994-bv4wk (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ca2f05aa4234ef38e4c1cef88b42cb3e; Tue, 14 Jun 2022 04:13:18 +0000 (UTC) From: Po Lu To: Vladimir Lomov Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> Date: Tue, 14 Jun 2022 12:13:13 +0800 In-Reply-To: (Vladimir Lomov's message of "Tue, 14 Jun 2022 11:04:06 +0800") Message-ID: <87y1xzanmu.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 929 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: Eli Zaretskii , 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Vladimir Lomov writes: > I'm using AwesomeWM and it allows me to set windows in different tags (think > of them as "workspaces"). I have two "instances" (two a bit different > configurations) of Emacs, one for programming and one for other tasks (i.e. > they use different packages). I prefer to run first instance ("other") on > "emacs" tag while second instance is placed in "misc" tag. AwesomeWM should provide a different mechanism, such as one based on the WM_NAME property instead. Setting the WM_CLASS to something other than `x-resource-name' and `x-resource-class' is not supported on GTK builds, and is probably a bad idea, since it will mess with X resources. > Of course, this is WM (X actually) dependent feature and I'm not sure if it > would work on Wayland. Now I build emacs with 'pgtk' and didn't check how it > works. It can't work on Wayland, since the WM_CLASS doesn't exist there. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 02:00:24 2022 Received: (at 41719) by debbugs.gnu.org; 14 Jun 2022 06:00:24 +0000 Received: from localhost ([127.0.0.1]:60931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0zbE-0003XH-0t for submit@debbugs.gnu.org; Tue, 14 Jun 2022 02:00:24 -0400 Received: from forward500p.mail.yandex.net ([77.88.28.110]:40026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0zb9-0003Ww-QO for 41719@debbugs.gnu.org; Tue, 14 Jun 2022 02:00:22 -0400 Received: from myt6-3955a48a7d81.qloud-c.yandex.net (myt6-3955a48a7d81.qloud-c.yandex.net [IPv6:2a02:6b8:c12:1eae:0:640:3955:a48a]) by forward500p.mail.yandex.net (Yandex) with ESMTP id 92F4FF00E16; Tue, 14 Jun 2022 09:00:13 +0300 (MSK) Received: from myt6-9bdf92ffd111.qloud-c.yandex.net (myt6-9bdf92ffd111.qloud-c.yandex.net [2a02:6b8:c12:468a:0:640:9bdf:92ff]) by myt6-3955a48a7d81.qloud-c.yandex.net (mxback/Yandex) with ESMTP id JcLoPBvtGG-0Dg8shZK; Tue, 14 Jun 2022 09:00:13 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1655186413; bh=ZUvhN4p7kzcKa1+ItXuV9CMLPLlKHSShjD1cTw5rVwo=; h=In-Reply-To:Subject:Cc:To:From:References:Date:Message-ID; b=MOkd4ox7Eua4/oFVDFZYpYXSD3MQrBEv5Rtl9qtoCo+wsI/+EFyItQ/E4aC7fTwGM qLGkZ2Z9aN5HozYWLtKFcP4N1gmHXSLOAYbN4rER73FE4CdV97NmGMh0ZDYsquZ7DY Y4WA6CHW3a86zhmBqMx0Wc+j982q3PVey0Xx7X3g= Authentication-Results: myt6-3955a48a7d81.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt6-9bdf92ffd111.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id tuj5yaeNkL-0CMWYCve; Tue, 14 Jun 2022 09:00:12 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Received: by smoon.bkoty.ru (Postfix, from userid 1000) id 4LMd7v0XBKz8wv; Tue, 14 Jun 2022 14:00:11 +0800 (+08) Date: Tue, 14 Jun 2022 14:00:11 +0800 From: Vladimir Lomov To: Po Lu Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Message-ID: References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <87y1xzanmu.fsf@yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1UkQA3RDnASR/S5Z" Content-Disposition: inline In-Reply-To: <87y1xzanmu.fsf@yahoo.com> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719 Cc: Eli Zaretskii , 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --1UkQA3RDnASR/S5Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, ** Po Lu [2022-06-14 12:13:13 +0800]: > Vladimir Lomov writes: >> I'm using AwesomeWM and it allows me to set windows in different tags (t= hink >> of them as "workspaces"). I have two "instances" (two a bit different >> configurations) of Emacs, one for programming and one for other tasks (i= =2Ee. >> they use different packages). I prefer to run first instance ("other") on >> "emacs" tag while second instance is placed in "misc" tag. > AwesomeWM should provide a different mechanism, such as one based on the > WM_NAME property instead. Yes, I checked and indeed WM_NAME is different for these two instances. I'll change my AwesomeWM configuration to use this variable. > Setting the WM_CLASS to something other than `x-resource-name' and > `x-resource-class' is not supported on GTK builds, and is probably a bad > idea, since it will mess with X resources. >> Of course, this is WM (X actually) dependent feature and I'm not sure if= it >> would work on Wayland. Now I build emacs with 'pgtk' and didn't check ho= w it >> works. > It can't work on Wayland, since the WM_CLASS doesn't exist there. I agree, that's why I think now it is worthless to change anything in this area. Right now I use very little Wayland DE (GNOME), so didn't investigate how to work with frames in Wayland. I think this ticket should be closed. --- WBR, Vladimir Lomov --=20 If you are afraid of loneliness, don't marry. -- Anton Chekhov --1UkQA3RDnASR/S5Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQaopaKwcQWyz7yQfAHGfInzJc4BQUCYqgj5QAKCRAHGfInzJc4 BSYiAP4nOKH4clk06pxzVGuzqAIWtJpXMWzQlQSE5MxAAioElgD/e+6/3Ov1Y/RZ wrT7N/zPq+THNk6VHagWtYP0lbVZdwY= =hSLf -----END PGP SIGNATURE----- --1UkQA3RDnASR/S5Z-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 02:20:05 2022 Received: (at 41719-done) by debbugs.gnu.org; 14 Jun 2022 06:20:05 +0000 Received: from localhost ([127.0.0.1]:60946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0zuG-0003zv-W7 for submit@debbugs.gnu.org; Tue, 14 Jun 2022 02:20:05 -0400 Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]:33328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0zuA-0003zH-C5 for 41719-done@debbugs.gnu.org; Tue, 14 Jun 2022 02:20:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655187593; bh=BIteo+Li1m5FiDUUyX6WRioozFFj37wN66qjzSCueTc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=mCvWj+lCND6tmfdny/yh6rzd1ZYR+lFF1LLO8HKaK/O3M2OhU93f02nv9ZjsNLzVUE/QWfpTGlHUZqzDMESpGkwneQDLErxzLKv7FMVvonWD2/ziUeLz4iKYrY7jdSZKgrLCvq8anlrgy+XjBc4+rAt+t0tG3/8NidxrJ++2Qcz8VhCIq4LSMcUO5oDwxZp004B6XBbDWz18q1CqwcypWmZtBtvs9w1UWFlmjNN5i6U1xjgYliJJSka8Wrr5b7XJBygnZQ37Y6WFcvI+JYzcmpH48ZYmdJcvZ0/XMzCnEDtkh+SIPigyuH20P01k8KhqaSEekfllEmeHHPpZkFBWgg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655187593; bh=a1UvvQfrcyEZj1xbnxEmW1JOWsZDMS5ziaEd2UkHWXM=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=npr2F2nV2rwbAQo+iVgpnCkXXyy/FBXvyQZOE8DwCQ3rWklDmE06/836m3rUAaGUfJ4MeEfQUWCzGcBfn/2Qx9XfXUiU9JQFy3CQwUFoatI4d001/FXr2XepokHcerovdZDg6PgvjXO2+m7cs2RHWjVz0nGVeu+H/1wo3GBAXqd8hFvJdqwVQpnD9215m3idIO0sxbZe7JpBUwB85OC6QpTzLm4nqVqIWic+N3YPyw5pLhSkzzCyMLouYMQX1O8uv8Kf7YJod/6OJlLaQXE38qcpkZxsybh6M/KOwK2svmXUds+AtpuDsFeswsUuAN7vW8qxeqMw/hK41C2dPOhUPQ== X-YMail-OSG: IuUdXSQVM1nNQSGCBYciOwmuek9CPZGI6y3MLzsZOeb2yew0amjgpgQfE8T4WoI haNADU0567Qdrfo6xrmNfOXtl1y7IgqgsTGLTwenKpOLmIp_6xXt_R8mbOmNbz4btAZ3BcjiINWz XSmJgNIq1_E7Uc1Cg1kEeur4oK3_msMQdHRUdlTYrPHhhgEvz9dbq8Ij.TazDU7iDA8.k_sT4KTY hEIfwfYEyJffTgy51Zwm_4FMX4.DTdQIG9IfPtlcb9tLKaZiWBY2gxIn9giK9AaIVkRLneJhU8sI AdOT2giuj1MSOXWyafjDpopv22fmenuuciePanE6LuoqqR5o1y.AVf0e86engH1FOD81BrzjCZBZ _SP5n.8aXIEH2Sq1MZxc0drpmku4XBItvPLFkTsJ7kNxnhMyaaQiA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tSQrV6K.4GT5IjbTqT js2N_cr4RRdSnr09l5gPTAVrTNDjGJvfcaeuy.f4LU70JlBOL275BdERBBF77Jl2eo7.FKE8VQ69 6O_b2GCUCl88vIvub_9ZGyliS1ALNFIoqgJVpDwI_.ZB9jHUe0n.IZLUcDhul1uIPppLbT7VAeO_ YtuW3BGCHMWaMJZBlmhteECqY2NOTEvnkzn2M22880xFa6VkNXz8hCmCNeAWxQggnvzMxsgJXFgw 3DnxLBERM1HoRuAemWn4Ag1jRJdsCtZOIQddkC7pwxEqGZ6rqGyYRR9CLwDsIEDZj7fPqaC4w5W_ Us.b_dRCzDubDBiDXCCVbJHkG2cVS0hQ5iJpJF5OutMYKCOOw_eTOZ51LINU_JPHutGPRotbYZKc j_07jvw9oLaRUwGIg2XqgCcTRyTHF5LLFKKhuWr69J7z4knUIWRE_8lO0xtnx3EjNEGbFDJZPGxk 2HFgvgcxqge_6UGXrwJygajxg5KjyniBDgUaSas8PLefRCAZru3nBWb18HQwFQEfR7si7XydnsuK g675smiRbq9zmUd40LQWrrw4qG9IJjQlmVdAsvVCSV1K4uG_iOu91nq7AZsZX8F05dkQbSsHCd2g MeuygQpA7Dn_7CsQ6XfNPRxCbYWSBxVP7HT4WVlGVPsP45GD2XdCt7FaYXroRkrlZfoP4SXzQ6G4 XjlhW2.hsAA8pC8ZujHi24sTweXmj2R1aofUivsfTK6.8sQpbZyiJYZ_J05aW8Zlq96DvgBPWnoY IZY28r6fGqOGOessIruXwGIgoVocQMzYlDHQvekozqWLNiaFGFeXDSaG_R2Up X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Tue, 14 Jun 2022 06:19:53 +0000 Received: by hermes--canary-production-sg3-5f7658c994-m7v88 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 381ebd1108e67800b275ed58460c439f; Tue, 14 Jun 2022 06:19:46 +0000 (UTC) From: Po Lu To: Vladimir Lomov Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> <87y1xzanmu.fsf@yahoo.com> Date: Tue, 14 Jun 2022 14:19:41 +0800 In-Reply-To: (Vladimir Lomov's message of "Tue, 14 Jun 2022 14:00:11 +0800") Message-ID: <87k09jahs2.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 373 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41719-done Cc: Eli Zaretskii , 41719-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Vladimir Lomov writes: > I agree, that's why I think now it is worthless to change anything in this > area. Right now I use very little Wayland DE (GNOME), so didn't investigate > how to work with frames in Wayland. I wouldn't keep my hopes up. Wayland leaves very little up to the user. > I think this ticket should be closed. Thanks, now done. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 07:24:12 2022 Received: (at 41719) by debbugs.gnu.org; 14 Jun 2022 11:24:13 +0000 Received: from localhost ([127.0.0.1]:33100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o14ea-0005Je-Ma for submit@debbugs.gnu.org; Tue, 14 Jun 2022 07:24:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o14eZ-0005JM-0T for 41719@debbugs.gnu.org; Tue, 14 Jun 2022 07:24:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o14eT-0003hH-Q7; Tue, 14 Jun 2022 07:24:05 -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=R63XkascxerPtpSlJzOGhHfGo2PFpLyXySwsiZ8ZXcI=; b=h+Lw2XNCL6HO ugmqr6oybAhXrwsQ8BJGpRcw4N8Z1Yb5LydiGW8GZLQMfhqXe9xxvdm8OpqlUckoOngFtR9tTw9ss FFqSN1jFsfFjvMLg1eIuutRgUf2kRKdrS4NN160y4mbePiv+Q8/KxxwCtbrriPsQoWaUIyJn+XLLg ABCbsYkEAO8nPlKGCTwIJ+r59Qt0QI24c+kQ+57Tc56kOkjSQsRl/4iHR36V6g2hWla+85lCHSxIe 6wxarMXkQuSILJlR9xPjMqUeKI22DdSv/W1Shbt0nNBlWO2YXH39qG1+DfnAn6H28x7eaGHa2TxN3 otBbUX0ZpHSoCNwIIZnjQg==; Received: from [87.69.77.57] (port=3192 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 1o14eT-00068o-0n; Tue, 14 Jun 2022 07:24:05 -0400 Date: Tue, 14 Jun 2022 14:23:54 +0300 Message-Id: <83edzrtrn9.fsf@gnu.org> From: Eli Zaretskii To: Vladimir Lomov In-Reply-To: (message from Vladimir Lomov on Tue, 14 Jun 2022 11:04:06 +0800) Subject: Re: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs References: <87img65htu.fsf@smoon.bkoty.ru> <87sfoah3gl.fsf@yahoo.com> <83mteiwfxa.fsf@gnu.org> <87fskagzas.fsf@yahoo.com> <83edzuwegz.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41719 Cc: luangruo@yahoo.com, 41719@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Tue, 14 Jun 2022 11:04:06 +0800 > From: Vladimir Lomov > Cc: Po Lu , 41719@debbugs.gnu.org > > I'm using AwesomeWM and it allows me to set windows in different tags (think > of them as "workspaces"). I have two "instances" (two a bit different > configurations) of Emacs, one for programming and one for other tasks (i.e. > they use different packages). I prefer to run first instance ("other") on > "emacs" tag while second instance is placed in "misc" tag. Can't you move each frame via emacsclient's --eval option? From unknown Tue Sep 09 18:21:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 13 Jul 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator