< Back to IRCAM Forum

Emacs mode for antescofo

Hello!

I have started creating an emacs mode for antescofo.
It currently only supports syntax highlighting but thanks to the power of Emacs Lisp, more is possible, such as following the score with highlighted lines during a performance.

You can find it on https://github.com/programLyrique/antesc-mode .

Some instructions to install

  • Get the zip of the mode on https://github.com/programLyrique/antesc-mode/archive/master.zip
  • Add in your .emacs (or whatever config file for emacs you use) the following lines:
      
    (add-to-list 'load-path path-to-antesc-mode)  
    (autoload 'antesc-mode "antesc-mode" "Major mode for editing Antescofo code" t)  
    
    ;Extensions  
    (setq auto-mode-alist (append '(("\\.\\(score\\|asco\\)\\.txt$" . antesc-mode)) auto-mode-alist))  
    

    Replace path-to-antesc-mode by the right path.

You can see an example of colored code with Monokai (an emacs theme) in the attached image.
Note that the colours can change depending on the emacs theme you use.

Capture-d’écran-2015-04-30-à-13.48.03.png