* how to implement xembed in emacs?
@ 2007-12-15 22:59 joakim
2007-12-16 11:03 ` Jan Djärv
0 siblings, 1 reply; 5+ messages in thread
From: joakim @ 2007-12-15 22:59 UTC (permalink / raw)
To: emacs-devel
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?
--
Joakim Verona
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to implement xembed in emacs?
2007-12-15 22:59 how to implement xembed in emacs? joakim
@ 2007-12-16 11:03 ` Jan Djärv
2007-12-16 11:24 ` joakim
0 siblings, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2007-12-16 11:03 UTC (permalink / raw)
To: joakim; +Cc: emacs-devel
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?
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to implement xembed in emacs?
2007-12-16 11:03 ` Jan Djärv
@ 2007-12-16 11:24 ` joakim
2007-12-16 16:29 ` Jan Djärv
0 siblings, 1 reply; 5+ messages in thread
From: joakim @ 2007-12-16 11:24 UTC (permalink / raw)
To: emacs-devel
Jan Djärv <jan.h.d@swipnet.se> writes:
> There already exist a patch for this from Timo Savola. It has not
> been installed yet, but will be once unicode2 becomes HEAD.
Yes, its the patch I mention below. However, as far as I can
determine, the patch implements the case of embedding emacs in other
applications, not the case of embedding other applications in
emacs. Am I wrong?
>
> 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?
>>
>>
--
Joakim Verona
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to implement xembed in emacs?
2007-12-16 11:24 ` joakim
@ 2007-12-16 16:29 ` Jan Djärv
2007-12-16 16:27 ` joakim
0 siblings, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2007-12-16 16:29 UTC (permalink / raw)
To: joakim; +Cc: emacs-devel
joakim@verona.se skrev:
> Jan Djärv <jan.h.d@swipnet.se> writes:
>
>> There already exist a patch for this from Timo Savola. It has not
>> been installed yet, but will be once unicode2 becomes HEAD.
>
> Yes, its the patch I mention below. However, as far as I can
> determine, the patch implements the case of embedding emacs in other
> applications, not the case of embedding other applications in
> emacs. Am I wrong?
>
Ah, I didn't read carefully enough. You are not wrong. I don't know if there
is some legal issues with this, but you should check that out first.
Jan D.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to implement xembed in emacs?
2007-12-16 16:29 ` Jan Djärv
@ 2007-12-16 16:27 ` joakim
0 siblings, 0 replies; 5+ messages in thread
From: joakim @ 2007-12-16 16:27 UTC (permalink / raw)
To: emacs-devel
Jan Djärv <jan.h.d@swipnet.se> writes:
> joakim@verona.se skrev:
>> Jan Djärv <jan.h.d@swipnet.se> writes:
>>
>>> There already exist a patch for this from Timo Savola. It has not
>>> been installed yet, but will be once unicode2 becomes HEAD.
>>
>> Yes, its the patch I mention below. However, as far as I can
>> determine, the patch implements the case of embedding emacs in other
>> applications, not the case of embedding other applications in
>> emacs. Am I wrong?
>>
>
> Ah, I didn't read carefully enough. You are not wrong. I don't know
> if there is some legal issues with this, but you should check that out
> first.
There should be no problem if all applications use compatible
licenses, right? So there should be only technical issues.
GTK has support for embedding:
http://library.gnome.org/devel/gtk/unstable/GtkSocket.html
using that method would mean that native gtk widgets should be implemented
inside an emacs buffer.
>
> Jan D.
--
Joakim Verona
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-12-16 16:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-15 22:59 how to implement xembed in emacs? joakim
2007-12-16 11:03 ` Jan Djärv
2007-12-16 11:24 ` joakim
2007-12-16 16:29 ` Jan Djärv
2007-12-16 16:27 ` joakim
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.