Posted on April 21, 2008 by kurniawano
Emacs Octave Support is already packaged in Emacs 22 and 23.
To begin using Octave mode for all `.m’ files you visit, add the following lines to a file loaded by Emacs at startup time, typically your `~/.emacs’ file:
(autoload ‘octave-mode “octave-mod” nil t)
(setq auto-mode-alist
(cons ‘(“\\.m$” . octave-mode) auto-mode-alist))
[...]
Filed under: Uncategorized | Tagged: emacs, octave | 2 Comments »
Posted on April 4, 2008 by kurniawano
I found this package to make writing Latex docs in Emacs pretty easy: AUCTeX. To install type
sudo apt-get install auctex
This is the AUCTeX reference card for using it in emacs.
Filed under: Uncategorized | Tagged: emacs, latex | 1 Comment »
Posted on April 3, 2008 by kurniawano
This improves the font in Emacs. Follow the instruction in this <a href=”http://peadrop.com/blog/2007/01/06/pretty-emaprettyemacs1.pngcs/”>link. To set the font, use this code at .emacs file instead of adding to .Xresources file
(if (>= emacs-major-version 23)
(set-default-font “Monospace-11 ” ))
Filed under: Uncategorized | Tagged: emacs, font | Leave a Comment »
Posted on April 3, 2008 by kurniawano
To change Emacs color theme, first install emacs-goodies-el by typing
apt-get install emacs-goodies-el
To choose and try, run emacs and type
M-x color-theme-select
It will open a list of color theme. To use a certain color theme everytime emacs is started, create .emacs file in your home directory and type
;; Color theme
(require ‘color-theme)
(setq color-theme-is-global t)
(color-theme-gnome2)
open your emacs again [...]
Filed under: Uncategorized | Tagged: emacs | 2 Comments »