Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

two people editing one document

2,156 views
Skip to first unread message

Tobias Vancura

unread,
Mar 1, 2001, 12:46:15 PM3/1/01
to

Hello everybody,

I am aware that it is possible for two people to work on one
document using the "File/Frame on other display" if the
other person accepts X connections to his/her display. But
the session has always to be started by let's say person A
offering a window to person B. Is it possible that person B
starts up his own emacs session and somehow connects to A's
session sharing buffers with him?

Thanks a lot for your help,

Tobias

--
**********************************************************************
Tobias Vancura Email: tvan...@NxOxSxPxAxM.solid.phys.ethz.ch

Jerry James

unread,
Mar 1, 2001, 2:59:29 PM3/1/01
to
On 1 Mar 2001 at 18:46:15 +0100, tvan...@NxOxSxPxAxM.solid.phys.ethz.ch

(Tobias Vancura) wrote:
> I am aware that it is possible for two people to work on one
> document using the "File/Frame on other display" if the
> other person accepts X connections to his/her display. But
> the session has always to be started by let's say person A
> offering a window to person B. Is it possible that person B
> starts up his own emacs session and somehow connects to A's
> session sharing buffers with him?

Funny you should mention that. I've got a couple of students doing
exactly that for a class project this semester. I'll let you know
when/if they produce something usable. Of course, it will be
student-quality code, if you know what I mean...
--
Jerry James

Neil Moore

unread,
Mar 5, 2001, 4:39:42 AM3/5/01
to

If the xemacs on A is running gnuserv, you can do:

gnuclient -q -eval "(make-frame-on-display \"$DISPLAY\")"

on machine B. That will tell A to open the frame on B. You probably
want gnuserv-frame set to t, or else this will pop up *another* frame
on A.

--
Neil Moore, n...@ny.com, ne...@cs.uky.edu, http://tarski.2y.net/~neil/

Jerry James

unread,
Mar 5, 2001, 1:24:49 PM3/5/01
to
On 05 Mar 2001 at 04:39:42 -0500, Neil Moore <ne...@cs.uky.edu> wrote:
> If the xemacs on A is running gnuserv, you can do:
>
> gnuclient -q -eval "(make-frame-on-display \"$DISPLAY\")"
>
> on machine B. That will tell A to open the frame on B. You probably
> want gnuserv-frame set to t, or else this will pop up *another* frame
> on A.

Thanks for the suggestion. However, I'm having these students do
something a little fancier than that. It will allow any number of
people to join an editing group, and will do collision detection (i.e.,
a message saying that two or more of you boneheads are trying to edit
the same part of the document ... as if that wouldn't quickly become
obvious). They'll be doing some performance tuning, etc. It should be
fun, and might actually be useful. :-)
--
Jerry James

Nix

unread,
Mar 10, 2001, 10:09:35 AM3/10/01
to Jerry James
On 05 Mar 2001, Jerry James spake:

> Thanks for the suggestion. However, I'm having these students do
> something a little fancier than that. It will allow any number of
> people to join an editing group, and will do collision detection (i.e.,
> a message saying that two or more of you boneheads are trying to edit
> the same part of the document ... as if that wouldn't quickly become
> obvious). They'll be doing some performance tuning, etc. It should be
> fun, and might actually be useful. :-)

She shemacs project has already done this, but the source is semi-closed
so I don't use it and can't say how good it is.

--
`I put "Update To-Do List" on my to-do list. I'm never sure whether or
not to tick it off.' --- Simon Cozens

0 new messages