From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: lomov.vl@yandex.ru, 41719@debbugs.gnu.org
Subject: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs
Date: Sun, 12 Jun 2022 09:32:01 +0300 [thread overview]
Message-ID: <83mteiwfxa.fsf@gnu.org> (raw)
In-Reply-To: <87sfoah3gl.fsf@yahoo.com> (bug-gnu-emacs@gnu.org)
> 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" <bug-gnu-emacs@gnu.org>
>
> Vladimir Lomov <lomov.vl@yandex.ru> 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?
next prev parent reply other threads:[~2022-06-12 6:32 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-05 3:09 bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Vladimir Lomov
2020-06-05 11:14 ` Basil L. Contovounesios
2020-06-05 16:53 ` Vladimir Lomov
2020-06-06 12:36 ` Dmitry Alexandrov
2020-06-06 14:52 ` Vladimir Lomov
2020-06-06 17:08 ` Dmitry Alexandrov
2020-06-06 18:24 ` Dmitry Alexandrov
2020-06-07 14:26 ` 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) Vladimir Lomov
2020-06-07 16:15 ` bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3 Dmitry Alexandrov
2020-06-09 7:12 ` Vladimir Lomov
2022-02-10 7:17 ` Lars Ingebrigtsen
2022-03-12 22:45 ` Lars Ingebrigtsen
2022-06-11 13:00 ` bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is Colin Horne
2022-06-11 13:46 ` Colin Horne
2022-06-12 5:10 ` bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12 6:32 ` Eli Zaretskii [this message]
2022-06-12 6:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12 7:03 ` Eli Zaretskii
2022-06-12 7:06 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12 7:26 ` Eli Zaretskii
2022-06-12 7:52 ` Visuwesh
2022-06-12 8:00 ` Eli Zaretskii
2022-06-12 8:47 ` Visuwesh
2022-06-12 8:02 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12 8:20 ` Andreas Schwab
2022-06-12 8:49 ` Visuwesh
2022-06-12 8:27 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12 8:54 ` Visuwesh
2022-06-12 9:11 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-14 3:04 ` Vladimir Lomov
2022-06-14 4:13 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-14 6:00 ` Vladimir Lomov
2022-06-14 6:19 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-14 11:23 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83mteiwfxa.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=41719@debbugs.gnu.org \
--cc=lomov.vl@yandex.ru \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.