unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to set the instance name of a new emacs frame?
@ 2006-06-15 17:11 stefano.sabatini-lala
  2006-06-15 17:22 ` RjjdBae
  0 siblings, 1 reply; 3+ messages in thread
From: stefano.sabatini-lala @ 2006-06-15 17:11 UTC (permalink / raw)


With the command line command:
$ emacs --name="foobar" &

is possible to define the instance name of the main emacs window.

I ask is it possible to define or modify the name of the instance of a
new frame created with:
(make-frame)
?

It would be very practical, for example to define the instance name for
the emacs speedbar window, that will be so recognized by some
instance-name-aware WM (as sawfish).

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to set the instance name of a new emacs frame?
  2006-06-15 17:11 How to set the instance name of a new emacs frame? stefano.sabatini-lala
@ 2006-06-15 17:22 ` RjjdBae
  2006-06-15 17:28   ` stefano.sabatini-lala
  0 siblings, 1 reply; 3+ messages in thread
From: RjjdBae @ 2006-06-15 17:22 UTC (permalink / raw)


How about
(set-frame-name "Your-choice-of-name")

Bob

stefano.sabatini-lala@poste.it wrote:
> With the command line command:
> $ emacs --name="foobar" &
>
> is possible to define the instance name of the main emacs window.
>
> I ask is it possible to define or modify the name of the instance of a
> new frame created with:
> (make-frame)
> ?
>
> It would be very practical, for example to define the instance name for
> the emacs speedbar window, that will be so recognized by some
> instance-name-aware WM (as sawfish).

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to set the instance name of a new emacs frame?
  2006-06-15 17:22 ` RjjdBae
@ 2006-06-15 17:28   ` stefano.sabatini-lala
  0 siblings, 0 replies; 3+ messages in thread
From: stefano.sabatini-lala @ 2006-06-15 17:28 UTC (permalink / raw)



RjjdBae escreveu:
> How about
> (set-frame-name "Your-choice-of-name")
>
> Bob

(set-frame-name "foo")
set the "title" of the frame, but not the instance name.

>From xprop I get:
WM_ICON_NAME(STRING) = "foo"
WM_NAME(STRING) = "foo"

*but*

WM_CLASS(STRING) = "emacs21", "Emacs"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-15 17:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-15 17:11 How to set the instance name of a new emacs frame? stefano.sabatini-lala
2006-06-15 17:22 ` RjjdBae
2006-06-15 17:28   ` stefano.sabatini-lala

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).