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: Po Lu <luangruo <at> yahoo.com>
To: Vladimir Lomov <lomov.vl <at> yandex.ru>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 41719 <at> debbugs.gnu.org
Subject: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs
Date: Tue, 14 Jun 2022 12:13:13 +0800
Vladimir Lomov <lomov.vl <at> yandex.ru> 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.




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.