From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Embedding Emacs in other apps Date: Tue, 27 Apr 2010 18:00:26 +0200 Message-ID: <201004271800.26807.tassilo@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272384360 1831 80.91.229.12 (27 Apr 2010 16:06:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2010 16:06:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 27 18:05:58 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O6nIF-0003cY-V4 for ged-emacs-devel@m.gmane.org; Tue, 27 Apr 2010 18:05:56 +0200 Original-Received: from localhost ([127.0.0.1]:58939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6nIC-00015E-SI for ged-emacs-devel@m.gmane.org; Tue, 27 Apr 2010 12:05:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6nDA-0007iD-CF for emacs-devel@gnu.org; Tue, 27 Apr 2010 12:00:36 -0400 Original-Received: from [140.186.70.92] (port=54463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6nD7-0007h2-CY for emacs-devel@gnu.org; Tue, 27 Apr 2010 12:00:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6nD5-0006MF-Ua for emacs-devel@gnu.org; Tue, 27 Apr 2010 12:00:33 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:2031) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6nD4-0006LW-RG for emacs-devel@gnu.org; Tue, 27 Apr 2010 12:00:31 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 4F84E78A4344 for ; Tue, 27 Apr 2010 18:00:29 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24736-06 for ; Tue, 27 Apr 2010 18:00:27 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad.localnet (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 0E6DD78A4163 for ; Tue, 27 Apr 2010 18:00:27 +0200 (CEST) User-Agent: KMail/1.13.2 (Linux/2.6.33-gentoo-r1; KDE/4.4.2; x86_64; ; ) X-Face: `TY6r/ws=N5uqO1E`M=Sups<}n%T[E^o_?MJj List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124247 Archived-At: 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