Getting EMACS
Due to the fact that ANSYS is very popular on "MS windows" system,
HERE the link for downloading and installing EMACS on windows systems
Here a fine starting point:
http://xkahn.zoned.net/help/emacs.html
Emacs ANSYS Mode
Full information can be found
HERE for settings and downloading.
Pay attention for installation with languages diffreent fron the English (for Windows7) to put the executables not in
Program files
directory.
Init File for Emacs
Init file is usually called
.emacs
. The setting command, an example is listed below:
(add-to-list 'load-path "C:\\Programmi\\emacs\\emacs-23.1\\site-lisp")
;assuming you extracted the files on drive "c:"
;for example: "c:\\emacs\\emacs-23.1"
(add-to-list 'auto-mode-alist '("\\.mac\\'" . ansys-mode))
(autoload 'ansys-mode "ansys-mode" nil t)
have to be inserted in the init file. One example file is attached to this page remember to change file name from
emacs
to
.emacs
Troubleshooting
Usually to know which is the path set at start up by
emacs
you need
- to move to the scratch buffer
- write the following LISP command
(insert (getenv "HOME"))
- type the key sequence
CTRL+x CTRL+e
More informationo can be found
HERE
Inserire { }
Nella tastiera in Windosw 10 la sequenza di tasti SHIFT+AltGr+[ o ]
--
RobertoBernetti - 05 Jul 2012