
Sat, 10/30/2010 - 23:30
Forums:
Hello
The WOK Users guide (Appendix A - Using the Emacs Editor) says "A CDL mode has been created for Emacs. The .el file for this mode is not provided in the distribution, but is available on request from Open CASCADE".
How can I obtain the .el file for CDL mode?
Regards,
Venkat
Tue, 11/02/2010 - 12:25
Hi,
Find the .el file attached, please.
To use it, it is necessary:
1) To put this file to a place where emacs can load it from. Such places are enumerated in a list stored by 'load-path' emacs variable.
2) To add to any of user 's emacs customization files (e.g. .emacs) the following line
(setq auto-mode-alist (cons (cons "\\.cdl$" 'cdl-mode) auto-mode-alist))
Regards
Sergey
Wed, 11/03/2010 - 23:54
Thank you, much appreciated.
Regards,
Venkat
Thu, 11/04/2010 - 12:31
Is this file compatible with any release of xemacs ?
I am using XEmacs21.4.19 and I can read this message when a cdl file is opened :
(error : cdl mode)
Regards,
Denis
Sun, 11/07/2010 - 10:18
Hello Denis
I am using it with emacs 23.2 and it is working fine. Though for some reason, the syntax highlighting seems to be not working for some specific cdl files. I do not have access to xemacs currently, in case you want I can test it with xemacs and let you know on Tuesday.
Regards,
Venkat
Mon, 11/08/2010 - 13:35
I am really interested by your test on xemacs.
Regards,
Denis
Wed, 11/10/2010 - 21:08
Have tested it on xemacs 21.5(beta 29) on FC13. I do not get any errors and xemacs loads the CDL mode when I open a *.cdl file. However the syntax highlighting does not work.
Regards,
Venkat