From: Ian Kelling Date: Sun, 9 Jun 2019 18:15:26 +0000 (-0400) Subject: misc minor fixes X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=da907fbf50cbb4eb2b32238fc077fa919726f974;p=dot-emacs misc minor fixes --- diff --git a/my-init.org b/my-init.org index 82215fb..35c03ba 100644 --- a/my-init.org +++ b/my-init.org @@ -154,6 +154,8 @@ find a recently dated file in ~/.emacs.d/auto-save-list/, and see the files list 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 @@ -944,6 +946,7 @@ has a list of folders which i'd rather not publish, so it's config is archived. #+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) @@ -2558,8 +2561,8 @@ Go to the next directory based on where the cursor is." (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)))) @@ -3254,7 +3257,7 @@ clicking on info links (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))