summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--bookmarks7
-rw-r--r--early-init.el30
-rw-r--r--resources/custom.el4
-rw-r--r--resources/templates/documents/gnu-default.setup18
-rw-r--r--resources/templates/documents/ms-word.setup2
-rw-r--r--smart-documents.org40
7 files changed, 74 insertions, 31 deletions
diff --git a/.gitignore b/.gitignore
index 16743c4..08b57ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,4 +25,6 @@ smart-documents.el*
.org-id-locations
async-bytecomp.log
srecode-map.el
-tramp \ No newline at end of file
+tramp
+bookmarks
+network-security.data \ No newline at end of file
diff --git a/bookmarks b/bookmarks
index fec276d..debd3cb 100644
--- a/bookmarks
+++ b/bookmarks
@@ -2,7 +2,12 @@
;;; This format is meant to be slightly human-readable;
;;; nevertheless, you probably don't want to edit it.
;;; -*- End Of Bookmark File Format Version Stamp -*-
-(("org-capture-last-stored"
+(("org-refile-last-stored"
+ (filename . "~/org/WORK/2021-job-search/RAIL-job-search-2021-09-17.org")
+ (front-context-string . "** FOLLOW UP EDF")
+ (rear-context-string . "olkswagen Group\n")
+ (position . 23388))
+("org-capture-last-stored"
(filename . "~/.emacs.d/resources/org/default-notes.org")
(front-context-string . "** TODO Do this\n")
(rear-context-string)
diff --git a/early-init.el b/early-init.el
index d841996..28daed4 100644
--- a/early-init.el
+++ b/early-init.el
@@ -1,13 +1,39 @@
+;;; early-init.el --- Values set early on in the Emacs startup process.
+
+;; Copyright (C) 2021 Marius Peter
+
+;; Author: smart.documents@tuta.io
+;; Keywords: convenience
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+
+;;; Commentary:
+
;; These settings ensure Emacs does not flicker during early setup.
+
+;;; Code:
+
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
(menu-bar-bottom-and-right-window-divider)
-(setq gc-cons-threshold 100000000)
+(setq gc-cons-percentage 10) ; Recommended over modifying
+ ; gc-cons-threshold
(provide 'early-init)
-
;;; early-init.el ends here
;; Local Variables:
diff --git a/resources/custom.el b/resources/custom.el
index 661e384..ece9227 100644
--- a/resources/custom.el
+++ b/resources/custom.el
@@ -28,7 +28,7 @@
'(cursor-type 'bar)
'(custom-enabled-themes nil)
'(custom-safe-themes
- '("633b9c85026b2159928553f2fe828b3b80b2581c7e3b324e2b0eac8f604c483b" "422a317d1eed69a367d1506fe15a928dd18426ade0d6ee76bb390402f7c4e3aa" "9a7c95cf28858105c3265f6be4b36447092682c9e49cfbe1fe81c029fbed8db8" "e9954eb5df6bb9a3730639c5a6ce9b7db4d753a5935d9b73953cabe032fbfbd2" "9547849e788cd0a520c445bed08d248742d5d2b7c0c750bbab284e98810dd551" "7e03b8096f27ea37c12abc9afff4922659c79221d0c6815700b8fabbc450ca7c" "6751665922c478d0aee39f06fc269dd82dc109b8dabb0e3b443cab511aa5fe2e" "5147d19a022bb32b3b084f7c746ad8ac20e56f89e1720ddd25758710406e7614" "b067125d603e44d886d1fcbeb82f6db4b2ad79c7244bce32d2a863d05b1e6dc6" "c21761ef593f2c6258f4b602cb785aebf9fe18d4e6b659dbca7850caf0b33a74" "8205f1caf1334c56a3360438ace84d2a1ade86923929e766e53987c9b5a5cd7d" "d1d7ccb8f1c17a3f53b10b769ccd3b8b62c0230dde88ca23dd8fe85a3fe1fa74" "c353dde8298eb4fd36d534d30f99d1b71844871c1e5e89a273479582190cce10" "98cbdcf881aa40774a278953571a46a19505d2c168a29760d016a54483470d3f" "6796c19189021d5643e7b4fe2238834da597ffe1087d8919da386b6bba827112" "bc627b8eccb0f82eb00f7a7cdb2fd2b66422ddbe46e01de66dcd0936a414958c" "a23a48bb7bac7d46c61e779e0b9a3e003387b4b9543163e9db562a12ff96333b" "32df8feae4f9846e05dcb578e48be7c465971b7664469431dd13bfe01dbe0872" "ebbbdfe1bf03a99559116736d073500a2100c463c242ab7f7feabce4d22aa6ae" "cd0f588f48c6f3c1eb25084396820f8c938c28fb489487262d60168b1a6385f7" "6f78c6f29feef7561fe7224a4e9c73b87940ff888b92cae27fd63cf0de10c7c7" "fff87b42a0999ee2e7a28507e3f0746fbc3e1eb1394ce74e9dee2cf4a81d080d" "0bbbb6fb8921bcca20e3dc0a628867cfac8b82487b464deb93da38388ca86503" "280de4d8dd8980fa1c5a8f1d726d89932df982fccc33dbcc74d107ef941211a2" "fb8357d6a94ab57b3e5062b481876f0b6c7149f2394a6ec46f1ca92487fbc888" "ea287582eaea4e0c0a991ad0aa42f679f21b8d92766762bcc4d730d4aa6c8fd7" "07e0a2ea30155beb57b51f031a9a1c975e201bd497982ba3bf5093a6715300d9" "5a6e72c173208edfaa2f591b669294636f7ee7fbf5bcf901c9c9d52b0c69ce6e" "69e4d8638af3287be6b70391b75c816b67b47578dc88141a1643d32ba806ac8a" "cdc38ce5913c5e2b69bf6a4984ec0c9d0be8eddb71db55b9ee659ed103919aab" "44854133f0525c7e714e1b04f3ddfd01d87176e914d2efb0cc755458c510719f" "7a2fd29088d19e5e9428851a5c3c13e330ad1789ae558782c208b94a5234d9ca" "6565cf9ef99fd03e4514dc72dca6dd900007ec35c3bb0b65053f8041b7b64b83" "d24ae1c19dbf63a629fe84d4df55cbbc494b5694978157b870f57b61c03bf334" "b8244418af8bc37c4b076a021cacb1bda94fb70e506a5b50c40d1a0ed92a15d6" "c480484ec6a61d87d3dab2443e7b04832659bafc1d2b5bcaacb3d977bdbea928" "82d48184709ea6777d920226b4d95986ac469f5c01b0652b3b63566124a959d5" "8f567db503a0d27202804f2ee51b4cd409eab5c4374f57640317b8fcbbd3e466" "e6df46d5085fde0ad56a46ef69ebb388193080cc9819e2d6024c9c6e27388ba9" default))
+ '("03ba8d0d53d972508db964fa88c3cb8610604e364d4f4163dffb495c9de0a144" "2877431bffac5322ba62437547002039a466a846e04eefcf817f745dd75f8191" "633b9c85026b2159928553f2fe828b3b80b2581c7e3b324e2b0eac8f604c483b" "422a317d1eed69a367d1506fe15a928dd18426ade0d6ee76bb390402f7c4e3aa" "9a7c95cf28858105c3265f6be4b36447092682c9e49cfbe1fe81c029fbed8db8" "e9954eb5df6bb9a3730639c5a6ce9b7db4d753a5935d9b73953cabe032fbfbd2" "9547849e788cd0a520c445bed08d248742d5d2b7c0c750bbab284e98810dd551" "7e03b8096f27ea37c12abc9afff4922659c79221d0c6815700b8fabbc450ca7c" "6751665922c478d0aee39f06fc269dd82dc109b8dabb0e3b443cab511aa5fe2e" "5147d19a022bb32b3b084f7c746ad8ac20e56f89e1720ddd25758710406e7614" "b067125d603e44d886d1fcbeb82f6db4b2ad79c7244bce32d2a863d05b1e6dc6" "c21761ef593f2c6258f4b602cb785aebf9fe18d4e6b659dbca7850caf0b33a74" "8205f1caf1334c56a3360438ace84d2a1ade86923929e766e53987c9b5a5cd7d" "d1d7ccb8f1c17a3f53b10b769ccd3b8b62c0230dde88ca23dd8fe85a3fe1fa74" "c353dde8298eb4fd36d534d30f99d1b71844871c1e5e89a273479582190cce10" "98cbdcf881aa40774a278953571a46a19505d2c168a29760d016a54483470d3f" "6796c19189021d5643e7b4fe2238834da597ffe1087d8919da386b6bba827112" "bc627b8eccb0f82eb00f7a7cdb2fd2b66422ddbe46e01de66dcd0936a414958c" "a23a48bb7bac7d46c61e779e0b9a3e003387b4b9543163e9db562a12ff96333b" "32df8feae4f9846e05dcb578e48be7c465971b7664469431dd13bfe01dbe0872" "ebbbdfe1bf03a99559116736d073500a2100c463c242ab7f7feabce4d22aa6ae" "cd0f588f48c6f3c1eb25084396820f8c938c28fb489487262d60168b1a6385f7" "6f78c6f29feef7561fe7224a4e9c73b87940ff888b92cae27fd63cf0de10c7c7" "fff87b42a0999ee2e7a28507e3f0746fbc3e1eb1394ce74e9dee2cf4a81d080d" "0bbbb6fb8921bcca20e3dc0a628867cfac8b82487b464deb93da38388ca86503" "280de4d8dd8980fa1c5a8f1d726d89932df982fccc33dbcc74d107ef941211a2" "fb8357d6a94ab57b3e5062b481876f0b6c7149f2394a6ec46f1ca92487fbc888" "ea287582eaea4e0c0a991ad0aa42f679f21b8d92766762bcc4d730d4aa6c8fd7" "07e0a2ea30155beb57b51f031a9a1c975e201bd497982ba3bf5093a6715300d9" "5a6e72c173208edfaa2f591b669294636f7ee7fbf5bcf901c9c9d52b0c69ce6e" "69e4d8638af3287be6b70391b75c816b67b47578dc88141a1643d32ba806ac8a" "cdc38ce5913c5e2b69bf6a4984ec0c9d0be8eddb71db55b9ee659ed103919aab" "44854133f0525c7e714e1b04f3ddfd01d87176e914d2efb0cc755458c510719f" "7a2fd29088d19e5e9428851a5c3c13e330ad1789ae558782c208b94a5234d9ca" "6565cf9ef99fd03e4514dc72dca6dd900007ec35c3bb0b65053f8041b7b64b83" "d24ae1c19dbf63a629fe84d4df55cbbc494b5694978157b870f57b61c03bf334" "b8244418af8bc37c4b076a021cacb1bda94fb70e506a5b50c40d1a0ed92a15d6" "c480484ec6a61d87d3dab2443e7b04832659bafc1d2b5bcaacb3d977bdbea928" "82d48184709ea6777d920226b4d95986ac469f5c01b0652b3b63566124a959d5" "8f567db503a0d27202804f2ee51b4cd409eab5c4374f57640317b8fcbbd3e466" "e6df46d5085fde0ad56a46ef69ebb388193080cc9819e2d6024c9c6e27388ba9" default))
'(electric-indent-mode t)
'(erc-modules
'(autojoin button completion services spelling track netsplit fill match readonly networks ring noncommands irccontrols move-to-prompt stamp menu list))
@@ -67,7 +67,7 @@
'(org-table-convert-region-max-lines 3000)
'(org-tags-column -66)
'(package-selected-packages
- '(yasnippet which-key use-package undo-tree tuareg rich-minority rainbow-mode rainbow-delimiters py-yapf projectile plantuml-mode pdf-tools magit lua-mode ledger-mode hungry-delete haskell-mode gnuplot flycheck emojify dumb-jump csv-mode counsel auctex-latexmk))
+ '(ivy yasnippet which-key use-package undo-tree tuareg rich-minority rainbow-mode rainbow-delimiters py-yapf projectile plantuml-mode pdf-tools magit lua-mode ledger-mode hungry-delete haskell-mode gnuplot flycheck emojify dumb-jump csv-mode counsel auctex-latexmk))
'(pdf-view-midnight-colors '("#DCDCCC" . "#383838"))
'(save-place-mode t)
'(send-mail-function 'smtpmail-send-it)
diff --git a/resources/templates/documents/gnu-default.setup b/resources/templates/documents/gnu-default.setup
index 54a1f21..015da15 100644
--- a/resources/templates/documents/gnu-default.setup
+++ b/resources/templates/documents/gnu-default.setup
@@ -9,8 +9,8 @@
#+LATEX_HEADER: \usepackage[
#+LATEX_HEADER: left = 1.2in,
#+LATEX_HEADER: right = 1.2in,
-#+LATEX_HEADER: top = 1in ,
-#+LATEX_HEADER: bottom = 1.5in,]{geometry}
+#+LATEX_HEADER: top = 1.0in ,
+#+LATEX_HEADER: bottom = 1.8in,]{geometry}
# Beautiful fonts ONLY
#+LATEX_HEADER: \usepackage{fontspec}
@@ -37,15 +37,15 @@
#+LATEX_HEADER: \setlength{\headheight}{36pt}
#+LATEX_HEADER_EXTRA: \pagestyle{fancy}
#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\color{gray}\texttt{\theauthor}}
-# #+LATEX_HEADER_EXTRA: \fancyhead[C]{\color{gray}\large\bfseries\thetitle}
+#+LATEX_HEADER_EXTRA: \fancyhead[C]{\color{gray}\bfseries\thetitle}
#+LATEX_HEADER_EXTRA: \fancyhead[R]{\color{gray}\thedate}
# Make header line gray
#+LATEX_HEADER_EXTRA: \renewcommand{\headrule}{\hbox to\headwidth{%
#+LATEX_HEADER_EXTRA: \color{gray}\leaders\hrule height \headrulewidth\hfill}
#+LATEX_HEADER_EXTRA: \fancyfoot[C]{\color{gray}\hrulefill\\[0.8em]
-#+LATEX_HEADER_EXTRA: Page \thepage/\pageref*{LastPage}\\[0.8em]
-#+LATEX_HEADER_EXTRA: \footnotesize Compiled with
-#+LATEX_HEADER_EXTRA: \includegraphics[width=1.618ex]{~/.emacs.d/img/icons/EmacsIcon.png}/
-#+LATEX_HEADER_EXTRA: \includegraphics[width=1.618ex]{~/.emacs.d/img/icons/Org-mode-unicorn.png}/
-#+LATEX_HEADER_EXTRA: \includegraphics[width=1.618ex]{~/.emacs.d/img/icons/LuaTeX_logo.png}/...\\
-#+LATEX_HEADER_EXTRA: Copyright \copyright~2021 Marius Peter. All rights reserved.}}
+#+LATEX_HEADER_EXTRA: {\bfseries Page \thepage/\pageref*{LastPage}}\\[0.8em]
+#+LATEX_HEADER_EXTRA: \footnotesize \texttt{Compiled with Emacs, Org mode, LuaTeX...}\\
+# +LATEX_HEADER_EXTRA: \includegraphics[width=1.618ex]{~/.emacs.d/resources/images/icons/EmacsIcon.png}/
+# +LATEX_HEADER_EXTRA: \includegraphics[width=1.618ex]{~/.emacs.d/resources/images/icons/Org-mode-unicorn.png}/
+# +LATEX_HEADER_EXTRA: \includegraphics[width=1.618ex]{~/.emacs.d/resources/images/icons/LuaTeX_logo.png}/...\\
+#+LATEX_HEADER_EXTRA: \texttt{Copyright \copyright~2021 Marius Peter. All rights reserved.}}}
diff --git a/resources/templates/documents/ms-word.setup b/resources/templates/documents/ms-word.setup
index a19f548..782490d 100644
--- a/resources/templates/documents/ms-word.setup
+++ b/resources/templates/documents/ms-word.setup
@@ -14,7 +14,7 @@
# Beautiful fonts ONLY
#+LATEX_HEADER: \usepackage{fontspec}
#+LATEX_HEADER: \setmainfont{Carlito}
-#+LATEX_HEADER: \setmonofont{Liberation Mono}
+#+LATEX_HEADER: \setmonofont{Inconsolata}
# Get total page count to insert in footer
#+LATEX_HEADER: \usepackage{lastpage}
diff --git a/smart-documents.org b/smart-documents.org
index 627555a..14879a6 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -40,6 +40,8 @@ personal GNU Emacs customizations with a tutorial. This paper is a
** TODO Project vision/values/core objectives
+** TODO <apps> button as master {{{sd}}} entry point
+
* Introduction
@@ -282,7 +284,6 @@ with ~M-x customize-group <package>~.
(load custom-file)
#+END_SRC
-
** Backups
Backups are very important!
@@ -359,7 +360,7 @@ navigation cues on all modern desktop OSes. From IBM's CUA, we get the
(cua-mode)
#+END_SRC
-** Files
+** Files :FLAGGED:
*** Save a file
@@ -381,7 +382,7 @@ navigation cues on all modern desktop OSes. From IBM's CUA, we get the
*** Open this very file
-(Function defined in Section [[Jumping to this file]])
+(Function defined in Section [[This very file]])
#+BEGIN_SRC emacs-lisp :tangle yes
(global-set-key (kbd "C-c c") 'sd-find-literate-config)
@@ -889,7 +890,8 @@ Yeah, a Telegram client exists for Emacs.
# Implement automatically downloading this kind of executable!
#+BEGIN_SRC emacs-lisp :tangle yes
- (require 'plantuml-mode)
+ ;; (require 'plantuml-mode)
+ (use-package plantuml-mode)
(setq plantuml-default-exec-mode 'jar
plantuml-jar-path (concat sd-path-resources
@@ -974,8 +976,9 @@ Org mode shines particularly when exporting to PDF---Org files can
reliably be shared and exported to PDF in a reproducible fashion.
#+BEGIN_SRC emacs-lisp :tangle yes
- (use-package pdf-tools)
- (pdf-tools-install)
+(use-package pdf-tools)
+(unless (string-equal system-type "windows-nt")
+(pdf-tools-install))
#+END_SRC
*** Accounting
@@ -1224,12 +1227,22 @@ custom format:
*** Sequence of TODOs
-
#+begin_src emacs-lisp :tangle yes
(setq org-todo-keywords
- '((sequence "TODO" "|" "DONE")
- (sequence "APPLY" "FOLLOW UP" "|" "REJECTED" "STOP" "OFFER")
- (sequence "STUCK" "WAITING" "|" "N/A" "COMPLETED")))
+ '((sequence "TODO" ; Vanilla sequence
+ "|"
+ "DONE")
+ (sequence "APPLY" ; Job applications
+ "FOLLOW UP"
+ "|"
+ "REJECTED"
+ "STOP"
+ "OFFER")
+ (sequence "STUCK" ; Project mgmt
+ "WAITING"
+ "|"
+ "N/A"
+ "COMPLETED")))
#+end_src
@@ -1453,9 +1466,6 @@ green in Org's LaTeX exports. Very stylish, much flair!
:defer t
:ensure auctex
:ensure auctex-latexmk)
- ;; :config
- ;; (setq TeX-auto-save t))
-
(auctex-latexmk-setup)
#+END_SRC
@@ -1942,7 +1952,7 @@ Without a carefully designed theme, our editor would become
unusable. Thus, we /describe/ two themes that were developed
*purposefully* and iteratively.
-#+BEGIN_SRC emacs-lisp :tangle no
+#+BEGIN_SRC emacs-lisp :tangle yes
(load-theme 'sd-compagnon-dark)
#+END_SRC
@@ -1950,7 +1960,7 @@ unusable. Thus, we /describe/ two themes that were developed
(load-theme 'molokai)
#+END_SRC
-#+BEGIN_SRC emacs-lisp :tangle yes
+#+BEGIN_SRC emacs-lisp :tangle no
(load-theme 'sd-light)
#+END_SRC
Copyright 2019--2024 Marius PETER