GNU bug report logs - #41719
28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3

Previous Next

Package: emacs;

Reported by: Vladimir Lomov <lomov.vl <at> yandex.ru>

Date: Fri, 5 Jun 2020 03:11:02 UTC

Severity: wishlist

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Vladimir Lomov <lomov.vl <at> yandex.ru>
Cc: 41719 <at> debbugs.gnu.org
Subject: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs
Date: Fri, 05 Jun 2020 12:14:11 +0100
Vladimir Lomov <lomov.vl <at> 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 <at> 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




This bug report was last modified 3 years and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.