From f64813995c78e5c1ddd535cdb2fef89d838297e0 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Sat, 9 Jan 2021 11:13:08 -0800 Subject: Misc. --- custom.el | 2 +- smart-documents.org | 17 ++++++++--------- smart-documents.pdf | Bin 417026 -> 486552 bytes 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/custom.el b/custom.el index d05cf46..020ec02 100644 --- a/custom.el +++ b/custom.el @@ -17,7 +17,7 @@ '(cua-mode t nil (cua-base)) '(custom-enabled-themes nil) '(custom-safe-themes - '("a643864a52d717b433c4bb4192b9d3c852bf07c32d97d1d5f7b328611d05f6cc" "59ca8d4d11e2b627bcaa2bb21abe61a1ee8fcfde7ef96c562675cd07b08075fb" "cf67a11d183c51346987b06c09ed77452aa58d91bf1eedc79a294fa26cc3ec6d" "e2c3c758924389bb7d54e1b7c89c8abce4a704226e66e3a0db4f0208d1cb58fd" "16c5f25cabfc28514fdb353df38955bb660abdb53b071d38c2e031bcd2dd5f10" "0ab22463613090e46ea3b4a9a63c683e5b7fb5672cbf4888c720984caf1f5de1" "f78bb8993b8eb972db7d116f46b5969b38bb793f0a26f0b85d07546ac5248098" "59104e0700545965a14e2ab985884f81e7a41a6ea92c01c55979e1b92e47ebdc" "acad5bdfb9965352b90f50b2ffc47fbfd1ac708dcfbef8354aadc38240f1e478" "42e821f3d0d3a0ee44210b5d3bfc2f89f1a62d095512ec59737457209373d47b" "b969eb451a141d5d438b9b9814ed85252ad4411d71385cd5217a4a7f51844677" "d00ef309aa3e60f4c5780f2439dfde87eb7a927aa12f47a975d345a83483f708" "a9cfa0b8beb9e5edd204d709e86730224cc1995b2ac67da038bf83cf5b5dc0d4" "82c35cda29ae87484d769e19262fe9aa7d65c6ea7869088d05eaf5cda06cb4ca" default)) + '("00e0319cafc510a17bd345bd0c822fb532e895e6317cda1c9843f4f1b74f04e1" "a643864a52d717b433c4bb4192b9d3c852bf07c32d97d1d5f7b328611d05f6cc" "59ca8d4d11e2b627bcaa2bb21abe61a1ee8fcfde7ef96c562675cd07b08075fb" "cf67a11d183c51346987b06c09ed77452aa58d91bf1eedc79a294fa26cc3ec6d" "e2c3c758924389bb7d54e1b7c89c8abce4a704226e66e3a0db4f0208d1cb58fd" "16c5f25cabfc28514fdb353df38955bb660abdb53b071d38c2e031bcd2dd5f10" "0ab22463613090e46ea3b4a9a63c683e5b7fb5672cbf4888c720984caf1f5de1" "f78bb8993b8eb972db7d116f46b5969b38bb793f0a26f0b85d07546ac5248098" "59104e0700545965a14e2ab985884f81e7a41a6ea92c01c55979e1b92e47ebdc" "acad5bdfb9965352b90f50b2ffc47fbfd1ac708dcfbef8354aadc38240f1e478" "42e821f3d0d3a0ee44210b5d3bfc2f89f1a62d095512ec59737457209373d47b" "b969eb451a141d5d438b9b9814ed85252ad4411d71385cd5217a4a7f51844677" "d00ef309aa3e60f4c5780f2439dfde87eb7a927aa12f47a975d345a83483f708" "a9cfa0b8beb9e5edd204d709e86730224cc1995b2ac67da038bf83cf5b5dc0d4" "82c35cda29ae87484d769e19262fe9aa7d65c6ea7869088d05eaf5cda06cb4ca" default)) '(electric-indent-mode t) '(erc-autojoin-channels-alist '(("freenode.net" "##linux" "#linux" "#archlinux" "#emacs" "#bitcoin" "#latex" "#org-mode" "#python"))) diff --git a/smart-documents.org b/smart-documents.org index d5144ce..a82abde 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -4,7 +4,7 @@ #+DATE: <2020-12-19 Sat> #+EMAIL: blendoit@gmail.com #+STARTUP: showall -#+SETUPFILE: ~/.emacs.d/templates/documents/ms-default.org +#+SETUPFILE: ~/.emacs.d/templates/documents/gnu-default.org #+INCLUDE: ~/.emacs.d/templates/documents/default-title.org #+LATEX_HEADER_EXTRA: \newfontfamily\garamond{EB Garamond} #+LATEX_HEADER_EXTRA: \newfontfamily\publicsans{Public Sans} @@ -345,7 +345,7 @@ navigation cues on all modern desktop OSes. From IBM's CUA, we get the *** Open the agenda #+BEGIN_SRC emacs-lisp :tangle yes - (global-set-key [f5] 'org-agenda-list) + (global-set-key [f5] 'org-agenda) #+END_SRC *** Open the diary @@ -408,9 +408,9 @@ The following bindings lead to more natural window & frame exit behaviors. (kill-emacs)))) #+END_SRC -*** Open LHS & RHS sidebar +*** Open sidebar -We define bindings to open both the left-hand & right-hand sidebar. +We define bindings to open a sidebar at the left of the frame. #+BEGIN_SRC emacs-lisp :tangle yes (global-set-key (kbd " ") @@ -899,8 +899,7 @@ Get inspiration from ~ibuffer-sidebar~ and create a better sidebar. (defun sd-sidebar (side) "Open the sidebar on the chosen SIDE of the buffer." (interactive) - (cond ((eq sd-sidebar t) ; If sidebar is open - ; anywhere, close it. + (cond ((eq sd-sidebar t) (unless (one-window-p) (delete-window)) (setq sd-sidebar nil)) @@ -1134,7 +1133,7 @@ files for which the heading or body contain a matching We open the agenda in a separate window. -#+BEGIN_SRC emacs-lisp :tangle yes +#+BEGIN_SRC emacs-lisp :tangle no (setq org-agenda-window-setup 'other-frame) #+END_SRC @@ -1616,8 +1615,8 @@ purposefully and iteratively. #+BEGIN_SRC emacs-lisp :tangle yes (setq custom-theme-directory (concat user-emacs-directory "themes/")) - (load-theme 'sd-light) - ;; (load-theme 'sd-dark) + ;; (load-theme 'sd-light) + (load-theme 'sd-dark) #+END_SRC ** My light and dark themes diff --git a/smart-documents.pdf b/smart-documents.pdf index a5bce81..49b3882 100644 Binary files a/smart-documents.pdf and b/smart-documents.pdf differ -- cgit v1.2.3