Last edit
Summary: 14.5.1
Added:
Changed:
< This [http://code.google.com/p/ansys-mode/ project] supports working
< with the FEA (Finite Element Analysis) suite [http://www.ansys.com ANSYS] (ANalysis SYStem).
< It provides 'ANSYS-Mode', an add-on to the
< [http://www.gnu.org/software/emacs/ Gnu Emacs] editor for navigating
< in, inspecting and writing APDL files. The mode offers managing and
< communication capabilities for ANSYS processes, like interactive code
< debugging with the ANSYS solver/interpreter or listing the current
< license status, etc. Some features are quite sophisticated but the
< overall documentation is targeted for ANSYS users with little Emacs
< experience.
< [http://www.gnu.org/home.en.html Gnu] Emacs (Gnu's Not Unix) is an
< up-to-date, extensible, powerful, yet free editor which is available
< for any operating system where ANSYS is running.
< The current stable version (14.0.1) of ANSYS-Mode is available at the
< [http://code.google.com/p/ansys-mode Google Code site] (hint: paste
< e. g. "wget
< http://code.google.com/p/ansys-mode/downloads/list/ansys-mode-14.0.1.tgz"
< to get the sources). Besides the code and Emacs you will find also in
< the download section two PDF tutorials or have immediately a look at
< the
< [http://duenenhof-wilhelm.de/dieter/ansys-mode_tutorial/ansys-mode_tutorial.html introductory online version],
< where you can see the images in a higher resolution as in the PDFs or the
< [http://duenenhof-wilhelm.de/dieter/ansys-mode_tutorial/APDL_tutorial.html in-depth online tutorial].
< Please report bugs and inconsistencies in the documention! Write an
< email to the [mailto:dieter@duenenhof-wilhelm maintainer] or use
to
> This [http://code.google.com/p/ansys-mode/ project] supports your
> workflows with the FEA (Finite Element Analysis) suite
> [http://www.ansys.com ANSYS] (ANalysis SYStem, registered TM).
> It provides `ANSYS-Mode', an add-on to the
> [http://www.gnu.org/software/emacs/ GNU Emacs] editor for
> investigating and coding APDL (Ansys Parametric Design Language). The
> mode offers also managing and communication capabilities for various
> ANSYS processes, like interactive code debugging with the solver or
> inquiring the license manager status, etc. Some features are quite
> sophisticated but its documentation is targeted for ANSYS users with
> little Emacs experience.
> Advantages compared to other APDL editors: Largest feature set, user
> extensible, costfree, integrated calculator, available for all OS, for
> in-built help no ANSYS installation necessary.
> [http://www.gnu.org/home.en.html GNU] (Gnu's Not Unix) Emacs is an
> up-to-date, powerful and extensible - yet free - editor. High quality
> software available for every operating system where ANSYS is running.
> The current stable version (14.5.1) of ANSYS-Mode is available at the
> [http://code.google.com/p/ansys-mode Google Code site] (The command
> line way, e. g.: "wget
> http://ansys-mode.googlecode.com/files/ansys-mode-14.5.1.tgz"). The
> code is partially based on ANSYS version 14.5 (completions, help
> strings etc.). Besides the code and Emacs you will find also in the
> download section two tutorials. For an immediate access have a look
> at the
> [http://duenenhof-wilhelm.de/dieter/ansys-mode_tutorial/A-M_introductory_tutorial.html introductory on-line version], here you are able to see the images in
> a higher resolution as in the PDF version. And in the
> [http://duenenhof-wilhelm.de/dieter/ansys-mode_tutorial/A-M_in-depth_tutorial.html in-depth on-line tutorial] there is the source code highlighting
> better preserved as in its PDF version.
> Please report bugs and inconsistencies also in the documentation! Write
> an email to the [mailto:dieter@duenenhof-wilhelm.de maintainer] or use
Changed:
< The code is based on ANSYS version 14.0 and is written for GNU Emacs
< and not consciously targeted for XEmacs. It is tested with Emacs-24.1
< under XP32, XP64 and under `GNU/Linux' (there also with Emacs-23.2).
to
> It is tested with Emacs-24.1, Emacs-24.2 under XP64 and under
> GNU/Linux64 (here also with Emacs-23.2).
Changed:
< only implemented for UNIX systems.
to
> only implemented for Gnu/Linux systems.
Added:
> * Command syntax help inbuilt in the mode (similar to but more verbose
> then the ANSYS dynamic prompt), undocumented commands are hinted as
> such. (There is no need to have ANSYS installed for it to work.)
> * Opening the detailed ANSYS help in your web browser for an APDL
> command or element name (the element number is sufficient) at or
> before the cursor. Optionally you can input the desired string
> interactively with a completion of all valid keywords.
Changed:
< starting the ANSYS help browser, etc.)
to
> starting the ANSYS help browser, etc.).
Changed:
< (UNIX only)
< * Command syntax help in the editor (similar to but more verbose then
< the ANSYS dynamic prompt) also with hints for undocumented commands
to
> (Gnu/Linux only).
Changed:
< parametric-functions (case-sensitive) of nearly 2000 ANSYS symbols
to
> parametric-functions (case-sensitive) of around 2000 ANSYS symbols.
Changed:
< comments, navigating number blocks, searching *DO-, *IF-, *DOWHILE-,
< *CREATE-blocks, etc.
to
> comments, navigating number blocks, searching and creating *DO-,
> *IF-, *DOWHILE-, *CREATE-blocks, etc.
Changed:
< optionally also user defined variables (experimental)
to
> optionally also user defined variables (experimental feature).
Changed:
< (2) these "user variables" are highlighted as well
to
> (2) these `user variables' are highlighted as well.
Changed:
< * Alignment (beautification) of whole sections with variable
< defintions
to
> * Alignment (beautification) of whole paragraphs or marked sections
> with variable defintions.
Changed:
< whole control blocks and vice versa
to
> whole control blocks and vice versa.
Changed:
< appropriate end keyword (case-sensitive)
to
> appropriate end keyword (case-sensitive).
Changed:
< writing a "nickname" and a special key triggers an exchange of the
< characters with a complete code template
to
> writing a `nickname' after a special key triggers an exchange of the
> characters with a complete code template.
Changed:
< from other editors and user interface standards
to
> from other editors and user interface standards.
Changed:
< [http://duenenhof-wilhelm.de/dieter/ansys-mode_tutorial/ansys-mode_tutorial.html online tutorial]
to
> [http://duenenhof-wilhelm.de/dieter/ansys-mode_tutorial/A-M_introductory_tutorial.html online tutorial]
Changed:
< with the GTK+ toolkit under Linux) with a ripped off menu field. The
to
> with the GTK+ toolkit under Gnu/Linux) with a ripped off menu field. The
Changed:
< "Variable definitions buffer" of the same file and a preview buffer of
to
> `Variable definitions buffer' of the same file and a preview buffer of
Changed:
< * Enhanced the documentation, included is now an introductory tutorial
< `ansys-mode_tutorial.pdf' and a hands-on tutorial
< `APDL_tutorial.pdf'
< * Added a timer for getting rid of the parameter help overlays after
< some time interval (1 min) without reusing the parameter help
< * Added a (customisable) variable `ansys-no-of-processors' and
< function with the same name for specifying the number of processors
< for an ANSYS multiprocessor run
< * Extended mode commands, templates and removed typos mainly in
< ansys-template.el. For example added all *get functions in the
< ansys-skeleton-function template
< * Switched on outline-minor-mode and auto-insertion (in default_el)
< * Added a custom variable the corresponding function
< ansys-ansysli-servers for specifying the ansys interconnect license
< servers
< * Added a new shortcut and menu entry isometric view
< * Applied sensible defaults to ansys-lmutil-program, ansys-program and
< ansys-help-program, for most needs it should now be enough just to
< set the used ansys version (ansys-current-ansys-version, if it is
< not 140, see the example config file default_el) and maybe
< additionally the installation directory (ansys-install-directory).
to
> * Added a function (C-c C-b or "M-x ansys-browse-ansys-help") showing
> the detailed ANSYS help in your web-browser for an APDL command or
> element name (also the element number is sufficient) around the
> cursor (or if that fails at the line beginning).
> Are you also tired of the ANSYS help browser? For example try
> searching for the `F' APDL command, it is impossible! You have to
> pick it up from the alphabetical command list. Likewise when you are
> searching for an incomplete keyword, no hint, no completion,
> nothing! Finding and browsing relevant APDL documentation is still
> cumbersome and too slow
> As a highlight of this release you can now read immeadiately the
> detailed ANSYS help in your web browser for *all* APDL command AND
> element names around the cursor (or for the first command in the
> current line if that fails to be valid keyword). You may input your
> search string also interactively, including its completion to ANSYS
> help keywords and of certain help categories, like `Release Notes'
> and such. This is an ideal complement to ANSYS-Mode's in-built
> `command syntax help'
> * The function `ansys-start-ansys' is now available under Windows as well
> and starts the APDL product launcher under this platform.
> * When calling `ansys-browse-ansys-help' and
> `ansys-show-command-parameters' (M-? - the in-built `command syntax
> help') with a prefix argument for interactively entering a command
> name, the name is now completable. And in the non-interactive mode
> both functions working also for APDL commands which are commented
> out as well (only for the first command in case of
> `ansys-show-command-parameters').
> * Also the input of `ansys-query-ansys-command' (C-c C-q) is now
> completable to all current ANSYS commands and with an optional
> prefix argument the current code line is copied as the initial
> input.
> * Improved the introductory and the in-depth tutorial and extended the
> documentation with an APDL and syntax highlighting reference in HTML
> and PDF. (To some degree syntax highlighted in the PDF version as
> well)
> * Values of the `_RETURN' variable are now documented in the function
> `ansys-skeleton-information'
> * `ansys-next-code-line' and `ansys-previous-code-line' (M-n, M-p) are
> now skipping over node and elements blocks, which are only pure
> number blocks. They are now alternatives to
> `ansys-number-block-start' C-c { and C-c } respectively
> * Removed bug in customisation system and dropped 32 bit ANSYS support
> in line with the ANSYS OS
> [http://www.ansys.com/Support/Platform+Support strategy] for 2013.
> * Described a poor man's round() workaround in ansys-template-function
> under the nint() entry
Changed:
< The version scheme is a mixture of the ANSYS release (currently 14.0)
to
> The version scheme is a mixture of the ANSYS release (currently 14.5)
Changed:
< increments (currently .1) of ANSYS-Mode (thus 14.0.1) for this
to
> increments (currently .1) of ANSYS-Mode (thus 14.5.1) for this
Changed:
< you are using the mode with an older version of Emacs than 24 please
to
> you are using the mode with an older version of Emacs than 24.1 please
Changed:
< * README -- this file
< * NEWS -- news and history
< * TODO -- todos and deficiencies
< * LICENSE -- the GPL (Gnu Puplic License) Version 3
< * default_el -- configuration example file of an Emacs 'default.el'
< * fontification.mac -- APDL syntax highlighting examples
< * ansys-mode_tutorial.pdf -- An introductory tutorial
< * APDL_tutorial.pdf -- The ANSYS-Mode hacking tutorial
< * APDL_tutorial.ansys -- Hacking tutorial's supplementary APDL code
to
> * README -- This file
> * NEWS -- News and history
> * TODO -- Todos and deficiencies
> * LICENSE -- The GPL (Gnu Puplic License) Version 3
> * default_el -- Configuration example file of an Emacs 'default.el'
> * fontification.mac -- APDL example file
> * A-M_introductory_tutorial-14.5.1.pdf -- Your first look at ANSYS-Mode?
> * A-M_in-depth_tutorial-14.5.1.pdf -- A hands-on ANSYS-Mode tutorial
> * A-M_in-depth_tutorial-14.5.1.ansys -- Hands-on tutorial's supplementary APDL code
> * A-M_APDL_reference-14.5.1.pdf -- APDL and ANSYS-Mode syntax highlighting reference guide
Changed:
< __For existing Emacs installations on Windows and UNIX:__
to
> __For existing Emacs installations on Windows and Gnu/Linux:__
Changed:
< the "site-lisp" folder in your Emacs installation tree) or indicate
to
> the `site-lisp' folder in your Emacs installation tree) or indicate
Changed:
< load-file ansys-mode RET', i. e. typing "M-x" (first) the "Alt" key
< and then the "x" key simultaneously, you'll end up in the so called
to
> load-file ansys-mode RET', i. e. typing "M-x" (first) the <Alt> key
> and then the <x> key simultaneously, you'll end up in the so called
Changed:
< "TAB" key for the Emacs auto-completion feature at every intermediate
< stage) and conclude this input with the "RET" key. Emacs will then
to
> <TAB> key for the Emacs auto-completion feature at every intermediate
> stage) and conclude this input with the <RET> key. Emacs will then
Changed:
< into your ".emacs" configuration file (in your home directory), adjust
to
> into your `.emacs' configuration file (in your home directory), adjust
Changed:
< automatically applied for all files with suffixes ".mac", ".dat" and
< ".inp".
to
> automatically applied for all files with suffixes `.mac', `.dat' and
> `.inp'.
Changed:
< * Direct way, no configuration necessary (loading "by hand")
< Please consult the "direct way" description above.
to
> * Direct way, no configuration necessary (loading `by hand')
> Please consult the `direct way' description above.
Changed:
< the extensions ".mac", ".dat", ".inp" and ".anf" ( .dat and .inp are
to
> the extensions `.mac', `.dat', `.inp' and `.anf' ( .dat and .inp are
Changed:
< following to your '.emacs' file:
to
> following to your `.emacs' file:
Changed:
< The suffix below belongs to the "anys neutral file" export format
to
> The suffix below belongs to the `anys neutral file' export format
Changed:
< please have a look at the accompanying "default_el" example. This is
to
> please have a look at the accompanying `default_el' example. This is
Changed:
< to "default.el" and adjusting as as system wide startup file for Emacs
< in the "EMACS_INSTALLDIR/site-lisp" directory and is therefore an
< alternative to customisations in ".emacs", your personal configuration
to
> to `default.el' and adjusting as as system wide startup file for Emacs
> in the `EMACS_INSTALLDIR/site-lisp' directory and is therefore an
> alternative to customisations in `.emacs', your personal configuration
Changed:
< "ANSYS" entry for its possibilities and select the entry "Describe
< ANSYS Mode" or type "C-h m" (i. e. the CTRL key together with the "h"
< key and subsequently the "m" key), which will display the ANSYS-Mode
< help which is your "online" guide for its usage, keybindings and
< customisation options.
to
> `ANSYS' entry for its possibilities and select the entry `Describe
> ANSYS Mode' or type "C-h m" (i. e. the <CTRL> key together with the
> <h> key and subsequently the <m> key), which will display the
> ANSYS-Mode help which is your `online' guide for its usage,
> keybindings and customisation options.
Changed:
< in "ansys-template.el" and can be used similarly or complementarily to
to
> in `ansys-template.el' and can be used similarly or complementarily to
Changed:
< For their ansys-mod.el from 1997 which gave the idea to ANSYS-Mode
< (the implementation is different and vastly extended)
to
> For their ansys-mod.el from 1997 which gave the ideas to start
> ANSYS-Mode (the implementation though is different and many
> capabilities are new or extended)
Added:
> * Michael Kidner
Changed:
< * rms
to
> * RMS
Added:
> * The ANSYS-Mode atom feed for its downloads is
> http://code.google.com/feeds/p/ansys-mode/downloads/basic
Changed:
< * Another APDL [http://www.padtinc.com/pedal script editor]
to
> * A competitor of ANSYS-Mode: The [http://www.padtinc.com/pedal Pedal]
> script editor
> * [http://www.auc-ev.de/ AUC], the ANSYS User Club in Germany
> * Another APDL [http://apdl.de editor], but the site seems to be abandoned
Changed:
< For an overview of the outstanding issues please have a look at the
< TODO file.
< The "user variable" highlighting is still experimental, newly edited
to
> For an overview of deficiencies and outstanding issues please check
> the beginning of the TODO file.
> The `user variable' highlighting is still experimental, newly edited
Changed:
< slows Emacs and this flag is only implemented for ".mac" files) or any
to
> slows Emacs and this flag is only implemented for `.mac' files) or any
Changed:
< ANSYS "format line" (multi-line highlighting) and "user variable"
to
> ANSYS `format line' (multi-line highlighting) and `user variable'
Changed:
< brittle, please use M-o M-o to update the fontification in case the
to
> brittle, please use "M-o M-o" to update the fontification in case the
This is the text of the ANSYS-Mode README file (the formatting is targeted for the EmacsWiki)
Copyright (C) 2006 - 2012 H. Dieter Wilhelm, GPL V3

This project supports your workflows with the FEA (Finite Element Analysis) suite ANSYS (ANalysis SYStem, registered TM).
It provides ‘ANSYS-Mode’, an add-on to the GNU Emacs editor for investigating and coding APDL (Ansys Parametric Design Language). The mode offers also managing and communication capabilities for various ANSYS processes, like interactive code debugging with the solver or inquiring the license manager status, etc. Some features are quite sophisticated but its documentation is targeted for ANSYS users with little Emacs experience.
Advantages compared to other APDL editors: Largest feature set, user extensible, costfree, integrated calculator, available for all OS, for in-built help no ANSYS installation necessary.
GNU (Gnu’s Not Unix) Emacs is an up-to-date, powerful and extensible - yet free - editor. High quality software available for every operating system where ANSYS is running.
The current stable version (14.5.1) of ANSYS-Mode is available at the Google Code site (The command line way, e. g.: “wget http://ansys-mode.googlecode.com/files/ansys-mode-14.5.1.tgz”). The code is partially based on ANSYS version 14.5 (completions, help strings etc.). Besides the code and Emacs you will find also in the download section two tutorials. For an immediate access have a look at the introductory on-line version, here you are able to see the images in a higher resolution as in the PDF version. And in the in-depth on-line tutorial there is the source code highlighting better preserved as in its PDF version.
Please report bugs and inconsistencies also in the documentation! Write an email to the maintainer or use Google Code’s issues list.
It is tested with Emacs-24.1, Emacs-24.2 under XP64 and under GNU/Linux64 (here also with Emacs-23.2).
Some of ANSYS-Mode’s solver control and communication features are only implemented for Gnu/Linux systems.
‘nickname’ after a special key triggers an exchange of the characters with a complete code template.Visual examples you will find in the online tutorial and the following screen-shot on EmacsWiki

Above image shows an Emacs frame (in reversed colour mode and compiled with the GTK+ toolkit under Gnu/Linux) with a ripped off menu field. The APDL file is in the right window with the (experimental) user variable highlighting switched on and a help overlay (in yellow background) activated. The smaller windows on the left hand side are showing the `Variable definitions buffer’ of the same file and a preview buffer of a certain code template, respectively.
Are you also tired of the ANSYS help browser? For example try searching for the `F' APDL command, it is impossible! You have to pick it up from the alphabetical command list. Likewise when you are searching for an incomplete keyword, no hint, no completion, nothing! Finding and browsing relevant APDL documentation is still cumbersome and too slow
As a highlight of this release you can now read immeadiately the detailed ANSYS help in your web browser for *all* APDL command AND element names around the cursor (or for the first command in the current line if that fails to be valid keyword). You may input your search string also interactively, including its completion to ANSYS help keywords and of certain help categories, like `Release Notes' and such. This is an ideal complement to ANSYS-Mode's in-built `command syntax help'
‘ansys-start-ansys’ is now available under Windows as well and starts the APDL product launcher under this platform.‘ansys-browse-ansys-help’ and ‘ansys-show-command-parameters’ (M-? - the in-built `command syntax help’) with a prefix argument for interactively entering a command name, the name is now completable. And in the non-interactive mode both functions working also for APDL commands which are commented out as well (only for the first command in case of ‘ansys-show-command-parameters’).‘ansys-query-ansys-command’ (C-c C-q) is now completable to all current ANSYS commands and with an optional prefix argument the current code line is copied as the initial input.‘ansys-skeleton-information’‘ansys-next-code-line’ and ‘ansys-previous-code-line’ (M-n, M-p) are now skipping over node and elements blocks, which are only pure number blocks. They are now alternatives to ‘ansys-number-block-start’ C-c { and C-c } respectivelyPlease have a look in the NEWS file for the complete history
The version scheme is a mixture of the ANSYS release (currently 14.5) on which the highlighting and completing code is based and the version increments (currently .1) of ANSYS-Mode (thus 14.5.1) for this particular ANSYS release.
Sources:
(and possibly their compiled versions with the suffix ‘.elc’. In case you are using the mode with an older version of Emacs than 24.1 please remove the .elc files.)
Auxiliaries:
For Windows systems:
If applicable please grab the package of a pre-compiled Emacs-24.1 (Win32/64) bundled with a preconfigured ANSYS-Mode (for Windows 64 bit) at above Google Code site and unpack this archive anywhere on your system (you do not need administrator rights). You might subsequently run the program addpm.exe (located in the bin directory) to add an Emacs entry to the Windows start menu (please refer to the README.W32 file) otherwise start the Emacs executable runemacs.exe from there.
ANSYS-Mode is now immediately available, by opening (check out the `fontification.mac’ example) or by creating a new APDL file with a .mac suffix. Have fun!
Most functionalities should work but if you have not installed ANSYS in its default installation directory on drive `C:Program Files’ on Win64 and you want to start for example ‘anslic_admin’ or the ANSYS help browser directly from Emacs please adjust the configuration file `default.el’ file in Emacs’ ‘site-lisp’ directory according to the commented code examples.
In case you want to download or have already installed the original version of GNU Emacs, you can also download and configure the ANSYS-Mode package separately. Please see below.
For existing Emacs installations on Windows and Gnu/Linux:
Important prerequisite: Emacs must know where all the code (.el or its compiled versions .elc) files reside! Extract the mode archive into an Emacs directory which is in its default load-path (a good place is the ‘site-lisp’ folder in your Emacs installation tree) or indicate the directory with the environment variable EMACSLOADPATH).
From there on you must load first the mode definitions with `M-x load-file ansys-mode RET’, i. e. typing “M-x” (first) the <Alt> key and then the <x> key simultaneously, you’ll end up in the so called Emacs minibuffer prompt, now type “load-file” (you might apply the
Extract the files somewhere on disc and put the following paragraph into your `.emacs’ configuration file (in your home directory), adjust the stuff in capital letters, restart Emacs and ansys-mode will be automatically applied for all files with suffixes `.mac’, `.dat’ and `.inp’.
(add-to-list 'load-path "C:\\DIRECTORY-PATH\\WHERE\\THE\\ANSYS-MODE\\FILES\\RESIDE")
;assuming you extracted the files on drive "c:"
;for example: "c:\\emacs\\emacs-23.1"
(add-to-list 'auto-mode-alist '("\\.mac\\'" . ansys-mode))
(add-to-list 'auto-mode-alist '("\\.dat\\'" . ansys-mode))
(add-to-list 'auto-mode-alist '("\\.inp\\'" . ansys-mode))
(autoload 'ansys-mode "ansys-mode" nil t)Please consult the `direct way’ description above.
If you are unfamiliar by these concepts I suggest working through the build-in tutorial of GNU Emacs (you’ll find it in the help entry in the menu bar), it doesn’t take too much time and the investment will be worth it since it will accelerate your general editing capabilities in the future.
When it becomes tiring of loading ‘ansys-mode.el’ (or ‘ansys-mode.elc’) every time you are starting a new Emacs session, you should specify the installation path for the mode files in your ‘~/.emacs’ file (the configuration file ‘.emacs’ of GNU Emacs in your home directory ‘~\’).
(add-to-list 'load-path
"C:\\YOUR\\DIRECTORY\\WHERE\\MODE\\FILES\\RECIDE")
(autoload 'ansys-mode "ansys-mode" "Activate ANSYS-Mode." 'interactive)From here you are able to type “M-x ansys-mode RET” to activate the mode for every interesting file.
When you intend to apply the mode automatically, for all files with the extensions `.mac’, `.dat’, `.inp’ and `.anf’ ( .dat and .inp are WorkBench?’s solver input file suffixes) you are opening, add the following to your `.emacs’ file:
(add-to-list 'auto-mode-alist '("\\.mac$" . ansys-mode))
(add-to-list 'auto-mode-alist '("\\.dat$" . ansys-mode))
(add-to-list 'auto-mode-alist '("\\.inp$" . ansys-mode))
;; this is the suffix for "ANSYS Neutral Files" which include some APDL.
(add-to-list 'auto-mode-alist '("\\.anf$" . ansys-mode))The suffix below belongs to the `anys neutral file’ export format which contains also an APDL header and footer.
(add-to-list 'auto-mode-alist '("\\.anf$" . ansys-mode))In case you also want to enjoy the auto insertion feature, which puts (optionally) some predefined body of ANSYS commands to every new APDL file insert the following into ‘.emacs’:
(setq auto-insert-mode 1)
(setq auto-insert-query t) ;insert only after request
(add-to-list 'auto-insert-alist '(ansys-mode . [ansys-skeleton-compilation]))With below section you are also able to use certain ANSYS related commands in a new Emacs session without the need of previously having explicitely called ansys-mode.
(autoload 'ansys-customise-ansys "ansys-mode" "Activate the function for calling a special ANSYS customisation buffer." 'interactive)
(autoload 'ansys-abort-file "ansys-mode" "Activate the function for aborting ANSYS runs." 'interactive)
(autoload 'ansys-display-error-file "ansys-mode" "Activate the function for inspecting the ANSYS error file." 'interactive)
(autoload 'ansys-start-ansys-help "ansys-mode" "Activate the function for starting the ANSYS help browser." 'interactive)
(autoload 'ansys-license-status "ansys-mode" "Activate the function for displaying ANSYS license status or starting a license utility." 'interactive)As a summary and example to these and further customisation options please have a look at the accompanying `default_el’ example. This is helpful especially if you intend to use the mode’s solver communication capabilities. This file can be used, after renaming it to `default.el’ and adjusting as as system wide startup file for Emacs in the `EMACS_INSTALLDIR/site-lisp’ directory and is therefore an alternative to customisations in `.emacs’, your personal configuration file.
When you have a file under ‘ansys-mode’ check out the menu bar’s ‘ANSYS’ entry for its possibilities and select the entry `Describe ANSYS Mode’ or type “C-h m” (i. e. the <CTRL> key together with the
‘online’ guide for its usage, keybindings and customisation options.Templates, i.e. code snippets or so called skeletons might be extended in `ansys-template.el’ and can be used similarly or complementarily to a classical ANSYS macro library.
ANSYS-Mode changes the default behaviour of Emacs
globally:
(Delete Selection Mode can be switched off in the ANSYS-Mode menu.)
locally:
For their ansys-mod.el from 1997 which gave the ideas to start ANSYS-Mode (the implementation though is different and many capabilities are new or extended)
Then in mainly reversed cronological order:
For an overview of deficiencies and outstanding issues please check the beginning of the TODO file.
The `user variable’ highlighting is still experimental, newly edited variable definitions are taken into account only when the variable ansys-dynamic-highlighting-flag is set (for very large files this slows Emacs and this flag is only implemented for `.mac’ files) or any times when you activate the variable display (with C-c C-v) and the maximum highlighting level. If not already the case try to use the code in compiled form, please have a look at the documentation of the Emacs function ‘byte-recompile-directory’.
ANSYS `format line’ (multi-line highlighting) and `user variable’ highlighting (when the mentioned flag above ist not set) are somewhat brittle, please use “M-o M-o” to update the fontification in case the format line and all variables are not highlighted correctly.
If you experience problems installing or running this mode you have the following options:
‘ansys-submit-bug-report’. Even when you are not in the position of sending emails from Emacs this will give at least a useful mail template with valuable information about internal mode settings).local variables: word-wrap: t show-trailing-whitespace: t indicate-empty-lines: t end: