aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-05 09:03:28 -0500
committerColin Okay <colin@cicadas.surf>2022-07-05 09:03:28 -0500
commit21773b5b70be64a34a235c5e1e41944caf144bb3 (patch)
treef5ed65261dacd36dd6e8236d9e2c2573d5bdfeba
parent76bb19a31986dc22188d0224e4b0929e776409f4 (diff)
[mod] s/noweb yes/noweb no-export/ to prevent exporting noweb embeds
-rw-r--r--init-el.org65
1 files changed, 34 insertions, 31 deletions
diff --git a/init-el.org b/init-el.org
index 1cb35a8..4027313 100644
--- a/init-el.org
+++ b/init-el.org
@@ -51,7 +51,7 @@ So, to use this file for the very first time you must
packages are setup first. After that, the order of the setup
operations is more or less insignificant.
-#+begin_src elisp :tangle ~/.emacs.d/init.el :noweb yes :results none
+#+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
@@ -127,7 +127,7 @@ So, to use this file for the very first time you must
* Leader Keys
#+name: my-leader-keys-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
<<my-leader-key-system>>
<<my-leader-key-toplevel-menu>>
<<my-leader-key-major-mode-menu>>
@@ -249,7 +249,7 @@ So, to use this file for the very first time you must
* UI
#+name: ui-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
;;; UI
<<ui-chrome-config>>
<<ui-modeline-config>>
@@ -383,7 +383,7 @@ So, to use this file for the very first time you must
** Buffers, Windows, and Perspectives
#+name: ui-windows-and-perspectives
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
<<ui-windows-and-perspectives-packages>>
<<ui-window-leader-key-menu>>
@@ -463,7 +463,7 @@ So, to use this file for the very first time you must
** Themes
#+name: ui-themes
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
<<ui-themes-installed>>
<<ui-themes-theme-switcher>>
#+end_src
@@ -660,7 +660,7 @@ So, to use this file for the very first time you must
*** Org mode tweaks
# #+name: ui-org-mode-tweaks
- #+begin_src elisp :noweb yes :results none
+ #+begin_src elisp :noweb no-export :results none
(add-hook 'org-mode-hook
'(lambda ()
(mapc
@@ -683,7 +683,7 @@ So, to use this file for the very first time you must
* Communications
#+name: communications-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
<<erc-config>>
<<cicadas-bepasty>>
;;<<cicadas-scpaste>>
@@ -712,7 +712,7 @@ So, to use this file for the very first time you must
*** bepasty from emacs
#+name: cicadas-bepasty
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(setq cicadas-paste-pw "3m4x_1uv3r")
@@ -770,7 +770,7 @@ sudo apt-get install -y libgmime-3.0-dev libxapian-dev \
/usr/share/doc/offlineimap3/examples/offlineimap.conf for more
info.
-# #+begin_src conf :tangle ~/.offlineimaprc :noweb yes :results none
+# #+begin_src conf :tangle ~/.offlineimaprc :noweb no-export :results none
[general]
@@ -823,7 +823,7 @@ mu index
*** Confuguring Mu4e :disabled:
# #+name: mu4e-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(require 'mu4e)
@@ -902,7 +902,7 @@ mu index
* Time Managment
#+name: time-management-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
;;; TIME MANAGMENT
(setq org-enforce-todo-dependencies t
@@ -921,7 +921,7 @@ mu index
** CALFW calendar
#+name: calfw-org-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(package-install 'calfw)
(package-install 'calfw-org)
(require 'calfw)
@@ -973,7 +973,7 @@ mu index
** Org Agenda
#+name: org-agenda-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(custom-set-variables
'(org-directory "~/notes/deft")
'(org-agenda-files "~/notes/org-agenda-files"))
@@ -988,7 +988,7 @@ mu index
* Reading, Notes, and Writing
#+name: reading-notes-and-writing-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
<<org-mode-leader-key-menu>>
<<calibre-config>>
@@ -1027,7 +1027,7 @@ mu index
(insert "#+name: ")
(insert name)
(insert "\n")
- (insert (format "#+begin_src %s :noweb yes\n\n#+end_src" lang)))
+ (insert (format "#+begin_src %s :noweb no-export\n\n#+end_src" lang)))
(setq org-goto-interface 'outline-path-completion
org-goto-max-level 10
@@ -1048,6 +1048,9 @@ mu index
(?g "[g]oto" org-goto)
(?u "[u]p heading" my-org-up-heading)
(?d "[d]own heading" my-org-down-heading)
+ (?p "[p]revious heading" org-previous-visible-heading)
+ (?n "[n]next heading" org-next-visible-heading)
+
(?r "Org [r]efile" org-refile)
(?k "Org [k]ut" org-cut-special)
(?s "Org [s]ort" org-sort)
@@ -1059,8 +1062,8 @@ mu index
(?e "[e]dit a code block" org-edit-src-code)
- (?n "[n]arrow" org-narrow-to-subtree)
- (?w "[w]iden" widen)
+ (?N "[N]arrow" org-narrow-to-subtree)
+ (?W "[W]iden" widen)
(?I "[I]mages toggle" org-toggle-inline-images)
@@ -1427,7 +1430,7 @@ mu index
** EWW config
#+name: eww-config
-#+begin_src elisp :noweb yes
+#+begin_src elisp :noweb no-export
(setq browse-url-browser-function 'eww-browse-url)
#+end_src
@@ -1437,7 +1440,7 @@ mu index
** Markdown Eiditing
#+name: markdown-editing
-#+begin_src elisp :noweb yes
+#+begin_src elisp :noweb no-export
(package-install 'markdown-mode)
#+end_src
@@ -1446,7 +1449,7 @@ mu index
* Software Development
#+name: software-development-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(show-paren-mode 1)
@@ -1465,7 +1468,7 @@ Hacks and tweaks for literate programming. Org auto tangle will tangle
a file whenever it is saved.
#+name: literate-programming
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(package-install 'org-auto-tangle)
(require 'org-auto-tangle)
@@ -1477,7 +1480,7 @@ a file whenever it is saved.
** Tools Essential To Development
#+name: software-dev-essentials
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(package-install 'flycheck)
(package-install 'magit)
@@ -1520,7 +1523,7 @@ a file whenever it is saved.
** Shell Config
#+name: shell-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(defun persp-shell--shell-name ()
(format "*shell %s*" (persp-current-name)))
@@ -1545,7 +1548,7 @@ a file whenever it is saved.
# #+name: shell-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
<<eshell-prompt-config>>
<<persp-eshell>>
#+end_src
@@ -1623,7 +1626,7 @@ a file whenever it is saved.
** Common Lisp
#+name: common-lisp-config
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
<<common-lisp-packages>>
<<common-lisp-switch-commands>>
<<common-lisp-mode-command>>
@@ -1788,7 +1791,7 @@ from debian contrib
** WASM
#+name: wasm-setup
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(if (not (file-exists-p "~/.emacs.d/wat-mode"))
(shell-command "git clone https://github.com/devonsparks/wat-mode ~/.emacs.d/wat-mode"))
@@ -1805,13 +1808,13 @@ from debian contrib
clangd is the language server, [[https://github.com/rizsotto/Bear][bear]] is "a tool that generates
a compilation database for clang tooling.
-#+begin_src shell :noweb yes
+#+begin_src shell :noweb no-export
sudo apt install clangd bear
#+end_src
*** CPP IDE setup
#+name: cpp-ide
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(mapc #'package-install
'(lsp-mode yasnippet flycheck dap-mode ivy-xref))
@@ -1828,7 +1831,7 @@ sudo apt install clangd bear
* Bells And Whistles
#+name: bells-and-whistles
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
<<lifecoach>>
#+end_src
@@ -1838,7 +1841,7 @@ A few functions to start a process where, periodically, motivational
messages echo to the echo area.
#+name: lifecoach
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(setq lifecoach-messages
'(
@@ -1921,7 +1924,7 @@ messages echo to the echo area.
* Overwrites
#+name: overwrites
-#+begin_src elisp :noweb yes :results none
+#+begin_src elisp :noweb no-export :results none
(setq-default cursor-type 'box)
(setq cursor-type 'box)
#+end_src