Last version:
FLUKA 2023.3.4, April 10th 2024
(last respin 2023.3.4)
flair-2.3-0d 13-Sep-2023

News:

-- Fluka Release
( 10.04.2024 )

FLUKA 2023.3.4 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–2024

Informativa cookies