all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: emacs-devel@gnu.org
Subject: Re: Embedding Emacs in other apps
Date: Wed, 28 Apr 2010 18:45:45 +0200	[thread overview]
Message-ID: <4BD86639.3010702@swipnet.se> (raw)
In-Reply-To: <201004271800.26807.tassilo@member.fsf.org>



Tassilo Horn skrev 2010-04-27 18.00:

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

It should be possible to pass it along to  an emacs daemon.  Parent id is just 
another frame parameter, that --parent-id sets in initial-frame-alist.
Nobody saw the need, or did the code yet, thats all.

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

There are some out of date documentation, but its within an @ignore:

@ignore
@item parent-id
@c ??? Not yet working.
The X window number of the window that should be the parent of this one.
Specifying this lets you create an Emacs window inside some other
application's window.  (It is not certain this will be implemented; try
it and see if it works.)
@end ignore


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

I have some Gtk+ examples, it is easy there.  But maybe you want straight X 
examples?

	Jan D.





  parent reply	other threads:[~2010-04-28 16:45 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-27 16:00 Embedding Emacs in other apps Tassilo Horn
2010-04-27 18:14 ` 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 [this message]
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

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

  git send-email \
    --in-reply-to=4BD86639.3010702@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=tassilo@member.fsf.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.