unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vladimir Lomov <lomov.vl@yandex.ru>
To: Dmitry Alexandrov <dag@gnui.org>
Cc: 41719@debbugs.gnu.org
Subject: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3
Date: Tue, 9 Jun 2020 15:12:53 +0800	[thread overview]
Message-ID: <20200609071253.GL846@smoon.bkoty.ru> (raw)
In-Reply-To: <8sgyua1f.dag@gnui.org>

[-- Attachment #1: Type: text/plain, Size: 2360 bytes --]

Hello,
** Dmitry Alexandrov <dag@gnui.org> [2020-06-07 19:15:40 +0300]:

> Vladimir Lomov <lomov.vl@yandex.ru> 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, is a
> bug. Itʼs not necessary a bug in Emacs, though. Maybe, besides declaring a
> ability to set a window class deprecated [1], GTK developers had actually
> broken it.

> [1] <https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-wmclass>:

> |	gtk_window_set_wmclass has been deprecated since version 3.22 and should not be used in newly-written code.
> |
> | Don’t use this function. It sets the X Window System “class” and “name”
> | 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 positions when loading a saved session.

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

-- 
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"]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2020-06-09  7:12 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200609071253.GL846@smoon.bkoty.ru \
    --to=lomov.vl@yandex.ru \
    --cc=41719@debbugs.gnu.org \
    --cc=dag@gnui.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).