If it is different, emacs will give a message about recovering it when you open it.
+* TODO try out which key mode
+* TODO make installed emacs package declarative
* TODO see if there are more cool functions in sh-script
like sh-cd-here, and bind that to a key
* TODO assign a key to append-next-kill
#+begin_src emacs-lisp
;;(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e")
+;;(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e")
(require 'mu4e)
;; (setq mu4e-headers-results-limit 2000)
(defun sudo-edit (&optional arg)
(interactive "P")
(if (or arg (not buffer-file-name))
- (find-file (concat "/sudo:root@localhost:" (ido-read-file-name "File: ")))
- (find-alternate-file (concat "/sudo:root@localhost:" buffer-file-name))))
+ (find-file (concat "/sudo::" (ido-read-file-name "File: ")))
+ (find-alternate-file (concat "/sudo::" buffer-file-name))))
(add-hook 'text-mode-hook 'variable-pitch-on)
(defun variable-pitch-off ()
(variable-pitch-mode 0))
-(add-hook 'yaml-mode-hook 'variable-pitch-on)
+(add-hook 'yaml-mode-hook 'variable-pitch-off)
(set-face-attribute 'org-table nil :family (face-attribute 'fixed-pitch :family))