Chapter 8. General Installation Hints

Using Emacs with ASCL

The ASCL project uses several file extension which are not commonly defined in the emacs default configuration. As a consequence syntax high ligthing is not activated. In order to activate syntax highlighting again the following lines have to be added to to .emacs file in your home directory:

  (setq auto-mode-alist
      (append '(("\\.C$"  . c++-mode)
                ("\\.cc$" . c++-mode)
                ("\\.hh$" . c++-mode)
                ("\\.adp$" . ada-mode)
                ("\\.c$"  . c-mode)
                ("\\.h$"  . c-mode))
              auto-mode-alist))