From: Ian Jackson Date: Fri, 10 Jun 2016 18:14:43 +0000 (+0100) Subject: disable frame-title-format thing. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=ian-dotfiles.git;a=commitdiff_plain;h=9f07171607f7ca2ced5e829a0cb3cac9f15f1fca disable frame-title-format thing. Found it commented out on mariner. I assume there is a good reason why I commented it out here. --- diff --git a/home/emacs/ian.el b/home/emacs/ian.el index 689d6db..6b4e611 100644 --- a/home/emacs/ian.el +++ b/home/emacs/ian.el @@ -139,6 +139,36 @@ (global-set-key "\eOB" 'next-line)) (setq term-setup-hook 'terminal-keybindings) ; remap keys in due course ; +(setq frame-title-format + '(multiple-frames + (:eval + (let* + ((buf (current-buffer)) + (leaf (buffer-name buf)) + (dir default-directory)) + (if dir + (let* + ((dir (abbreviate-file-name dir)) + (node (replace-regexp-in-string "\\..*" "" system-name))) + (concat leaf " " node ":" dir)) + leaf))) + ("" invocation-name "@" system-name))) +;(setq frame-title-format +; '(multiple-frames +; (:eval +; (let* +; ((buf (current-buffer)) +; (fn (buffer-file-name buf))) +; (if fn +; (let* +; ((fn (abbreviate-file-name fn)) +; (dir (file-name-directory fn)) +; (leaf (file-name-nondirectory fn)) +; (node (replace-regexp-in-string "\\..*" "" system-name))) +; (concat leaf " " node ":" dir)) +; (buffer-name buf)))) +; ("" invocation-name "@" system-name))) +; ; Autoload definitions (autoload 'tar-mode "tar-mode") (autoload 'uncompress-while-visiting "uncompress")