Last version:
FLUKA 2024.1.3, January 27th 2025
(last respin 2024.1.3)
flair-2.3-0e 06-May-2024

News:

-- Fluka Release
( 27.01.2025 )

FLUKA 2024.1.3 has been released.
New FLUKA reference, please read and cite it:
F. Ballarini et al., The FLUKA code: Overview and new developments, EPJ Nuclear Sci. Technol. 10, 16 (2024) https://doi.org/10.1051/epjn/2024015


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–2025

Informativa cookies