X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/48bfbb038a527bfe31dd29b7656193bbe4186ea3..c8d14c8c380ef2d7b691cacc47a3d3cce4d16bac:/dot/emacs diff --git a/dot/emacs b/dot/emacs index ce99762..4107fda 100644 --- a/dot/emacs +++ b/dot/emacs @@ -134,6 +134,11 @@ (and edit (set-process-query-on-exit-flag edit nil))))))) +;; Saving state. + +(or mdw-fast-startup (savehist-mode 1)) +(setq history-length 200) + ;; Control backup behaviour. (setq backup-by-copying nil) @@ -208,7 +213,8 @@ (lambda () (let ((group gnus-newsgroup-name)) (and (string-match "^nn\\(imap\\|folder\\)\\+" group) - (not (string-match ":\\(crap\\|spam\\|lists\\)\\." group))))) + (not (string-match ":\\(crap\\|spam\\|lists\\|corpus\\)\\." + group))))) bbdb-user-mail-names (concat "^" "\\(" "\\(mdw\\|markw\\|root\\|postmaster\\)" @@ -593,6 +599,7 @@ (global-set-key [?\C-c ?t ?r] 'timeclock-reread-log) (global-set-key [?\C-c ?t ?w] 'timeclock-workday-remaining-string) (global-set-key [?\C-c ?t ?s] 'timeclock-status-string) + (global-set-key [?\C-c ?k] 'compile) (global-set-key [?\C-x ?3] 'mdw-split-window-horizontally) (global-set-key [?\M-#] 'calc-dispatch) (global-set-key [?\C-x ?/] 'auto-fill-mode)