X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/3da089939fb0017b21cd44ab95b7ea0fcf8a0090..25b770723c40782409aaf88a6469df5516f7cc5a:/dot/emacs?ds=sidebyside diff --git a/dot/emacs b/dot/emacs index 4e28726..0eddaa1 100644 --- a/dot/emacs +++ b/dot/emacs @@ -86,6 +86,13 @@ (trap (show-paren-mode t)) (or window-system (menu-bar-mode -1)) +;; Multiple cursors. + +(setq load-path (nconc load-path (list "~/lib/emacs/multiple-cursors/"))) +(global-set-key [?\C-c ?r] 'mdw-multiple-cursors-keymap) +(autoload 'mdw-multiple-cursors-keymap "mdw-multiple-cursors.el" + "A keymap for Magnar Sveen's awesome multiple-cursors." nil 'keymap) + ;; Temporary directory handling. (defun mdw-check-dir-exists (dir) @@ -141,7 +148,10 @@ (setq rmail-display-summary t) (setq rmail-file-name "~/Mail/rmail") -(setq sendmail-program "~/bin/sendmail-hack") +(setq sendmail-program "~/bin/sendmail-hack" + send-mail-function 'sendmail-send-it + mail-interactive t + sendmail-error-reporting-interactive '("-odb" "-oee")) (setq mail-user-agent 'message-user-agent read-mail-command 'gnus) @@ -149,6 +159,8 @@ message-yank-prefix "> " message-yank-cited-prefix "> " message-send-mail-function 'message-send-mail-with-sendmail + message-interactive t + message-sendmail-extra-arguments '("-odb" "-oee") message-sendmail-envelope-from 'header message-indent-citation-function '(message-indent-citation mdw-trim-spaces-after-citing)) @@ -281,6 +293,13 @@ (setq cltl2-root-url (mdw-config 'cltl-url)) (setq common-lisp-hyperspec-root (mdw-config 'hyperspec-url)) +(setq rfcview-rfc-location-pattern + "/ftp@mirror.distorted.org.uk:/pub/mirrors/rfc/rfc%s.txt" + rfcview-std-location-pattern + "/ftp@mirror.distorted.org.uk:/pub/mirrors/rfc/std/std%s.txt" + rfcview-index-location + "/ftp@mirror.distorted.org.uk:/pub/mirrors/rfc/rfc-index.txt") + ;;;-------------------------------------------------------------------------- ;;; W3 and URL fetching stuff. @@ -410,7 +429,7 @@ (setq default-frame-alist (mdw-uniquify-alist - '((width . 78) + `((width . ,(if (>= emacs-major-version 21) 77 78)) (height . 33) (vertical-scroll-bars . right) (cursor-type . bar) @@ -418,10 +437,8 @@ (left-fringe . 5) (right-fringe . 5) (scroll-bar-width . 15) - (cursor-color . "red")) - (if mdw-black-background - '((background-mode . dark)) - '((background-mode . light))))) + (cursor-color . "red") + (background-mode . ,(if mdw-black-background 'dark 'light))))) (setq window-system-default-frame-alist '((pm (font . "-os2-System VIO-medium-r-normal--*-40-*-*-m-*-cp850") (menu-font . "8.Helv") @@ -496,7 +513,7 @@ (or mdw-fast-startup (trap (progn (org-remember-insinuate) - (global-set-key [?\C-c ?r] 'org-remember)))) + (global-set-key [?\C-c ?o ?r] 'org-remember)))) ;; Minor mode listing