Emacs-fu requested little emacs tricks and I have a few in my config.
Fixing Cut and Paste
I don’t need this on Windows but when working through an X-server it makes cut and paste work.
(setq x-select-enable-clipboard t)
I have mentioned ido-mode before in my directory aliases post that everybody has probably seen by now.
(ido-mode t) (setq ido-enable-flex-matching t) (setq ido-create-new-buffer 'always)
I use uniquify to distinguish between two identically named files as the default, appending a
<n> extension, is rubbish. This tip is from Trey Jackson.
(require 'uniquify) (setq uniquify-buffer-name-style 'reverse) (setq uniquify-separator "|") (setq uniquify-after-kill-buffer-p t) (setq uniquify-ignore-buffers-re "^\\*")
I’m not keen on the way that emacs leaves its backups all over the place. You can fix that by configuring
(setq backup-directory-alist (cons '("." . "~/.emacs-backups") backup-directory-alist))
I guess I must have written that a while ago as these days I would use
push in preference to
(push '("." . "~/.emacs-backups") backup-directory-alist)