summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.org8
1 files changed, 7 insertions, 1 deletions
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