unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-devel@gnu.org
Subject: Embedding Emacs in other apps
Date: Tue, 27 Apr 2010 18:00:26 +0200	[thread overview]
Message-ID: <201004271800.26807.tassilo@member.fsf.org> (raw)

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	other threads:[~2010-04-27 16:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-27 16:00 Tassilo Horn [this message]
2010-04-27 18:14 ` Embedding Emacs in other apps Thierry Volpiatto
2010-04-27 18:38   ` Chong Yidong
2010-04-27 18:42   ` Tassilo Horn
2010-04-27 18:26 ` joakim
2010-04-27 18:43   ` Tassilo Horn
2010-04-28  6:35   ` Tassilo Horn
2010-05-06  6:47     ` Stefan Reichör
2010-04-28 16:45 ` Jan Djärv
2010-04-28 18:06   ` Tassilo Horn
2010-04-28 20:33     ` Jan Djärv
  -- strict thread matches above, loose matches on Subject: below --
2010-05-29 23:53 Chong Yidong
2010-06-06 21:14 ` Eric Schulte
2010-06-07 16:27   ` Tassilo Horn
2010-06-11 14:52   ` Chong Yidong
2010-07-01 23:35     ` Lennart Borgman
2010-07-02  1:52       ` Stephen J. Turnbull
2010-07-02  7:01         ` David Kastrup
2010-07-02  9:13           ` Stephen J. Turnbull
2010-07-02 22:16         ` Chong Yidong
2010-07-02 22:59           ` Chad Brown
2010-07-03  9:04           ` Stephen J. Turnbull
2010-07-03 14:21             ` Chong Yidong

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=201004271800.26807.tassilo@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --cc=emacs-devel@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 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).