From a861936fc38e1f9cd1c7ee7bcf6df0a063ee04b5 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Sun, 8 Nov 2020 16:19:31 -0800 Subject: Treemacs --- .gitignore | 1 + custom.el | 4 ++-- init.el | 12 +++++----- smart-documents.org | 66 ++++++++++++++++++++++++++++++----------------------- 4 files changed, 46 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index e242ef7..fc4d41c 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ url/** meta/** auto-save-list/** transient/** +.cache/** _minted* # Tangled config .el and .elc file from .org diff --git a/custom.el b/custom.el index ef9e394..84de01e 100644 --- a/custom.el +++ b/custom.el @@ -15,7 +15,7 @@ '(company-quickhelp-color-foreground "#DCDCCC") '(custom-enabled-themes nil) '(custom-safe-themes - '("19b606dd808fff515e2b27a4617fc89bdbce5dc1783c6b1a2c23fca5b8459b68" "d2a094e39049c4456a7125fbd74ce03da7339c687f1b7d438d9c26ff3744f96e" "5d82c3714691512ced28284edef65f753b22036495960ac42e527a6d646c375b" "fc5b0c453ae5f9269923dc288ea2ea908246f3b1879dcf62eb43f37113e188e9" "be516cd0621f296f03d842450e8a2203ca3d6d8ad35df8c72d3541f7e7e363f4" "2a0da76cc52131ec545d7b737cea401aa90a96cae5d93f5eeeb33afd7a9db078" "64e58ce36d361c8c0ba0fdaabd491f6d54828a1c4003bf5c7b85d1fa5e0a191f" "2c485aebc587aceca2cea4958381bdba92b9e974edb8ce8fbcde69399d9c45b0" "b0c4d8a7f261d7897373ec3b39fce87eaeeff278438ddbae5776fa9df4e550d1" "e85674d358ab59d5e14ba769bca4a58f267838a24f1285f53eab231d00671d1d" "2d32d272e79fd9b06855a26eedfbe8a1ff2c58a68219aa3fda6afb1c5094e6a4" "eb904e8bfc363aa8a342604329edd62f2b2effbb345941aa68448b50c26e3083" "57e8e75716473cb3234b52ef469c35ade301e4c928d53a21236b6c0a2bfda044" "2dd3f3f6397fb640c4ce13dfd9843a67ce32f329458f7d3e728d301bf7538c96" "a90216962b4117ecf26f1de9c87c995b2e0534a5a18565137f0bc0c38a454de4" "b60f26dbf84b1c93449cb65d6b61fbbc275d193739da66de1be1d0ba52996f1e" "d83c2da10ecbcc3d88f7f175741f5ba4ded9501bd87af69d3728cf8b02d98b17" "f272e2a066f881384f30cddc0be4067b36250fbfaf4a35a768327373e5b4a6f9" "bcfd4a063a9d86ad2a20c4ba8666738a332b1ffda8c6bb9c1ef951d27836dfa2" "a385bb05d1cbdfa62d01afbd7b67a6354c4f6d2ff5190ae4061d720bb5584524" "797fc9c1f596603b8559566dffcdd32b265b95f66db11c80cf819c9e764ccf1a" "95d9ebc003d2b41dce57c8a041d2fa5cc491ea239cbb8f14b04f77b86c971a50" "438eb17cf6540064f18b637e72d1d78f2df20dbbcc67ad67d2c6223eae23ff22" "778e41ae5e76bd91f457ce36244e6216a3f69b1cad236b0181eece15126f33cb" "e0577b022b2c27c558e1bb0cf1f56be92447b6d090865fd5e61be7f2245ac3b0" "ec6717222f527932ca0c00f54a77f6b1f0e9f81907bbb5bf338903608b1300a5" "2f35de225ab5e3ac7deea3f04b651ba579bdd6fa868502d0697938aa861909df" "98a8aeac4cd2648def2bb6fad797386c4bb05b2ee7cbe3a159b70fd68c51b2bf" "8404572e02baf9edb07cd902bf4ffb106e6996d2bc2f6a32e8058246f0d58850" "bfd4c07f80d3728cef2788018f4b045c17036b186e80055a01411ab4d69bb63e" "3edf9758c11e033496ff39fc699c4695d8a8e82f4d90af1be9b75de2d5106f02" "e5bdcd5a2822d56add3cb9928bd3a092ddb678c6588bf9dc3f34acd6bf24d781" "eacdea86fda91bba189912a6264450ecff73a95350a6e568324a673d9e8b0f16" "caaf410113356a930620a9e945994694c7834927669cb96083e7d94de8807f08" "3bfaf89f737e52e2500ed632428ce5d6e2dc399edef16d5dcd0c2c9606ed97d1" "187dedddb0f12642ef312de2a4ffadf6397747f0743bad6f6872f068129f0613" "b28fe360b938be2211f3525fa95f0ecfbb2759031ae66d2241207e86de83e951" "55e87047e7428fbd710f29f71a495a1bb3ea73f1b9b4c10def334838e3705c7b" "25e7750ab75809e94756b7039f83c65478a1ef895220dedda6b3f327df9fca65" "9760950e1c151f97b8ed0321c8577f216e1e6c09454c940e5d0f53255586c6f4" "0f350253da94e9a06abfdd48fe892f4e42da3b3d543bb1da62b5f415e29546cc" "6e69643e2c21e28b2e9d169fad1d4b149e191b836faf26541c3a7af8da920728" "3fa3799babafb468bbb17c6946bd5c831dbf32b3ac9b22d92f27188c1aee6057" "93b390eae98d60e363af65188220cc0b7fd8813ffca85915708a14661d3f79a7" "9397d802c0ce3108b13d2f23b579296ae63919f32a6436b8f2ec6d0d1b7853c1" "7999805b40f3dc59bda5822ae5f773e9ab6b9fe69931efc9265c083490c60dfc" "28aaafce20205c00c1c5afcd59d9553a621570f74d7ea4214d073a488bf4619c" "ee2934f60c0193ed7ac95a213ae90dba1504b9fc8bb20f54f4876d073f710844" "79ddf9c24ff10afdeeb2778f56c900f329e5b405d234d783cea67730f4a20c17" "dd6543577ed3e750b830635a7c2071343c8cd4b624f00b7e3470c9233fdc2252" "e5511d44e3a5c6a5039999cab6bd2696fddfe1e7f6500f2846b0c0a6b8c4f9e7" "8bc595fa3d4cde8770ec075aa939bff9ba28f3e70fe34292a43e22690bc63c76" "ab538dce25085abac8ab09b184e9cef8273082a1b2a792f1bf1bf08ecc30056a" "0326fd263f840b21da906e36c54976e211cfcc252800e6ee7dad4a7eb5a3e819" "77dfce3ef0bdf852a7a1b3527aa384c3c895eec7792a68c2d694b7341364da26" "1692d3b1f4bf5c6c55dd090d6a10c613c0b213510892ae305c1f2518cb1a3ab3" "7ddce903be67800840ef2660310123e2ee11c8ec716ac54333d961307389ccde" "95ea953c58a6510531acf2231d9bddad92015214dce68e8ffe216b51237a3a5f" "47ff07593ae6fc4069b49ee32b0f7422239ad3b6619dc37358b9e76c4b014e81" "8a7a94e776727c6ff6ac14ae88826281eea80c687ffee71a8b188e415b737525" "566f33a94ac1f29db041d55a22fb677b1f9abd02a3ea529ac2b67b93624247ac" "bac014130231bcb21409a5ba0368ae6a437d36cb3cd710a814c2b8399dacd0a3" "3db2664cf7a2f3ca8add66736e8b432ad7aed88159c74dc220ffdc0580d37ffa" "41d8c624783c3bf1624ac595936a6968fbd7297ffdc40a0c9b080fa750027df0" "abf6e5f8aa2af79ac329a7bfcac3111dab0025ce3eaea24e424fb9e3e77e1162" "6dd0e1980e88c5bc5c4c9ab1e8b16b13287a4fa5a2e11970c0d26dfbcf2d62f3" "e479b796a220addcd20678fbb95018e4945ca574ba9900b54d107ed1569c704c" "46d1602c1e28e6223fec2bcd008312bc57a08e5ccc8c2ac35c40e6a5d2a20244" "57c9cc95433eb236e74a3b501d3bebb2716e1988cf633c47384d33d8a83a7940" "1229a1fe390f71ddeec71efd61129af285d032364a1957f9954845a6c5f617a1" "42350b596ca9d6a283ce13efb9bbb7774064d917e04ea3220ebf32b95a677d60" "07b0edb4d75390504029f7905ca8add46af2c8bb13cec46efb0d880de014464c" "884b3999dfeff6d4f45859239a46b84399ab1b3602dd2ee6d11f3a3e39fe088d" "0c5c0078062fafd063a227b4cebb49b65434ea6e9557e3aaf8bc3212ba986512" "469032293efae7c0c86a95c39cab8b0ff8883cf4af3f2c292313cf6a71195b40" "8fb0949f4229860cf19034b924eb99c664327c9250fb92a2633bdf4b4abaf060" "c3a2a37e84e474c73c2b468553f9b5b73341419f72bbc1f4a4bcc1230ef86c85" "6495716176be0ced4142593b94a410135e0b373b686a869637824260d2f1ca11" "4467b1c8d7cc78fe98345c9c63eb62cf37844dc6868630add365494bde455715" "faeef63cb31f796b4bdf22f38e614934ab34d7deacaeb89b3e9cccf70aac5a85" "370fb305168fea1614535dc9ca30f496918eaca754b6c8969dd77fa872bec695" "e9f0c0c3397d07eb1c6c3551d67fd151e24bc6d72ec678841623ed572677c97a" "5c32236ef318adafe4102f627f330fa8f448046dfd838eef5cc09c7f682cf71f" "e343fecfb8d681186d594002c9b44ce48c2061599d7e4ec635cf1ca2a277a47a" "302dc61dc55600c7424f945dce9e74fba7df19f4a7bfb72aefd93193fa82ede4" "58f1f85248ba913387d1e7ed02a867161b315cfb5acff0c234e013ffd2577d22" "a256abf590bbc3257cc11d91a312e9fe8487dc1b95a5b7b732dd2f96a7fe5a45" "30368d6195cae9298304e6ac0534b90c85b1655965f1206c5c624270f0f46002" "311aa5df3223b5b4a7c638aad3befb4de9c7f46360d52acd1fa2cd2232b1dcbd" default)) + '("79d713072d2e44d20ec8c4a536d5ef4c1b43f8f76365f2984269587b88955661" "19b606dd808fff515e2b27a4617fc89bdbce5dc1783c6b1a2c23fca5b8459b68" "d2a094e39049c4456a7125fbd74ce03da7339c687f1b7d438d9c26ff3744f96e" "5d82c3714691512ced28284edef65f753b22036495960ac42e527a6d646c375b" "fc5b0c453ae5f9269923dc288ea2ea908246f3b1879dcf62eb43f37113e188e9" "be516cd0621f296f03d842450e8a2203ca3d6d8ad35df8c72d3541f7e7e363f4" "2a0da76cc52131ec545d7b737cea401aa90a96cae5d93f5eeeb33afd7a9db078" "64e58ce36d361c8c0ba0fdaabd491f6d54828a1c4003bf5c7b85d1fa5e0a191f" "2c485aebc587aceca2cea4958381bdba92b9e974edb8ce8fbcde69399d9c45b0" "b0c4d8a7f261d7897373ec3b39fce87eaeeff278438ddbae5776fa9df4e550d1" "e85674d358ab59d5e14ba769bca4a58f267838a24f1285f53eab231d00671d1d" "2d32d272e79fd9b06855a26eedfbe8a1ff2c58a68219aa3fda6afb1c5094e6a4" "eb904e8bfc363aa8a342604329edd62f2b2effbb345941aa68448b50c26e3083" "57e8e75716473cb3234b52ef469c35ade301e4c928d53a21236b6c0a2bfda044" "2dd3f3f6397fb640c4ce13dfd9843a67ce32f329458f7d3e728d301bf7538c96" "a90216962b4117ecf26f1de9c87c995b2e0534a5a18565137f0bc0c38a454de4" "b60f26dbf84b1c93449cb65d6b61fbbc275d193739da66de1be1d0ba52996f1e" "d83c2da10ecbcc3d88f7f175741f5ba4ded9501bd87af69d3728cf8b02d98b17" "f272e2a066f881384f30cddc0be4067b36250fbfaf4a35a768327373e5b4a6f9" "bcfd4a063a9d86ad2a20c4ba8666738a332b1ffda8c6bb9c1ef951d27836dfa2" "a385bb05d1cbdfa62d01afbd7b67a6354c4f6d2ff5190ae4061d720bb5584524" "797fc9c1f596603b8559566dffcdd32b265b95f66db11c80cf819c9e764ccf1a" "95d9ebc003d2b41dce57c8a041d2fa5cc491ea239cbb8f14b04f77b86c971a50" "438eb17cf6540064f18b637e72d1d78f2df20dbbcc67ad67d2c6223eae23ff22" "778e41ae5e76bd91f457ce36244e6216a3f69b1cad236b0181eece15126f33cb" "e0577b022b2c27c558e1bb0cf1f56be92447b6d090865fd5e61be7f2245ac3b0" "ec6717222f527932ca0c00f54a77f6b1f0e9f81907bbb5bf338903608b1300a5" "2f35de225ab5e3ac7deea3f04b651ba579bdd6fa868502d0697938aa861909df" "98a8aeac4cd2648def2bb6fad797386c4bb05b2ee7cbe3a159b70fd68c51b2bf" "8404572e02baf9edb07cd902bf4ffb106e6996d2bc2f6a32e8058246f0d58850" "bfd4c07f80d3728cef2788018f4b045c17036b186e80055a01411ab4d69bb63e" "3edf9758c11e033496ff39fc699c4695d8a8e82f4d90af1be9b75de2d5106f02" "e5bdcd5a2822d56add3cb9928bd3a092ddb678c6588bf9dc3f34acd6bf24d781" "eacdea86fda91bba189912a6264450ecff73a95350a6e568324a673d9e8b0f16" "caaf410113356a930620a9e945994694c7834927669cb96083e7d94de8807f08" "3bfaf89f737e52e2500ed632428ce5d6e2dc399edef16d5dcd0c2c9606ed97d1" "187dedddb0f12642ef312de2a4ffadf6397747f0743bad6f6872f068129f0613" "b28fe360b938be2211f3525fa95f0ecfbb2759031ae66d2241207e86de83e951" "55e87047e7428fbd710f29f71a495a1bb3ea73f1b9b4c10def334838e3705c7b" "25e7750ab75809e94756b7039f83c65478a1ef895220dedda6b3f327df9fca65" "9760950e1c151f97b8ed0321c8577f216e1e6c09454c940e5d0f53255586c6f4" "0f350253da94e9a06abfdd48fe892f4e42da3b3d543bb1da62b5f415e29546cc" "6e69643e2c21e28b2e9d169fad1d4b149e191b836faf26541c3a7af8da920728" "3fa3799babafb468bbb17c6946bd5c831dbf32b3ac9b22d92f27188c1aee6057" "93b390eae98d60e363af65188220cc0b7fd8813ffca85915708a14661d3f79a7" "9397d802c0ce3108b13d2f23b579296ae63919f32a6436b8f2ec6d0d1b7853c1" "7999805b40f3dc59bda5822ae5f773e9ab6b9fe69931efc9265c083490c60dfc" "28aaafce20205c00c1c5afcd59d9553a621570f74d7ea4214d073a488bf4619c" "ee2934f60c0193ed7ac95a213ae90dba1504b9fc8bb20f54f4876d073f710844" "79ddf9c24ff10afdeeb2778f56c900f329e5b405d234d783cea67730f4a20c17" "dd6543577ed3e750b830635a7c2071343c8cd4b624f00b7e3470c9233fdc2252" "e5511d44e3a5c6a5039999cab6bd2696fddfe1e7f6500f2846b0c0a6b8c4f9e7" "8bc595fa3d4cde8770ec075aa939bff9ba28f3e70fe34292a43e22690bc63c76" "ab538dce25085abac8ab09b184e9cef8273082a1b2a792f1bf1bf08ecc30056a" "0326fd263f840b21da906e36c54976e211cfcc252800e6ee7dad4a7eb5a3e819" "77dfce3ef0bdf852a7a1b3527aa384c3c895eec7792a68c2d694b7341364da26" "1692d3b1f4bf5c6c55dd090d6a10c613c0b213510892ae305c1f2518cb1a3ab3" "7ddce903be67800840ef2660310123e2ee11c8ec716ac54333d961307389ccde" "95ea953c58a6510531acf2231d9bddad92015214dce68e8ffe216b51237a3a5f" "47ff07593ae6fc4069b49ee32b0f7422239ad3b6619dc37358b9e76c4b014e81" "8a7a94e776727c6ff6ac14ae88826281eea80c687ffee71a8b188e415b737525" "566f33a94ac1f29db041d55a22fb677b1f9abd02a3ea529ac2b67b93624247ac" "bac014130231bcb21409a5ba0368ae6a437d36cb3cd710a814c2b8399dacd0a3" "3db2664cf7a2f3ca8add66736e8b432ad7aed88159c74dc220ffdc0580d37ffa" "41d8c624783c3bf1624ac595936a6968fbd7297ffdc40a0c9b080fa750027df0" "abf6e5f8aa2af79ac329a7bfcac3111dab0025ce3eaea24e424fb9e3e77e1162" "6dd0e1980e88c5bc5c4c9ab1e8b16b13287a4fa5a2e11970c0d26dfbcf2d62f3" "e479b796a220addcd20678fbb95018e4945ca574ba9900b54d107ed1569c704c" "46d1602c1e28e6223fec2bcd008312bc57a08e5ccc8c2ac35c40e6a5d2a20244" "57c9cc95433eb236e74a3b501d3bebb2716e1988cf633c47384d33d8a83a7940" "1229a1fe390f71ddeec71efd61129af285d032364a1957f9954845a6c5f617a1" "42350b596ca9d6a283ce13efb9bbb7774064d917e04ea3220ebf32b95a677d60" "07b0edb4d75390504029f7905ca8add46af2c8bb13cec46efb0d880de014464c" "884b3999dfeff6d4f45859239a46b84399ab1b3602dd2ee6d11f3a3e39fe088d" "0c5c0078062fafd063a227b4cebb49b65434ea6e9557e3aaf8bc3212ba986512" "469032293efae7c0c86a95c39cab8b0ff8883cf4af3f2c292313cf6a71195b40" "8fb0949f4229860cf19034b924eb99c664327c9250fb92a2633bdf4b4abaf060" "c3a2a37e84e474c73c2b468553f9b5b73341419f72bbc1f4a4bcc1230ef86c85" "6495716176be0ced4142593b94a410135e0b373b686a869637824260d2f1ca11" "4467b1c8d7cc78fe98345c9c63eb62cf37844dc6868630add365494bde455715" "faeef63cb31f796b4bdf22f38e614934ab34d7deacaeb89b3e9cccf70aac5a85" "370fb305168fea1614535dc9ca30f496918eaca754b6c8969dd77fa872bec695" "e9f0c0c3397d07eb1c6c3551d67fd151e24bc6d72ec678841623ed572677c97a" "5c32236ef318adafe4102f627f330fa8f448046dfd838eef5cc09c7f682cf71f" "e343fecfb8d681186d594002c9b44ce48c2061599d7e4ec635cf1ca2a277a47a" "302dc61dc55600c7424f945dce9e74fba7df19f4a7bfb72aefd93193fa82ede4" "58f1f85248ba913387d1e7ed02a867161b315cfb5acff0c234e013ffd2577d22" "a256abf590bbc3257cc11d91a312e9fe8487dc1b95a5b7b732dd2f96a7fe5a45" "30368d6195cae9298304e6ac0534b90c85b1655965f1206c5c624270f0f46002" "311aa5df3223b5b4a7c638aad3befb4de9c7f46360d52acd1fa2cd2232b1dcbd" default)) '(electric-indent-mode t) '(fci-rule-color "#383838") '(fringe-mode 0 nil (fringe)) @@ -32,7 +32,7 @@ '(org-log-done-with-time nil) '(org-startup-align-all-tables t) '(package-selected-packages - '(olivetti semantic-refactor org-pretty-table mode-icons dashboard undo-tree hungry-delete smooth-scroll smooth-scrolling delight yasnippet-snippets yasnippet org-sticky-header awesome-tab tabbar-ruler tabbar-mode linum-relative dumb-jump csv-mode rainbow-mode org-mouse projectile minimap gnuplot ledger-mode company-mode wombat-theme wombar-theme which-key srefactor-lisp srefactor all-the-icons flycheck ibuffer-sidebar pdf-tools magit rainbow-delimiters smartparens mixed-pitch org-bullets use-package tabbar powerline ivy-hydra flatui-theme evil counsel company benchmark-init)) + '(treemacs moody olivetti semantic-refactor org-pretty-table mode-icons dashboard undo-tree hungry-delete smooth-scroll smooth-scrolling delight yasnippet-snippets yasnippet org-sticky-header awesome-tab tabbar-ruler tabbar-mode linum-relative dumb-jump csv-mode rainbow-mode org-mouse projectile minimap gnuplot ledger-mode company-mode wombat-theme wombar-theme which-key srefactor-lisp srefactor all-the-icons flycheck ibuffer-sidebar pdf-tools magit rainbow-delimiters smartparens mixed-pitch org-bullets use-package tabbar powerline ivy-hydra flatui-theme evil counsel company benchmark-init)) '(pdf-view-midnight-colors '("#DCDCCC" . "#383838")) '(save-place-mode t) '(send-mail-function 'smtpmail-send-it) diff --git a/init.el b/init.el index ceffb35..86a29d4 100644 --- a/init.el +++ b/init.el @@ -10,13 +10,13 @@ ;; Emacs will startup faster next time, because it will load ;; a byte-compiled version of our literate configuration file. -;; (cond ((file-exists-p (concat my/literate-config ".el")) -;; (load my/literate-config)) -;; ((file-exists-p (concat my/literate-config ".org")) -;; (org-babel-load-file (concat my/literate-config ".org"))) -;; (t (message "No literate configuration file detected."))) +(cond ((file-exists-p (concat my/literate-config ".el")) + (load my/literate-config)) + ((file-exists-p (concat my/literate-config ".org")) + (org-babel-load-file (concat my/literate-config ".org"))) + (t (message "No literate configuration file detected."))) -(org-babel-load-file (concat my/literate-config ".org")) +;; (org-babel-load-file (concat my/literate-config ".org")) (provide 'init) diff --git a/smart-documents.org b/smart-documents.org index baced32..288eeda 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -2,7 +2,7 @@ #+TITLE: Smart Documents #+AUTHOR: Marius Peter -#+DATE: <2020-11-04 Wed> +#+DATE: <2020-11-08 Sun> #+EMAIL: blendoit@gmail.com #+STARTUP: showall #+SETUPFILE: ~/.emacs.d/templates/documents/default.org @@ -62,38 +62,40 @@ the first time. :sd-unpack-path: sd.el :END: -#+BEGIN_SRC emacs-lisp -(defvar sd-packed-p t - "Boolean to track literate configuration packed/unpacked status.") +#+BEGIN_SRC emacs-lisp :tangle no + (defvar sd-packed-p t + "Boolean to track literate configuration packed/unpacked status.") -(defvar sd-unpack-sections (org-property-values "sd-unpack-path") - "List of target sections in `my/literate-config' to be unpacked.") + (defvar sd-unpack-sections (org-property-values "sd-unpack-path") + "List of target sections in `my/literate-config' to be unpacked.") -(defun sd-unpack-sections () - "Unpack literate configuration into `emacs-user-directory'." - (interactive) - (mapcar 'sd-unpack sd-unpack-sections) - ) + (defun sd-unpack-sections () + "Unpack literate configuration into `emacs-user-directory'." + (interactive) + (mapcar 'sd-unpack sd-unpack-sections) + ) -(defun sd-unpack-section (&optional section) - "Unpack SECTION into `user-emacs-directory'. -If nil, unpack section under point. -Make go through list of headings and unpack first matching SECTION." - (interactive) - (if (not section) - (insert (concat "\nThe contents of this Section was automatically moved to\n=" - user-emacs-directory (org-entry-get nil "sd-unpack-path") "=.\n" - "Use `sd-pack-section' to copy the contents back into this section.")))) + (defun sd-unpack-section (&optional section) + "Unpack SECTION into `user-emacs-directory'. + If nil, unpack section under point. + Make go through list of headings and unpack first matching SECTION." + (interactive) + (if (not section) + (insert + (concat + "\nThe contents of this Section was automatically moved to\n=" + user-emacs-directory (org-entry-get nil "sd-unpack-path") "=.\n" + "Use `sd-pack-section' to copy the contents back into this section.")))) -(defun sd-pack-section () - "Pack SECTION into `my/literate-config'." - (interactive) - (message "foobar!!!")) + (defun sd-pack-section () + "Pack SECTION into `my/literate-config'." + (interactive) + (message "foobar!!!")) -(global-set-key (kbd "C-t") 'sd-pack-section) + (global-set-key (kbd "C-t") 'sd-pack-section) -(sd-unpack "init.el") + (sd-unpack "init.el") #+END_SRC ** TODO User details @@ -764,6 +766,12 @@ Wonderful counsellor! :bind (("C-f" . counsel-grep-or-swiper))) #+END_SRC +** Tree + +#+BEGIN_SRC emacs-lisp :tangle yes +(use-package treemacs) +#+END_SRC + ** Coding languages *** TODO Emacs Lisp @@ -856,7 +864,7 @@ Get inspiration from ~ibuffer-sidebar~ and create a better sidebar. #+BEGIN_SRC emacs-lisp :tangle yes (defun sd-sidebar () (interactive) - (message "Foobius Peter.")) + (treemacs)) #+END_SRC *** Better parentheses @@ -1191,7 +1199,6 @@ arbitrarily assigned. [[tag:work+phonenumber-boss][Optional Description]] #+END_SRC - * One-click workflows In this section, we'll implement useful one-click workflows. It comes later @@ -1333,7 +1340,8 @@ length. We set reasonable margins on either side of our buffer. #+BEGIN_SRC emacs-lisp :tangle yes -(setq-default left-margin-width 6 right-margin-width 6) + (setq-default left-margin-width 2 + right-margin-width 2) #+END_SRC ** Text -- cgit v1.2.3