From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Bonow Newsgroups: gmane.emacs.help Subject: Re: Embedding external application in emacs (or using emacs to control exeternal application) Date: Tue, 28 Oct 2008 20:19:17 +0100 Message-ID: <87k5bs7cju.fsf@post.rwth-aachen.de> References: <87wsfs7fzi.fsf@post.rwth-aachen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225222995 25613 80.91.229.12 (28 Oct 2008 19:43:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2008 19:43:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 28 20:44:16 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KuuUC-0005bX-AV for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Oct 2008 20:44:16 +0100 Original-Received: from localhost ([127.0.0.1]:53808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuuT6-0006lx-1t for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Oct 2008 15:43:08 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-X-Trace: news.dfncis.de 2FWzqsQ3j77IN5BmuCw2/w/+/+sWZPMdciwVwFG7xiFK6+wjCq6vi8SNmG Cancel-Lock: sha1:OsH662ODH7rzrLcs9BW109s1cBM= sha1:IrnT0KeclQb9FPM1Lw1ye79d/Jc= User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) Original-Xref: news.stanford.edu gnu.emacs.help:163883 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59223 Archived-At: >>>>> "Corey" == Corey Foote writes: >> I don't think your first scenario is possible, but here I'm way out of my >> depth. Just guessing because I don't know of any other "embedded" app. Corey> What modifications to Emacs would be necessary to make it possible? Corey> (I'm guessing this would have to be done in C.) Uh oh, big ones, I guess ;-) The (upcoming?) Emacs 23 supports the XEmbed specification. I'm quoting from the "News file: "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 I don't think that this implies the other way round, the case that you want. This is out of my league, maybe you should post this on the developer mailing list. Toto PS: Please don't eMail me your postings. I have a lot and important work to do, therefore checking my news on a 5 minute basis ;-) -- Contact information and PGP key at http://www.withouthat.org/~toto/contact.html If two or three people stop smoking as a result of anything I have ever written then the one of them who would have got cancer will live and all my scribblings will have been worthwhile. Ivan Noble, 1967-2005 The closing words of his final column, "Tumour diary".