FreeFem / FreeFem-parser-emacs

FreeFEM parser for Emacs
GNU General Public License v3.0
0 stars 0 forks source link
emacs freefem

FreeFem++-Mode

An Emacs mode for the FreeFEM language.

Install:

Copy the file freefem++-mode.el into any directory located in your Emacs load-path. Then, add the appropriate lines into your .emacs configuration file, for instance:

    (autoload 'freefem++-mode "freefem++-mode"
        "Major mode for editing FreeFem++ code." t)
    (add-to-list 'auto-mode-alist '("\\.edp$" . freefem++-mode))
    (add-to-list 'auto-mode-alist '("\\.idp$" . freefem++-mode))

Optionally, you can also specify the desired FreeFEM interpreter, for instance

    (setq freefempp-program "FreeFem++-nw")

or

    (setq freefempp-program "ff-mpirun -np 2")