help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to use another GUI client and connect it to Emacs?


From: Pascal J. Bourguignon
Subject: Re: Is it possible to use another GUI client and connect it to Emacs?
Date: Fri, 27 Mar 2015 23:46:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

"Tu, Do" <address@hidden> writes:

> For example, is it possible for me to write a package that connects
> Emacs from Firefox and exchange messages, so that I can manipulate
> texts and Firefox layout directly from headless Emacs server?
>
> Firefox is just an example. In general, I want to create a client that
> sends messages to Emacs daemon and receive back messages that tell my
> client how to manipulate my GUI objects and my client then starts
> handling based on the instructions. Currently, how easy it is to
> implement something like that?


With X11, it is possible to create a X window inside another X window,
even if it doesn't belong to the same process.

Therefore, it would be possible to have emacs create an emacs frame
inside another program X window.

Unfortunately, the API to do that is not exported at the elisp level.  A
patch to emacs would be required, and of course, the hosting application
would have to be modified to invoke emacs for its text editing areas.


X11 is under-exploited.

-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk


reply via email to

[Prev in Thread] Current Thread [Next in Thread]