The Stratego Emacs mode is part of stratego-util?. See the directory stratego-util/emacs.

Installation instructions

Put the file stratego.el in some directory and make sure it is your loadpath.

For example add this to ~/.emacs :

  (add-to-list 'load-path "~/.myemacs")

To bind the Stratego mode to .str files add this to ~/.emacs :

  (autoload 'stratego-mode "stratego")
  (setq auto-mode-alist (cons '("\.str$" . stratego-mode) auto-mode-alist))

Currently sdf syntax coloring is in the stratego-mode as well. To bind the stratego-mode to .sdf files add this to ~/.emacs :

  (setq auto-mode-alist (cons '("\.sdf$" . stratego-mode) auto-mode-alist))

Author

Other Useful modes

  • CUA Mode for ctrl-cxv cut copy paste, shift text selection, ctrl-z undo.

Revision: r1.4 - 04 Nov 2003 - 11:19 - MartinBravenboer
Stratego > StrategoUtilities > StrategoEmacsMode
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback