Re: [WOT] emacs and WEBDAV

2002-03-15 Thread Keith G. Murphy

Kee Hinckley wrote:
> 
> Emacs over WebDAV should work fine if you run something that supports
> WebDAV as a filesystem (e.g. OSX), but that's not going to help you
> much.
> 
If you're running Linux, this looks like fun:

http://sourceforge.net/projects/dav

There's also kiwifs:

http://kiwi.stanford.edu

If you're only running Linux on the server, well, maybe you could roll
something with samba (maybe you would need kernel oplocks?).

Seems like all the good stuff is for Linux, doesn't it?  ;-)



Re: [WOT] emacs and WEBDAV

2002-03-15 Thread Michael Alan Dorman

"Rob Bloodgood" <[EMAIL PROTECTED]> writes:
> DW also speaks WEBDAV natively, but emacs does not.

Not natively, but there is a DAV mode for emacs, apparently fairly
new.  From the Debian package:

Package: eldav
Priority: optional
Section: net
Installed-Size: 61
Maintainer: Fumitoshi UKAI <[EMAIL PROTECTED]>
Architecture: all
Version: 0.0.20020311-1
Depends: emacs21 | emacsen, nd (>= 0.5.0)
Filename: pool/main/e/eldav/eldav_0.0.20020311-1_all.deb
Size: 14286
MD5sum: 71271d5d4998dcdb78f83d79e98a4f75
Description: an interface to the WebDAV servers for Emacs.
 WebDAV files can be treated just like a normal file in Emacsen.
 Emacs/w3 is not required. External program is used for WebDAV access.



Re: [WOT] emacs and WEBDAV

2002-03-14 Thread Tatsuhiko Miyagawa

At Thu, 14 Mar 2002 11:30:54 -0800,
Rob Bloodgood wrote:

> DW also speaks WEBDAV natively, but emacs does not.  Emacs speaks CVS

Eldav: Yet another WebDAV interface for Emacsen 
http://www.gohome.org/eldav/



-- 
Tatsuhiko Miyagawa <[EMAIL PROTECTED]>



RE: [WOT] emacs and WEBDAV

2002-03-14 Thread Rob Bloodgood

> At 11:30 AM -0800 3/14/02, Rob Bloodgood wrote:
> >The problem is, concurrency.  Dreamweaver has versioning built
> >in... but emacs has no way to recognize it.  So when I make a fix
> >to a file, if the designers aren't explicitly instructed to >
> >refresh-from-the-website-via-ftp, my changes get hosed.
>
> Versioning, no.  Locking, yes, optionally.  (Well, I guess it can do
> versioning via SourceSafe, but not via anything else.)  I'm seriously
> hoping they'll address that in the next release.

 I meant locking.  Not versioning.  e-Foot in e-Mouth.

> Emacs over WebDAV should work fine if you run something that supports
> WebDAV as a filesystem (e.g. OSX), but that's not going to help you
> much.

If we're talking about LOCKING, is this statement still true?

> There are two options I can think of.
>
> 1. If your designers aren't making use of checkin/checkout in
> DreamWeaver, then simply make it clear to them that before they can
> save a file to the server, they have to do a sync first.  Make the
> final repository sit on CVS, and do a checkin every night.  So if
> something does go wrong you can at least pick up the previous day's
> work.

That (the train-them-to-sync-first part) has been what I've been forced to
do so far.  I haven't gone so far as to set up a CVS for the website tho.
Thx for the, I'll look into it.

> 2. DreamWeaver's locking mechanism is handled by placing lock files
> on the server.  Those files have the info about who has what.  It
> ought to be possible to write an emacs extension that would use those
> files.

Certainly.  But my original message mentioned the REAL source of my
frustration: I'm pretty limited at elisp, otherwise I might have already had
this worked out. :-)

L8r,
Rob




Re: [WOT] emacs and WEBDAV

2002-03-14 Thread Kee Hinckley

At 11:30 AM -0800 3/14/02, Rob Bloodgood wrote:
>The problem is, concurrency.  Dreamweaver has versioning built in... but
>emacs has no way to recognize it.  So when I make a fix to a file, if the
>designers aren't explicitly instructed to refresh-from-the-website-via-ftp,
>my changes get hosed.

Versioning, no.  Locking, yes, optionally.  (Well, I guess it can do 
versioning via SourceSafe, but not via anything else.)  I'm seriously 
hoping they'll address that in the next release.

>I've been trying, in various attempts over the past two years, to come up
>with a compromise between the two.  The closest I've come was somebody
>mentioned a CVS emulation layer over a DAV repository... but that never came
>to fruition.  And even more frustrating, I haven't managed to pick up enough
>eLisp to do it myself w/ vc.el .
>
>Does anybody have any ideas for my next direction to turn?

There are WebDAV extensions under development to provide versioning. 
I suspect that eventually we'll see those supported.  But that's got 
to be a year or more down the road.

Emacs over WebDAV should work fine if you run something that supports 
WebDAV as a filesystem (e.g. OSX), but that's not going to help you 
much.

There are two options I can think of.

1. If your designers aren't making use of checkin/checkout in 
DreamWeaver, then simply make it clear to them that before they can 
save a file to the server, they have to do a sync first.  Make the 
final repository sit on CVS, and do a checkin every night.  So if 
something does go wrong you can at least pick up the previous day's 
work.

2. DreamWeaver's locking mechanism is handled by placing lock files 
on the server.  Those files have the info about who has what.  It 
ought to be possible to write an emacs extension that would use those 
files.

-- 

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/
[EMAIL PROTECTED]

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.



Re: [WOT] emacs and WEBDAV

2002-03-14 Thread darren chamberlain

Quoting Rob Bloodgood <[EMAIL PROTECTED]> [Mar 14, 2002 14:30]:
> I've been trying, in various attempts over the past two years,
> to come up with a compromise between the two.  The closest I've
> come was somebody mentioned a CVS emulation layer over a DAV
> repository... but that never came to fruition.  And even more
> frustrating, I haven't managed to pick up enough eLisp to do it
> myself w/ vc.el .
> 
> Does anybody have any ideas for my next direction to turn?

This  looks
promising...

(darren)

-- 
We can't all, and some of us don't. That's all there is to it.
-- Eeyore



[WOT] emacs and WEBDAV

2002-03-14 Thread Rob Bloodgood

I'm running a Mason based website, and I use Emacs when I write code.
My web designers use Dreamweaver.  I've designed the site so that my web
guys have to reserve me one table cell (or more than one depending on where
in the site, but you get the point) where I put a single dispatch  component
to the dynamic content appropriately.

The problem is, concurrency.  Dreamweaver has versioning built in... but
emacs has no way to recognize it.  So when I make a fix to a file, if the
designers aren't explicitly instructed to refresh-from-the-website-via-ftp,
my changes get hosed.

DW also speaks WEBDAV natively, but emacs does not.  Emacs speaks CVS
natively, but DW does not.  DW also speaks SourceSafe , but I never
took that seriously... :-)

I've been trying, in various attempts over the past two years, to come up
with a compromise between the two.  The closest I've come was somebody
mentioned a CVS emulation layer over a DAV repository... but that never came
to fruition.  And even more frustrating, I haven't managed to pick up enough
eLisp to do it myself w/ vc.el .

Does anybody have any ideas for my next direction to turn?

TIA!

L8r,
Rob