From da907fbf50cbb4eb2b32238fc077fa919726f974 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sun, 9 Jun 2019 14:15:26 -0400 Subject: [PATCH] misc minor fixes --- my-init.org | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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)) -- 2.30.2