emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Embedding Emacs in other apps


From: Tassilo Horn
Subject: Embedding Emacs in other apps
Date: Tue, 27 Apr 2010 18:00:26 +0200
User-agent: KMail/1.13.2 (Linux/2.6.33-gentoo-r1; KDE/4.4.2; x86_64; ; )

Hi all,

I've wondered if it is possible to embed emacs in other applications, so
for example that I can edit textfields in my browser using emacs.  I
quickly found this NEWS entry for emacs 23.

,----
| *** Emacs now supports the XEmbed specification.
| You can embed Emacs in another application on X11.  The new command line
| option --parent-id is used to pass the parent window id to Emacs.  See
| http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html
| for details about XEmbed.
`----

But this --parent-id option is only available to emacs, not emacsclient.
Is that intended or technically not feasible otherwise?  My emacs needs
about 20 seconds to start, but I always have a server instance in the
background.  Clearly, I wouldn't want to wait 20 secs to start editing
some textfield, but simply embed a new frame...

The --parent-id option isn't documented in the texinfo docs, btw...

And the other thing: Is there some example code showing how I can embed
emacs in my own application?

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]