X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/ae7460d4559f39809a748eb483ca70917424c50f..e2363e484e3a7c2a8c0b4a149028ea4a2d922765:/dot/emacs?ds=sidebyside diff --git a/dot/emacs b/dot/emacs index 9067aa8..9c394b6 100644 --- a/dot/emacs +++ b/dot/emacs @@ -188,7 +188,10 @@ (trap (resize-minibuffer-mode 1)) ;Make minibuffer grow dynamically (auto-compression-mode 1) ;Enable automatic compression +(setq enable-local-variables :safe + enable-local-eval nil) (setq dabbrev-case-replace nil) ;Retain case when completing +(setq linum-format "%7d ") (setq next-line-add-newlines nil) ;Don't add weird newlines (setq split-height-threshold 45) ;Reuse windows where sensible (setq display-buffer-reuse-frames nil ;Don't confuse me by showing buffers @@ -218,6 +221,7 @@ (setq x-gtk-file-dialog-help-text nil) (setq Info-fontify-maximum-menu-size 100000) (setq set-mark-command-repeat-pop t) +(setq password-cache-expiry nil) (setq-default proced-filter 'all proced-sort 'user) (setq ispell-program-name "aspell" @@ -726,7 +730,7 @@ ;; Make the shell mode aware of my prompt. -(setq shell-prompt-pattern "^[^]#$%>»}\n]*[]#$%>»}] *") +(setq shell-prompt-pattern "^[^]#$%>»}\n]*\\([]#$%»}]\\|>>?\\) *") (setq comint-password-prompt-regexp (concat "\\(\\([Ee]nter \\|[Oo]ld \\|[Nn]ew \\|[a-zA-Z0-9_]*'s \\|^\\)" "[Pp]assword\\|pass phrase\\):"))