Forum OpenACS Development: Re: Developmnet tools, debuggers, IDEs, etc

Collapse
Posted by Claudio Pasolini on
Hi Bart,

thank you for sharing your oacs-mode! It looks very useful for oacs developers.

I followed the installation instructions without problems until I tried adding sql mode to XQL files. After copying your code snippets into my .emacs file I get this error during emacs startup:
Symbol's value as variable is void: xml-mode
I don't know lisp and so I'm not able to debug it: perhaps you can help posting your .emacs file?

TIA, Claudio

Collapse
Posted by Andrei Popov on
You probably are missing psgml or have not set it up correctly.  In the least you should have something along the lines of:

(add-to-list 'load-path "/full/path/to/psgml/dir")

(setq auto-mode-alist
    (append
      (list
    '("\\.xql$" . xml-mode))

in your .emacs file

Collapse
Posted by Bart Teeuwisse on
Claudio,

as http://www.thecodemill.biz/services/oacs/ describes, Emacs OACS depends on the PSGML and MMM modules. Be sure to install them. Installation instructions are included each module. You'll find links to these modules from http://www.thecodemill.biz/services/oacs/.

/Bart