all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Timo Savola <timo.savola@iki.fi>
Cc: "JanD." <jan.h.d@swipnet.se>, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: GtkPlug patch
Date: Tue, 03 Jan 2006 22:29:44 +0200	[thread overview]
Message-ID: <1136320184.7852.45.camel@localhost.localdomain> (raw)
In-Reply-To: <85d5j9f99e.fsf@lola.goethe.zz>

> Question: would this stuff make any difference unless Emacs was called
> in a special way?  Is there some protocol advertising the possibility
> for embedding that might be used by window managers or other
> applications to check for embeddability?

Emacs becomes embeddable only if parent-id is passed to a frame.  A
normally created frame's window doesn't get the _XEMBED_INFO property.
(This is the "alternate method of beginning the protocol" mentioned in
the "Embedding life cycle" section of the XEmbed spec.)

> If all of this is not the case, then the respective code paths would
> basically just get exercised when one explicitly does something that
> one could not do before.  If there are just a few such code spaces,
> the impact on the general release quality would be negligible.

I was thinking that perhaps the functionality could be implemented
internally (emacs-gtkplug.patch, emacs-parent-fix.patch) even if the
command-line interface change (emacs-parentid.patch) is too radical at
this point.

Is modifying the initial-frame-alist using --eval or some other means
possible before the frame is created?  Is it possible to use --batch to
bootstrap and run the Emacs main loop?  If so, embedders could set the
parent-id manually while the XEmbed functionality is experimental.

> How hard will it be to integrate those patches (or the respective
> functionality) after the release?  Would it make sense to integrate
> them already in the multi-tty branch, or should we rather store them
> somewhere separately after the release?  Separate branch?

The current patches are quite trivial.  I guess a bigger question is:
against which branch should the Xlib/Xt version be implemented?

(A decentralized revision control system would help here.)

> Does this make sense?  Or would the authors of this patch prefer to
> try their hand again from a clean head after release?

I prefer to do what's best...

timo

  reply	other threads:[~2006-01-03 20:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-26 23:09 GtkPlug patch Timo Savola
2005-12-29  7:02 ` Timo Savola
2005-12-31 11:06   ` Jan Djärv
2005-12-31 11:23     ` Jan Djärv
2005-12-31 17:24     ` mr mike
2006-01-01  2:14       ` Richard M. Stallman
2006-01-01 15:57         ` Jan Djärv
2006-01-02  0:25           ` Richard M. Stallman
2006-01-02  9:18             ` Timo Savola
2006-01-02  9:51               ` Timo Savola
2006-01-02 23:48               ` Richard M. Stallman
2006-01-03  8:45                 ` Timo Savola
2006-01-03  7:53             ` Jan D.
2006-01-03 18:27               ` Richard M. Stallman
2006-01-03 18:37                 ` David Kastrup
2006-01-03 20:29                   ` Timo Savola [this message]
2006-01-04  6:15                     ` Richard M. Stallman
2006-01-04 22:11                     ` Jan D.
2006-01-04 22:09                   ` Jan D.
2006-01-05  6:13                     ` Timo Savola
2006-01-05 10:34                       ` Jan D.
2006-01-03 13:41 ` Lőrentey Károly

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=1136320184.7852.45.camel@localhost.localdomain \
    --to=timo.savola@iki.fi \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=rms@gnu.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 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.