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
  1. to move to the scratch buffer
  2. write the following LISP command (insert (getenv "HOME"))
  3. 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
Topic attachments
I Attachment Action Size Date Who Comment
emacsEXT emacs manage 14 K 11 Dec 2012 - 16:34 RobertoBernetti init example file for emacs on windows system
Topic revision: r3 - 19 Apr 2020, RobertoBernetti
This site is powered by FoswikiCreative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License1999-2025
Ideas, requests, problems regarding this site? Send feedback