(setq modifier-keys-are-sticky t) will make ctrl, shift, alt "sticky" in xemacs. (Does anybody know how to do this in emacs?) With sticky-keys, you dont have to hold down the ctrl/shift/alt key and another key simultaneosly. For example, to type ctrl-a, you'd have to tap on the 'ctrl'-key, followed by a tap on the 'a'-key. This feature is useful for folks with sore wrists/hands.
(setq message-log-max 512) will reduce the number of messages that appear in the "*Messages*" window to 512.
(setq display-time-day-and-date t) (display-time) will make the display of date and time persistent.
(require 'paren) (show-paren-mode t) will highlight matching parentheses next to cursor.
(setq-default indent-tabs-mode nil) will introduce spaces instead of tabs by default.
(setq-default truncate-lines t) will trucate lines if they are too long.
(setq-default truncate-partial-width-windows nil) will truncate even when screen is split into multiple windows.
(require 'auto-show) (auto-show-mode 1) (setq-default auto-show-mode t) load auto-show (shows lines when cursor moves to right of long line).
(auto-show-make-point-visible) will position the cursor to end of output in shell mode.
(auto-show-make-point-visible) will position cursor to end of output in shell mode automatically.
(transient-mark-mode t) will highlight region between point and mark.
(setq query-replace-highlight t) will highlight during query.
(setq search-highlight t) highlight incremental search.
(setq default-major-mode 'text-mode) will make text-mode default.
(global-font-lock-mode t t) means that we want fontification in all modes.
(setq font-lock-maximum-decoration t) denotes our interest in maximum possible fontification.
(type-break-mode) get intermittent messages to stop typing.
Some more embellishments:
(setq enable-recursive-minibuffers t) ;; allow recursive editing in minibuffer
(resize-minibuffer-mode 1) ;; minibuffer gets resized if it becomes too big
(follow-mode t) ;; follow-mode allows easier editing of long files
(setq uniquify-buffer-name-style 'reverse)
; Moving cursor down at bottom scrolls only a single line, not half page
(setq scroll-step 1)
(setq scroll-conservatively 5)
(global-set-key [delete] 'delete-char)
set-background-color "dark slate gray")
(set-foreground-color "blanched almond")