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

sharing files?

1 view
Skip to first unread message

Mike

unread,
Nov 14, 2004, 4:42:01 PM11/14/04
to
I'm really not sure how to word what I'm think of. I'm searching for
some way to share files among team members using emacs. Sort of like
a wiki, but maybe more something that is a buffer that has a process
that looks once a minute or so to see if the file mtime has been
modified, then reloads the buffer. Something where we can all see
what's going on... maybe a running list of tasks, or a white-board,
or an in/out board, ...?

Yes, this is vague, can you help me fill out the idea?

Mike

Pascal Bourguignon

unread,
Nov 14, 2004, 6:17:38 PM11/14/04
to
Mike <mi...@mikee.ath.cx> writes:

make-frame-on-display allow you to open frames on several screens,
then each user can type in the same buffer in the same emacs.

For example, on host2: xhost +host1
on host3: xhost +host1
on host1: emacs &
on host1: M-x make-frame-on-display RET host2 RET
on host1: M-x make-frame-on-display RET host3 RET


--
__Pascal Bourguignon__ http://www.informatimago.com/
The world will now reboot; don't bother saving your artefacts.

Mike

unread,
Nov 14, 2004, 8:19:04 PM11/14/04
to
In article <87sm7cn...@thalassa.informatimago.com>, Pascal Bourguignon wrote:
> Mike <mi...@mikee.ath.cx> writes:
>
>> I'm really not sure how to word what I'm think of. I'm searching for
>> some way to share files among team members using emacs. Sort of like
>> a wiki, but maybe more something that is a buffer that has a process
>> that looks once a minute or so to see if the file mtime has been
>> modified, then reloads the buffer. Something where we can all see
>> what's going on... maybe a running list of tasks, or a white-board,
>> or an in/out board, ...?
>>
>> Yes, this is vague, can you help me fill out the idea?
>
> make-frame-on-display allow you to open frames on several screens,
> then each user can type in the same buffer in the same emacs.
>
> For example, on host2: xhost +host1
> on host3: xhost +host1
> on host1: emacs &
> on host1: M-x make-frame-on-display RET host2 RET
> on host1: M-x make-frame-on-display RET host3 RET
>
>

That's neat. I had not heard/read the emacs could do that. I'm thinking
less of a white-board, though I said that, I'm thinking really of
something like a snippet of code that looks for timestamp changes and
reloads the buffer. It's not real-time, but should allow sharing of
ideas, issues, etc. What do you think?

Mike

Bulent Murtezaoglu

unread,
Nov 14, 2004, 8:37:16 PM11/14/04
to
>>>>> "M" == Mike <mi...@mikee.ath.cx> writes:
[...]
M> That's neat. I had not heard/read the emacs could do that. I'm
M> thinking less of a white-board, though I said that, I'm
M> thinking really of something like a snippet of code that looks
M> for timestamp changes and reloads the buffer. [...]

Hmm, if the whiteboard nature is not required then perhaps one could
consider mail or news.

M> It's not
M> real-time, but should allow sharing of ideas, issues, etc. What
M> do you think?

I think itimers+whatever kind of notification mechanism (beep?) you
want could do this. But you'll still need to work out the details of
who owns what and who can edit what etc. These problems don't exist
in either mail or news.

cheers,

BM


David Hansen

unread,
Nov 14, 2004, 10:01:02 PM11/14/04
to
On Mon, 15 Nov 2004 01:19:04 -0000 Mike wrote:

> I'm thinking less of a white-board, though I said that, I'm
> thinking really of something like a snippet of code that looks
> for timestamp changes and reloads the buffer. It's not
> real-time, but should allow sharing of ideas, issues, etc. What
> do you think?

NFS, SMB,... and auto-revert-mode may do what you want. But it
will for sure end in editing conflicts when two persons edit at
the same time.

This sounds like a job for version control like CVS (I'm sure
it will be possible to write a small script that regularly checks
for available updates).

Well... CVS ends in editing conflicts too but at least it can try
to merge and warns you on conflicts.

-- David

kgold

unread,
Nov 15, 2004, 6:11:32 PM11/15/04
to
Mike <mi...@mikee.ath.cx> writes:
> I'm really not sure how to word what I'm think of. I'm searching for
> some way to share files among team members using emacs. Sort of like
> a wiki, but maybe more something that is a buffer that has a process
> that looks once a minute or so to see if the file mtime has been
> modified, then reloads the buffer. Something where we can all see
> what's going on... maybe a running list of tasks, or a white-board,
> or an in/out board, ...?

My 2 cents:

make-frame-on-display is a real-time, multiple person edit.
You need an X server on all the machines.

It is also only for people who REALLY trust each other. Once you give
someone an emacs frame on their display, you also give them a shell.
They can do anything you can do. They are logged in as you.

auto-revert-mode is almost real time. You can set it to revert every
second if you like. It slows a bit with NFS mounting. But, people
won't see your edits instantly as you do them. And it's best for one
writer at a time. Last write wins.

0 new messages