Last version:
FLUKA 2021.2.7, August 28th 2022
(last respin 2021.2.7)
flair-2.3-0c 11-Sep-2022

News:

-- Fluka Release
( 28.08.2022 )

FLUKA 2021.2.7 has been released.


font_small font_med font_big print_ascii

A very simple fluka-mode for emacs has been developed. The present version provides highlighting for the fluka keywords.

You first need to download the emacs lisp file fluka-mode.elc.

If you have root privileges you should already know how to add it to the other emacs elc files. Instead if you are a simple user these are the few steps you need to do to make it work:

  1. Create a .lisp directory in your home directory:
    	mkdir ~/.lisp
    
  2. Move the lisp file into the .lisp directory
    	mv fluka-mode.elc ~/.lisp/
    
  3. Add these lines to your emacs configuration file ~/.emacs:
     (autoload 'fluka-mode "~/.lisp/fluka-mode.elc" "FLUKA Mode." t)
     (or (assoc "\\.fluka$" auto-mode-alist)
         (setq auto-mode-alist
         (cons '("\\.fluka$" . fluka-mode) auto-mode-alist)))
     (autoload 'fluka-mode "~/.lisp/fluka-mode.elc" "FLUKA Mode." t)
     (or (assoc "\\.inp$" auto-mode-alist)
         (setq auto-mode-alist
         (cons '("\\.inp$" . fluka-mode) auto-mode-alist)))
    

Clearly you can also use a different name for the .lisp directory.

Roberto Versaci


Last updated: 15th of January, 2010

© FLUKA Team 2000–2022

Informativa cookies