Forum OpenACS Development: Re: Beta Emacs OACS module available

Collapse
Posted by Bart Teeuwisse on
Andrei,

I've factored out the various components to Emacs OACS into separate files. It shouldn't be too hard to add support for nXML in addition to PSGML. Users could then select which XML mode they would like to install and use.

Emacs OACS relies on PSGML only for the XML editing capabilties. There are no direct calls to PSGML functions from Emacs OACS.

/Bart

Collapse
Posted by Andrei Popov on
Bart,

This is cool, thanks.  I guess, since ADP has never been (and could probably never be) a subset of XML -- it's ok if it stays unvalidatable (gee, I just love new Konqueror's on-the-fly spell checking -- as expected there's no such word as the one immediately before the bracket 😊 )...

Collapse
Posted by Bart Teeuwisse on
An update of Emacs OACS is available from http://www.thecodemill.biz/services/oacs/.

GNU Arch users can use:

  tla grab http://www.thecodemill.biz/repository/grabs/oacs

Tarball is available from:

  http://www.thecodemill.biz/repository/oacs.tgz

For changes see:
          http://www.thecodemill.biz/services/oacs/changelog/index?revision_id=10006

/Bart

Collapse
Posted by Andrei Popov on
Bart,

tla get returns 404 error:

% tla get -A mailto:bart-arch@thecodemill.biz--2004 oacs--devo--1.0 oacs
webdav error: 404 Not Found

Collapse
Posted by Bart Teeuwisse on
Andrei,

that you must have made a mistake registering the location of the mailto:bart-arch@thecodemill.biz--2004 archive. (I just verified the webdav public archive.)

See http://www.thecodemill.biz/services/oacs/ for instructions how to register. Please note that each step should be entered as a single line.

/Bart

Collapse
Posted by Andrei Popov on

Bart,

Step-by-step:

% tla register-archive bart-arch@thecodemill.biz--2004 http://www.thecodemill.biz/repository/{archives}/2004/
% tla get -A bart-arch@thecodemill.biz--2004 oacs--devo--1.0 oacs
webdav error: 404 Not Found

The same happens on 2 machines: a FreeBSD and a Mac OS X.

Collapse
Posted by Bart Teeuwisse on
Andrei,

I don't know what to say. I do know that -besides myself- others are accessing the webdav archive succesfully. Also tla isn't very good w/ error messages, it could be any number of things. Maybe you can verify that another webdav client -like cadaver- can access http://www.thecodemill.biz/repository/{archives}/2004/ ?

Anyone on either FreeBSD or Mac OS X who can access http://www.thecodemill.biz/repository/{archives}/2004/ ?

/Bart

Collapse
Posted by Andrei Popov on
  • lynx:
                                                                                          Not Found 
                                                                                                                                          
    Not Found                                                                                                                                                                                                                          
       The requested URL was not found on this server.                                                                                    
                                                                                                                                          
                                 AOLserver/4.1.0 on http://www.thecodemill.biz       
    
  • Mac OS X Finder (that can mount WebDAV shares): server cannot be found on the network
  • Safari: shows empty dir
  • cadaver:
    > cadaver http://www.thecodemill.biz/repository/{archives}/2004/
    Could not contact server:
    404 Not Found
    dav:!>
    
Collapse
Posted by Andrei Popov on

I think there might be something wicked going on, because of curly braces...

Collapse
Posted by Jeff Davis on
I just tried with cadaver and it worked fine for me...
cadaver http://www.thecodemill.biz/repository/{archives}/2004/
dav:/repository/{archives}/2004/> ls
Listing collection `/repository/{archives}/2004/': succeeded.
Coll:   =meta-info                           128  Feb 10 04:17
Coll:   bin                                   80  Mar  3 19:48
Coll:   cache-control                         88  Mar  9 01:55
Coll:   oacs                                  80  Feb 10 04:18
Coll:   pound                                144  Feb 13 18:54
dav:/repository/{archives}/2004/>
Connection to `www.thecodemill.biz' closed.
Collapse
Posted by Bart Teeuwisse on
Andrei,

wicked indeed. If I'm not mistaken you are on 212.20.105.205. Requests from this IP address leave the curly brackets out. While all requests from other IP addresses do include them.

/Bart

Collapse
Posted by Andrei Popov on
I've edited .arch-params/=locations/bart-arch@thecodemil.biz--2004 to add braces and all was well.  For some reason braces got stripped.  Will see whether this is tcsh's fault or else...