commit 528d79656863d285e8eff90fef402cc8edd7c70e
Author: Simon Watson <spw01@protonmail.com>
Date: Thu Jul 15 12:59:38 2021 -0400
Emacs changes and notes
diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index b877140..de53fad 100644
--- a/emacs/.emacs-all
+++ b/emacs/.emacs-all
@@ -153,8 +153,11 @@
(global-set-key (kbd "C-c w") 'windresize)
(global-set-key (kbd "C-c t") 'sol-dk)
(global-set-key (kbd "C-c g") 'sol-l)
-(global-set-key (kbd "C-c y") 'evil-mode) ; Quick toggle evil-mode for slime err
+(global-set-key (kbd "C-c y") 'evil-mode) ; Quick toggle evil-mode for slime err
+(global-set-key (kbd "C-c h") 'tramp-cleanup-connection)
+;;; Can probably be replaced with
+;;; a yasnippet
(fset 'date-to-point
(kmacro-lambda-form [?\C-u ?\M-! ?d ?a ?t ?e return] 0 "%d"))
diff --git a/orgmode/1.org b/orgmode/1.org
index 0683b38..3475d67 100644
--- a/orgmode/1.org
+++ b/orgmode/1.org
@@ -1,9 +1,28 @@
SPW PERSONAL -*- mode: org -*-
+#+STARTUP: indent
* Notes
** Interesting Things/Links/Etc
+*** Eshell stuff:
+**** Increase eshell perf:
+- https://github.com/Stebalien/stutter.el
+- Bug report to increase find perf
+ #+BEGIN_SRC shell
+│geza42 • 1 pts 1month
+│Emacs has an I/O related bug, which may depend on the OS. For me, applying the hack described in this [bug
+│report](https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44007) makes `seq 1000000` (in eshell) \~3x times faster
+│(with \~1 month old master build): it runs in 2.0 sec instead of 6.2 sec.
+│
+│In the bug report, a file is `cat`'d to the output. The difference between default emacs vs. emacs with properly
+│set variables + the hack is 18 sec vs. 0.3 sec, 60x difference.
+│
+│By properly set variables I mean these:
+│
+│ (setq read-process-output-max (* 1024 1024))
+│ (setq process-adaptive-read-buffering nil)
+ #+END_SRC
*** Tuir - new fork of rtv
-- https://pypi.org/project/tuir/
+- https://pypi.org/project/tuir
** Projects
*** TODO Figure out git situation between spwbk.site and github/gitlab/etc