My Emacs configuration

I'm by no means an expert in using Emacs, but it has been my favorite editor for some time if I need to write anything more than a short note or a simple one-line script. Unfortunately, I will probably never have time to learn Lisp, which means I'll never be able to write my own functions or modify the existing modes or functions written for the Emacs. Luckily, with some googling one can usually find a ready solution for just about any problem one encounters using Emacs.

The following code contains some of the tweaks I have added to the configuration of Emacs on most of my boxes. Just copy and paste the code (or parts of it) to ~./emacs. If you don't have .emacs file in your home directory, you can create it with any editor you like (you might even like to use vi for the task!). In openSUSE the tweaks can also be included in ~/.gnu-emacs-custom.

Please suggest some more tweaks in the comment box!


;; == disable splash screen & toolbar to save screen space ==
(setq inhibit-splash-screen t)
(tool-bar-mode -1)

;; == disable menu bar as well ==
;; (menu-bar-mode -1)

;; == use text mode as default mode and use longlines-mode with text files ==
(setq default-major-mode 'text-mode)
(add-hook 'text-mode-hook 'longlines-mode)

;;; == use org-mode for .org files ==
(add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
(add-to-list 'auto-mode-alist '("\\.\\(org\\)$" . org-mode))
(require 'org-install)

;; == enable mouse wheel ==
(mouse-wheel-mode t)

;; == save backup files in ~/.emacs-backups
(setq make-backup-files t)
(setq version-control t)
(setq backup-directory-alist (quote ((".*" . "~/.emacs-backups/"))))

;; === pretty colors on blackground ==
(set-background-color "black")
(set-foreground-color "green")
(set-cursor-color "yellow")

;;== count words with Esc x wc
(defun wc ()
(interactive)
(message "Word count: %s" (how-many "\\w+" (point-min) (point-max))))

Free software for economists

As an economics and business student, I somehow googled my way to Alan G. Isaac's Software for Economists. Alan presents a nice collection of free software that can be used by economists and other scholars as well.

Linux Ecology-HOWTO updated

I just noticed that the Linux Ecology HOWTO has been updated in September. If you have never read the HOWTO, you certainly should take a look at it. And don't forget to check the latest updates in the Guides section of the Linux Documentation Project as well.