Updated matlab-mode (and other tweaks).

This commit is contained in:
larstvei 2014-01-27 14:32:00 +01:00
parent eac3bdfe80
commit 92ac81466f
4 changed files with 393 additions and 516 deletions

851
README.md

File diff suppressed because it is too large Load Diff

11
init.el
View File

@ -65,7 +65,8 @@ PACKAGE is installed and the current version is deleted."
(insert "Time-stamp: <>")
(time-stamp)))
(when do-package-update-on-init
(when (and do-package-update-on-init
(y-or-n-p "Update all packages?"))
(package-refresh-contents)
(dolist (package
@ -83,6 +84,7 @@ PACKAGE is installed and the current version is deleted."
jedi ; Python auto-completion for Emacs
magit ; control Git from Emacs
markdown-mode ; Emacs Major mode for Markdown-formatted files.
matlab-mode ; MATLAB integration with Emacs.
monokai-theme ; A fruity color theme for Emacs.
move-text ; Move current line or region with M-up or M-down
multiple-cursors ; Multiple cursors for Emacs.
@ -96,8 +98,11 @@ PACKAGE is installed and the current version is deleted."
'(auto-compile ; auto-compile .el files
auto-complete-config ; a configuration for auto-complete-mode
jedi ; auto-completion for python
pretty-lambdada ; show 'lambda' as the greek letter.
matlab ; matlab-mode
ob-matlab ; org-babel matlab
ox-latex ; the latex-exporter (from org)
ox-md ; Markdown exporter (from org)
pretty-lambdada ; show 'lambda' as the greek letter.
recentf ; recently opened files
tex-mode)) ; TeX, LaTeX, and SliTeX mode commands
(require feature))
@ -436,4 +441,4 @@ LANGUAGES (cyclic) list."
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
(add-to-list 'auto-mode-alist '("\\.m$" . octave-mode))
(add-to-list 'matlab-shell-command-switches "-nosplash")

View File

@ -136,7 +136,8 @@
configurations are also dependent on them).
#+BEGIN_SRC emacs-lisp :tangle yes
(when do-package-update-on-init
(when (and do-package-update-on-init
(y-or-n-p "Update all packages?"))
(package-refresh-contents)
(dolist (package
@ -154,6 +155,7 @@
jedi ; Python auto-completion for Emacs
magit ; control Git from Emacs
markdown-mode ; Emacs Major mode for Markdown-formatted files.
matlab-mode ; MATLAB integration with Emacs.
monokai-theme ; A fruity color theme for Emacs.
move-text ; Move current line or region with M-up or M-down
multiple-cursors ; Multiple cursors for Emacs.
@ -174,8 +176,11 @@
'(auto-compile ; auto-compile .el files
auto-complete-config ; a configuration for auto-complete-mode
jedi ; auto-completion for python
pretty-lambdada ; show 'lambda' as the greek letter.
matlab ; matlab-mode
ob-matlab ; org-babel matlab
ox-latex ; the latex-exporter (from org)
ox-md ; Markdown exporter (from org)
pretty-lambdada ; show 'lambda' as the greek letter.
recentf ; recently opened files
tex-mode)) ; TeX, LaTeX, and SliTeX mode commands
(require feature))
@ -870,5 +875,5 @@
need to let =.m=-files be associated with =octave-mode=.
#+BEGIN_SRC emacs-lisp :tangle yes
(add-to-list 'auto-mode-alist '("\\.m$" . octave-mode))
(add-to-list 'matlab-shell-command-switches "-nosplash")
#+END_SRC

BIN
init.pdf

Binary file not shown.