From 260fad2ed071931265d3919faa3d429e06103e2c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 9 Dec 2015 17:01:29 +0100 Subject: Emacs: Disable magic filename handling on startup --- tag-emacs/emacs.d/init.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index afe2681f..39ae5142 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -11,6 +11,7 @@ Open Emacs with just a plain window. No graphics or messages, please! (setq inhibit-startup-echo-area-message "alan") (setq inhibit-startup-screen t) (setq gc-cons-threshold 100000000) + (setq file-name-handler-alist nil) #+END_SRC ** Scratch buffers @@ -2435,5 +2436,10 @@ Start a server if possible. A daemon is already a server. (message "Server already appears to be running") (server-start))))) (benchmark-init/deactivate) - (setq gc-cons-threshold 800000) + (setq gc-cons-threshold 800000 + file-name-handler-alist '(("\\(?:\\.dz\\|\\.txz\\|\\.xz\\|\\.lzma\\|\\.lz\\|\\.g?z\\|\\.\\(?:tgz\\|svgz\\|sifz\\)\\|\\.tbz2?\\|\\.bz2\\|\\.Z\\)\\(?:~\\|\\.~[-[:alnum:]:#@^._]+\\(?:~[[:digit:]]+\\)?~\\)?\\'" . jka-compr-handler) + ("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" . epa-file-handler) + ("\\`/[^/]*\\'" . tramp-completion-file-name-handler) + ("\\`/[^/|:][^/|]*:" . tramp-file-name-handler) + ("\\`/:" . file-name-non-special))) #+END_SRC -- cgit 1.4.1