From a75c8ab71e782464c39b4f3c7a28c3d6e2e54395 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 15 Oct 2023 07:02:05 -0700 Subject: reorgnized --- init-el.org | 231 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 111 insertions(+), 120 deletions(-) diff --git a/init-el.org b/init-el.org index c40f4da..a1cab95 100644 --- a/init-el.org +++ b/init-el.org @@ -21,42 +21,20 @@ #+name: preamble #+begin_src elisp :noweb no-export - - -#+end_src - -#+begin_src elisp :tangle ~/.emacs.d/init.el :noweb no-export :results none -;;;; init.el - -;;;; DO NOT EDIT: This file has been generated by org-babel-tangle -;;;; from a source file called init-el.org. - - - (setq custom-file (concat user-emacs-directory "custom.el")) (load custom-file 'noerror) (setq warning-minimum-level :emergency) -<> - ;;; utilities (defun read-file-into-string (f) (with-temp-buffer (insert-file-contents f) (buffer-string))) -<> -<> -<> -<> -<> -<> -<> -<> -<> - #+end_src + + ** Native Compilation New in emacs 28, native compilation can be enabled. I have attempted @@ -72,7 +50,6 @@ to disable it. (setq package-native-compile nil native-comp-always-compile nil)) - #+end_src ** Packages Setup Config @@ -108,17 +85,6 @@ I'm using melpa and elpa package archives. * Leader Keys -#+name: my-leader-keys-config -#+begin_src elisp :noweb no-export :results none -<> -<> -<> -<> -<> -<> - -#+end_src - I have written a custom leader key system called "my-leader-keys". A leader key system emulates menus. An initial key (M-m for me) opens the top level menu. The menu presents a key to press that either leads @@ -297,9 +263,6 @@ I'm using melpa and elpa package archives. #+name: org-mode-config #+begin_src elisp :noweb no-export -<> -<> -<> #+end_src ** Org Mode Main Config @@ -496,21 +459,6 @@ e.g. here's one for org capture * UI -#+name: ui-config -#+begin_src elisp :noweb no-export :results none -;;; UI -<> -<> -<> -<> - -<> -<> -<> -<> -<> -#+end_src - ** Fonts #+name: ui-fonts #+begin_src elisp :noweb no-export @@ -937,20 +885,12 @@ LOAD-THEME" * Time Managment -#+name: time-management-config +#+name: time-management-preamble #+begin_src elisp :noweb no-export :results none -;;; TIME MANAGMENT - (setq org-enforce-todo-dependencies t org-enforce-todo-checkbox-dependencies t) (setq org-edit-src-content-indentation 0) - -<> -<> -<> -<> -<> #+end_src ** Pomidor @@ -1058,11 +998,6 @@ stand up and move around. #+end_src * Communication -#+name: communications-config -#+begin_src elisp :noweb no-export :results none -<> -<> -#+end_src ** ERC @@ -1088,25 +1023,6 @@ stand up and move around. #+end_src * Reading, Notes, and Writing -#+name: reading-notes-and-writing-config -#+begin_src elisp :noweb no-export :results none - -<> -<> -<> -<> -<> -<> - -<> -<> -<> -<> -<> -<> - - -#+end_src ** General Reading Tools wordnut is a wordnet interface @@ -1349,24 +1265,11 @@ wordnut is a wordnet interface * Software Development -#+name: software-development-config +#+name: software-development-preamble #+begin_src elisp :noweb no-export :results none - (show-paren-mode 1) - -<> - -<> - -<> - -<> - -<> - -<> - #+end_src + ** Literate Programming Hacks and tweaks for literate programming. Org auto tangle will tangle @@ -1786,24 +1689,6 @@ from debian contrib #+RESULTS: python-config * Tools -#+name: tools-config -#+begin_src elis :noweb no-export -<>xs -<> -<> -#+end_src -** Dirvish - -Dirvish is a slicker dired - i.e it's a file manager. - -#+name: dirvish-config -#+begin_src elisp :noweb no-export -(package-install 'dirvish) -(dirvish-override-dired-mode) -#+end_src - -#+RESULTS: dirvish-config -: t ** Export Emacs Buffer @@ -1833,3 +1718,109 @@ Saves to a temp file and puts the filename in the kill ring." #+RESULTS: helpful : Package ‘helpful’ installed. + +* Tangle + +This block of code tangles the above into =~/.emacs.d/init.el= which +emacs loads at startup. + +#+begin_src elisp :tangle ~/.emacs.d/init.el :noweb no-export :results none +;;;; init.el + +;;;; DO NOT EDIT: This file has been generated by org-babel-tangle +;;;; from a source file called init-el.org. + +<> +<> +<> + + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; LEADER KEY DEFINITION AND TOPLEVEL MENUS ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + + +<> +<> +<> +<> +<> +<> + +;;;;;;;;;;;;;;;;;;;;;; +;; ORG-MODE CONFIGS ;; +;;;;;;;;;;;;;;;;;;;;;; + +<> +<> +<> + +;;;;;;;; +;; UI ;; +;;;;;;;; + +<> +<> +<> +<> +<> +<> +<> +<> +<> + +;;;;;;;;;;;;;;;;;;;;; +;; TIME MANAGEMENT ;; +;;;;;;;;;;;;;;;;;;;;; + +<> +<> +<> +<> +<> +<> + +;;;;;;;;;;;;;;;;;;;;;;;;; +;; COMMUNICATION TOOLS ;; +;;;;;;;;;;;;;;;;;;;;;;;;; + +<> +<> + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; READING, WRITING, AND NOTETAKING ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +<> +<> +<> +<> +<> +<> +<> +<> +<> +<> +<> +<> + +;;;;;;;;;;;;;;;;;; +;; SOFTWARE DEV ;; +;;;;;;;;;;;;;;;;;; + +<> +<> +<> +<> +<> +<> +<> + +;;;;;;;;;;;;;;;;;;;;;; +;; TOOLS AND UTILS ;; +;;;;;;;;;;;;;;;;;;;;;; + +<> +<> + +#+end_src -- cgit v1.2.3