Releases: ShiroTakeda/gams-mode
gams-mode 6.16
Full Changelog: 6.13...6.16
-
The font-locking and autocompletion features have been improved.
-
company-mode, which is a text completion framework for Emacs, has been
available in GAMS mode since version 6.13. If you want to use
company-mode in GAMS mode, 1) install company-mode by yourself, and 2)
add the following code to init.el
(add-hook
'gams-mode-hook
#'(lambda () (company-mode))
)-
In GAMS-SIL mode, $label command is now treated in the same way as
$title command. -
Improved code for font locking. For this purpose, I have added the
gams-commands-dollar.txtfile, which contains a list of dollar control
options. In addition, I changed thegams-commands.txtfile to include
only commands other than dollar control options. -
Added support for auto-completion through emacs standard
completion-at-point-function, plus a selection of appropriate backends
for company-mode. For this, I addedgams-commands.txtfile which
includes the list of GAMS commands.
gams-mode 6.12
Full Changelog: 6.11...6.12
-
Sligtly modified the behavior of
gams-fill-paragraph. -
Added a command for opening online help for the gams model library.
-
Bind
C-c C-;togams-comment-or-uncomment-region, which is an alias
ofcomment-or-uncomment-regionYou can comment or uncomment a region
withC-c C-;. -
Fixed the bug in systax highligting and automatic indentation.
gams-mode 6.11
Full Changelog: 6.9...6.11
-
Modified
gams-view-lstandgams-jump-to-lst. If you attch the
universal-argument (C-u) to these commands, you can show the LST file
buffer next to the GAMS buffer. -
Modified the function
gams-fill-paragraphwhich is binded to "M-q" in
GAMS mode. -
Slightly modified
gams-show-identifier. -
Modified gams-mode.el so that it is compatible with smartparen-mode.
If you want to use smartparen-mode within GAMS mode, add the following
code in your init.el file(setq gams-close-paren-always nil) (setq gams-close-double-quotation-always nil) (setq gams-close-single-quotation-always nil) (add-hook 'gams-mode-hook #'smartparens-mode) -
Changed the default value of
gams-process-command-optionto
"logOption=3 pageWidth=100". -
Changed the default value of
gams-system-directoryto "c:/GAMS/37/". -
Changed the default value of
gams-log-file-extensionto "log". -
Updated
gams-setting-sample.elfile.
gams-mode 6.9
-
Fixed a bug in GAMS-TEMPLATE mode.
-
Made gams-mode derived from prog-mode.
-
To support vertico-mode (a new minibuffer completion feature in Emacs), read-from-minibuffer has been replaced with completing-read.
-
Changed the default setting for faces (coloring).
-
Changed gams-mode.el to suppress errors from byte-compiling.
gams-mode 6.7
-
Updated explanation in
README.mdfile. -
Updated example settings in
gams-setting-sample.elfile. -
Added a function for opening GAMS online manual for commandline options from "Change options" in "Process menu".
-
Updated the function for using outline representation like Org mode. See
orglike-headline.gmsfile in sample_gams_code folder for details. -
Modified
gams-view-documentfunction (C-cC-m). The current GAMS system offers manuals in html format (GAMS Documentation Center). The new version of GAMS mode enables you to open documents from GAMS mode.You can choose online documents or offline documents. If you attach the universal argument C-uC-cC-m, then you can search a command under the cursor in the documentation center (this command search function is available only in the online manual).
The directory of the local GAMS documents is determined by the variable
gams-docs-directory. By default,gams-docs-directoryis set to
`gams-system-directory' + docs.With this change, we abolished
gams-docs-view-program,gams-docs-view-old,gams-manuals-alist-base.
gams-mode 6.6
GAMS mode version 6.6.
-
Changed
gams-get-lst-modified-time. -
Added changes for psopt library.
-
Fixed the bug in GAMS-LST mode caused by assigning 1 or 2 to GAMS
command line option errmsg.
gams-mode 6.5
GAMS mode version 6.5.
-
Modified
gams-model-libraryso that it works under the recent versions of GAMS. -
Added a new function
gams-modlib-toggle-show-contentto GAMS model library (GAMS-MODLIB) mode. You can see the model library in GAMS-MODLIB mode. In the previous gams-mode.el, GAMS-MODLIB mode shows the program code of models. In the new gams-mode.el, you can see the explanatory text of models like GAMSIDE. Added a customizable variablegams-modlib-show-code-p-defaultwhich changes the default behavior ofgams-modlib-show-content. -
Modified explanatory strings.
-
Modified
gams-insert-statement-extended. -
Modified
gams-view-documentso that you can see documents in recent versions of GAMS system. Added new variablesgams-docs-urlandgams-docs-view-oldand modified the default value ofgams-docs-view-program. -
Changed GAMS mode icon for modeline.
-
Removed
gams-auto-complete.elfrom GAMS mode package.gams-auto-complete.elis renamed togams-ac.eland released as a separate package in gams-ac repository.
[https://github.com/ShiroTakeda/gams-ac/]
gams-mode 6.4
GAMS mode version 6.4.
-
Added hook variables
gams-sil-mode-hook,gams-lxi-mode-hook, andgams-ol-mode-hook. -
Added new list code
gams-auto-complete.el. This enables you to use auto-complete mode in GAMS mode.If you want to use auto-complete mode in GAMS mode, you first need to install
auto-complete.elwhich can be installed from MELPA.To use auto-complete in GAMS mode, add the following code to init.el.
;; Load gams-auto-complete. (require 'gams-auto-complete) ;; Initial setup for auto-complete in GAMS mode. (gams-ac-after-init-setup)If you want to add words for auto-complete mode by yourself, add words to the variable
gams-ac-source-user-keywords-list. See "gams-setting-sample.el" for details. -
Changed gamslxi.exe.
gams-mode 6.3
GAMS mode version 6.3
-
Modified licence statement.
-
Added executable files
gamslxi.exeandgamslxi-import.exe.
ver.6.2
GAMS mode version 6.2
-
Supported "singleton set".
-
Changed the default value of gams-highlighted-keywords-in-comment to ("TODO" "BUG" "FIXME").
-
Added a customizable variable
gams-sil-display-column-num. This variable determiens the column width for displaying identifer name in GAMS-SIL mode. -
Made changes to show names of parameters, variables and equations with index (set) in GAMS-SIL mode.