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

Collapse
Posted by Jay Dubanik on
finally I have installed all the components and attemted to use it.

What I have learnt so far about oacs-mode for emacs:
====================================================

- there are modes and submodes for different file types.
  + for .adp - mode: XML OACS
  + for .xql - mode: XML OACS and XML[SQL] OACS within sql query
  + for .tcl - mode: TCL OACS and TCL[SQL] OACS within sql query

Question that I have at this stage:
====================================

1. Is there syntax highlighting for TCL in TCL OACS mode?

2. there is ADP sub-mode mentioned in change log, How do I get to it? my .adp file is always in XML OACS mode

Collapse
Posted by Bart Teeuwisse on
Jay,

to answer your questions.

1) Yes, just turn syntax highlighting on. Emacs OACS doesn't change the syntax highlighting.

2) Like all files for which OACS is activated, OACS identifies it self as OACS. OACS is a so called minor mode which combines with the major mode of the file being edited. You will that the OACS menu option in ADP files is specific to the ADP sub mode. In short you automatically enter the ADP sub mode when you open an ADP file.

/Bart