OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.6 KiB

  1. This is taken from matlab.el.
  2. Information can also be found at http://www.imm.dtu.dk/~kas/software/emacs/
  3. ;;; Installation:
  4. ;;
  5. ;; Put the this file as "matlab.el" somewhere on your load path, then
  6. ;; add this to your .emacs or site-init.el file:
  7. ;;
  8. ;; (autoload 'matlab-mode "matlab" "Enter MATLAB mode." t)
  9. ;; (setq auto-mode-alist (cons '("\\.m\\'" . matlab-mode) auto-mode-alist))
  10. ;; (autoload 'matlab-shell "matlab" "Interactive MATLAB mode." t)
  11. ;;
  12. ;; User Level customizations (You need not use them all):
  13. ;; (setq matlab-indent-function t) ; if you want function bodies indented
  14. ;; (setq matlab-verify-on-save-flag nil) ; turn off auto-verify on save
  15. ;; (defun my-matlab-mode-hook ()
  16. ;; (setq fill-column 76)) ; where auto-fill should wrap
  17. ;; (add-hook 'matlab-mode-hook 'my-matlab-mode-hook)
  18. ;; (defun my-matlab-shell-mode-hook ()
  19. ;; '())
  20. ;; (add-hook 'matlab-shell-mode-hook 'my-matlab-shell-mode-hook)
  21. ;;
  22. ;; If you are using a version of MATLAB with the Desktop enabled,
  23. ;; you may need to add this:
  24. ;;
  25. ;; (setq matlab-shell-command-swithes '("-nojvm"))
  26. ;;
  27. ;; Please read the mode help for matlab-mode for additional
  28. ;; configuration options.
  29. ;;
  30. ;; Syntax highlighting:
  31. ;; To get font-lock try adding this for older emacsen:
  32. ;; (font-lock-mode 1)
  33. ;; Or for newer versions of Emacs:
  34. ;; (global-font-lock-mode t)
  35. ;; To get hilit19 support try adding:
  36. ;; (matlab-mode-hilit)
  37. ;;
  38. ;; This package requires easymenu, tempo, and derived.
  39. ;; This package will optionally use custom, shell, and gud.
  40. ;; This package supports language specific extensions in imenu, func-menu,
  41. ;; speedbar, font-lock, and hilit19.