From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: how to implement xembed in emacs? Date: Sun, 16 Dec 2007 12:03:47 +0100 Message-ID: <47650613.9050404@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197803185 27752 80.91.229.12 (16 Dec 2007 11:06:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2007 11:06:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 16 12:06:36 2007 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.50) id 1J3rKN-0006bT-7L for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2007 12:06:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J3rK4-0003M2-5R for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2007 06:06:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J3rIM-0002I7-O8 for emacs-devel@gnu.org; Sun, 16 Dec 2007 06:04:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J3rII-0002EH-4u for emacs-devel@gnu.org; Sun, 16 Dec 2007 06:04:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J3rIH-0002E4-TB for emacs-devel@gnu.org; Sun, 16 Dec 2007 06:04:25 -0500 Original-Received: from av11-1-sn2.hy.skanova.net ([81.228.8.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J3rIG-0002m4-O8 for emacs-devel@gnu.org; Sun, 16 Dec 2007 06:04:25 -0500 Original-Received: by av11-1-sn2.hy.skanova.net (Postfix, from userid 502) id F2A8738815; Sun, 16 Dec 2007 12:04:14 +0100 (CET) Original-Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av11-1-sn2.hy.skanova.net (Postfix) with ESMTP id DFB0C3879B; Sun, 16 Dec 2007 12:04:14 +0100 (CET) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 89EB837E42; Sun, 16 Dec 2007 12:04:14 +0100 (CET) User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." 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:85179 Archived-At: There already exist a patch for this from Timo Savola. It has not been installed yet, but will be once unicode2 becomes HEAD. Jan D. joakim@verona.se skrev: > Hello, > > I'm interested in the possibility of using xembed in emacs: > > http://standards.freedesktop.org/xembed-spec/xembed-spec-0.5.html > > There are patches to make emacs embaddable in other applications: > > http://timo.stc.cx/tmp/emacs/ > > which seems nice and worthwile of inclusion in emacs, but I'm in this > case talking about embedding other applications in emacs. > > I'm thinking of doing a proof-of-concept hack that would implement a > new dummy image type. The image would simply not render. Instead it > would read a window id from a file and call XReparentWindow, with the > coordinates given by emacs to the image. This scheme might work > somewhat, but: > > How can this be achieved properly in emacs? > >