diff --git a/README-MacOS.org b/README-MacOS.org index d4d474b..6101532 100644 --- a/README-MacOS.org +++ b/README-MacOS.org @@ -22,8 +22,8 @@ No longer need to install [[https://apps.apple.com/us/app/xcode/id497799835?mt=1 If I want to build from source (and not build from Homebrew), install all the dependencies first, by running: #+begin_src sh -brew install pkg-config automake texinfo jpeg giflib\ - libtiff jansson libpng librsvg gnutls cmake + brew install pkg-config automake texinfo jpeg giflib\ + libtiff jansson libpng librsvg gnutls cmake #+end_src To get the native compilation for Emacs working, install: diff --git a/bootstrap.org b/bootstrap.org index bc3e7d5..053b8a3 100644 --- a/bootstrap.org +++ b/bootstrap.org @@ -19,7 +19,7 @@ A literate programming file for bootstraping my Emacs Configuration. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/bootstrap.org + ;; ~/src/hamacs/bootstrap.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-agendas.org b/ha-agendas.org index 3091849..8968b3b 100644 --- a/ha-agendas.org +++ b/ha-agendas.org @@ -19,7 +19,7 @@ A literate programming configuration for fancy agenda and todo lists. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-agendas.org + ;; ~/src/hamacs/ha-agendas.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-applications.org b/ha-applications.org index 463f5fd..d3b2f24 100644 --- a/ha-applications.org +++ b/ha-applications.org @@ -19,7 +19,7 @@ A literate programming file configuring critical applications. ;; While obvious, GNU Emacs does not include this file ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard/other/hamacs/ha-applications.org + ;; ~/src/hamacs/ha-applications.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-aux-apps.org b/ha-aux-apps.org index 6290ffd..5cc416f 100644 --- a/ha-aux-apps.org +++ b/ha-aux-apps.org @@ -19,7 +19,7 @@ A literate programming file for helper apps in Emacs. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-aux-apps.org + ;; ~/src/hamacs/ha-aux-apps.org ;; And tangle the file to recreate this one. ;; ;;; Code: @@ -175,23 +175,23 @@ In the Telega chat’s, let’s turn on non-fixed-width fonts: * RPG DM Been working on my [[https://gitlab.com/howardabrams/emacs-rpgdm][RPG DM project]] for getting Emacs helping as a /Dungeon Master's Assistant/. The idea is to be able to roll dice and whatnot. What I find most useful is the [[https://gitlab.com/howardabrams/emacs-rpgdm/-/blob/main/rpgdm-tables.el][random tables]]. #+begin_src emacs-lisp - (when (f-directory? "~/other/emacs-rpgdm") + (when (f-directory? "~/src/emacs-rpgdm") (use-package rpgdm - :straight (:local-repo "~/other/emacs-rpgdm") + :straight (:local-repo "~/src/emacs-rpgdm") :commands (rpgdm-mode rpgdm-tables-load) - :init (setq rpgdm-base (expand-file-name "~/other/emacs-rpgdm")) + :init (setq rpgdm-base (expand-file-name "~/src/emacs-rpgdm")) :config (ha-leader "t D" '("rpg dm" . rpgdm-mode)))) #+end_src Working on my new replacement of my DM code: #+begin_src emacs-lisp - (when (f-directory? "~/other/emacs-rpgtk") + (when (f-directory? "~/src/emacs-rpgtk") (use-package rpgtk - :straight (:local-repo "~/other/emacs-rpgtk") + :straight (:local-repo "~/src/emacs-rpgtk") :after hydra ;; :commands (rpgtk-mode rpgtk-tables-load rpgtk-dice rpgtk-message) :custom - (rpgtk-tables-directory (expand-file-name "~/other/emacs-rpgtk/tables")) + (rpgtk-tables-directory (expand-file-name "~/src/emacs-rpgtk/tables")) :config (ha-leader @@ -202,12 +202,12 @@ Working on my new replacement of my DM code: And my [[https://gitlab.com/howardabrams/emacs-ironsworn][new Ironsworn project]] expands on it, giving me both the Oracles and the Moves. With an Org file, I can easily play Solo: #+begin_src emacs-lisp - (when (f-directory? "~/other/emacs-ironsworn") + (when (f-directory? "~/src/emacs-ironsworn") (use-package rpgdm-ironsworn :after rpgdm - :straight (:local-repo "~/other/emacs-ironsworn") + :straight (:local-repo "~/src/emacs-ironsworn") :init - (setq rpgdm-ironsworn-project (expand-file-name "~/other/emacs-ironsworn") + (setq rpgdm-ironsworn-project (expand-file-name "~/src/emacs-ironsworn") ;; Ignore org links that call my RPG functions: org-link-elisp-skip-confirm-regexp (rx string-start (optional "(") "rpgdm-" (or "tables-" "ironsworn-") diff --git a/ha-capturing-notes.org b/ha-capturing-notes.org index 8a48661..9545f64 100644 --- a/ha-capturing-notes.org +++ b/ha-capturing-notes.org @@ -19,7 +19,7 @@ A literate programming file for configuring org for capturing notes. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-capturing-notes.org + ;; ~/src/hamacs/ha-capturing-notes.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-config.org b/ha-config.org index 46c8922..db40589 100644 --- a/ha-config.org +++ b/ha-config.org @@ -19,7 +19,7 @@ A literate programming file for configuring Emacs. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-config.org + ;; ~/src/hamacs/ha-config.org ;; Using `find-file-at-point', and tangle the file to recreate this. ;; ;;; Commentary: @@ -858,7 +858,7 @@ Granted, this list is essentially a list of projects that I'm currently developi (add-to-list 'ha-workspace-projects-personal '("technical" "~/technical" ("ansible.org"))) (add-to-list 'ha-workspace-projects-personal - '("hamacs" "~/other/hamacs" ("README.org" "ha-config.org"))) + '("hamacs" "~/src/hamacs" ("README.org" "ha-config.org"))) #+end_src Given a list of information about project-workspaces, can we create them all? diff --git a/ha-dashboard.org b/ha-dashboard.org index c770d40..63ee48a 100644 --- a/ha-dashboard.org +++ b/ha-dashboard.org @@ -19,7 +19,7 @@ A literate programming file for configuring Emacs to show a startup screen. ;; While obvious, GNU Emacs does not include this file or project. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard/other/hamacs/ha-dashboard.org + ;; ~/src/hamacs/ha-dashboard.org ;; And tangle the file to recreate this one. ;; ;;; Code: @@ -139,7 +139,7 @@ The [[https://github.com/emacs-dashboard/emacs-dashboard][emacs-dashboard]] proj (native-comp-available-p)) "with Native Compilation" "") (ha-dashboard-version)) - dashboard-startup-banner "~/other/hamacs/support/levitating-gnu.png" + dashboard-startup-banner "~/src/hamacs/support/levitating-gnu.png" dashboard-center-content t dashboard-set-init-info t dashboard-projects-switch-function 'project-switch-project @@ -231,7 +231,7 @@ Simple function to display a file in the top-right corner (if the file exists): (defun ha-show-learn-this () "" (interactive) - (let ((filename "~/other/hamacs/learn-this.org") + (let ((filename "~/src/hamacs/learn-this.org") (curr-win (get-buffer-window (buffer-name)))) (when (file-exists-p filename) (split-window-below 15) diff --git a/ha-data.org b/ha-data.org index 96cc359..42b52fb 100644 --- a/ha-data.org +++ b/ha-data.org @@ -19,7 +19,7 @@ A literate programming file for configuring Emacs to edit files of data. ;; While obvious, GNU Emacs does not include this file or project. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard.abrams/other/hamacs/ha-data.org + ;; ~/src/hamacs/ha-data.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-display.org b/ha-display.org index 11900c1..1028304 100644 --- a/ha-display.org +++ b/ha-display.org @@ -19,7 +19,7 @@ A literate programming file to configure the Emacs UI. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-display.org + ;; ~/src/hamacs/ha-display.org ;; Using `find-file-at-point', and tangle the file to recreate this one . ;; ;;; Code: @@ -372,7 +372,7 @@ Most of the time, Emacs is on my desk is a darkened room, so I choose the dark t (load-theme 'doom-wilmersdorf t) (ignore-errors ;; TODO: File in progress! - (load-file "~/other/hamacs/ha-theme-dark.el")) + (load-file "~/src/hamacs/ha-theme-dark.el")) (ha-word-processor-fonts)) #+end_src diff --git a/ha-email.org b/ha-email.org index 67e1c83..43f6a73 100644 --- a/ha-email.org +++ b/ha-email.org @@ -19,7 +19,7 @@ A literate configuration file for email using Notmuch. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-email.org + ;; ~/src/hamacs/ha-email.org ;; And tangle the file to recreate this one. ;; ;;; Code: @@ -166,7 +166,7 @@ Using [[https://isync.sourceforge.io/][isync]] (or is it =mbsync=) for mail retr There are global settings: #+begin_src conf :tangle ~/.mbsyncrc :noweb yes - # Note: We now tangle this file from ~/other/hamacs/ha-email.org + # Note: We now tangle this file from ~/src/hamacs/ha-email.org Create Both SyncState * MaxMessages 100 @@ -255,7 +255,7 @@ The general settings file that goes into =~/.notmuch-config=: #+begin_src conf-unix :tangle ~/.notmuch-config # .notmuch-config - Configuration file for the notmuch mail system -# Note: We now tangle this file from ~/other/hamacs/ha-email.org +# Note: We now tangle this file from ~/src/hamacs/ha-email.org # # For more information about notmuch, see https://notmuchmail.org #+end_src @@ -329,7 +329,7 @@ Then we need a shell script called when beginning a retrieval, =pre-new= that si #+begin_src shell :tangle ~/.mail/.notmuch/hooks/pre-new :shebang "#!/bin/bash" # More info about hooks: https://notmuchmail.org/manpages/notmuch-hooks-5/ - # Note: We now tangle this file from ~/other/hamacs/ha-email.org + # Note: We now tangle this file from ~/src/hamacs/ha-email.org echo "Starting not-much 'pre-new' script" @@ -342,7 +342,7 @@ And a =post-new= hook based on a filtering scheme that mimics the Hey.com workfl #+begin_src shell :tangle ~/.mail/.notmuch/hooks/post-new :shebang "#!/bin/bash" # Based On: https://gist.githubusercontent.com/frozencemetery/5042526/raw/57195ba748e336de80c27519fe66e428e5003ab8/post-new -# Note: We now tangle this file from ~/other/hamacs/ha-email.org +# Note: We now tangle this file from ~/src/hamacs/ha-email.org # # Install this by moving this file to /.notmuch/hooks/post-new # NOTE: you need to define your maildir in the vardiable nm_maildir (just a few lines below in this script) diff --git a/ha-eshell.org b/ha-eshell.org index 8de6d82..c21951a 100644 --- a/ha-eshell.org +++ b/ha-eshell.org @@ -18,7 +18,7 @@ A literate programming file for configuring the Emacs Shell. ;; While obvious, GNU Emacs does not include this file or project. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard.abrams/other/hamacs/ha-eshell.org + ;; ~/src/hamacs/ha-eshell.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-evil.org b/ha-evil.org index 88337d3..49b0bc1 100644 --- a/ha-evil.org +++ b/ha-evil.org @@ -19,7 +19,7 @@ A literate programming file for configuring Evil mode in Emacs. ;; While obvious, GNU Emacs does not include this file or project. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard.abrams/other/hamacs/ha-evil.org + ;; ~/src/hamacs/ha-evil.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-feed-reader.org b/ha-feed-reader.org index 75f8b02..91bbbdf 100644 --- a/ha-feed-reader.org +++ b/ha-feed-reader.org @@ -19,7 +19,7 @@ A literate programming file for configuring =elfeed= in Emacs. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-feed-reader.org + ;; ~/src/hamacs/ha-feed-reader.org ;; Using `find-file-at-point', and tangle the file to recreate this one . ;; ;;; Code: diff --git a/ha-general.org b/ha-general.org index 88ecebe..ba7d9fd 100644 --- a/ha-general.org +++ b/ha-general.org @@ -19,7 +19,7 @@ A literate programming file for defining leaders with general ;; While obvious, GNU Emacs does not include this file or project. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard.abrams/other/hamacs/ha-leader.org + ;; ~/src/hamacs/ha-leader.org ;; And tangle the file to recreate this one. ;; ;;; Code: @@ -195,7 +195,7 @@ And ways to load my tangled org-files: "h h" '(:ignore t :which-key "hamacs") "h h f" '("features" . ha-hamacs-features) "h h e" '("edit" . ha-hamacs-find-file) - "h h j" `("heading jump" . ,(lambda () (interactive) (ha-hamacs-edit-file-heading "~/other/hamacs"))) + "h h j" `("heading jump" . ,(lambda () (interactive) (ha-hamacs-edit-file-heading "~/src/hamacs"))) "h h h" '("reload" . ha-hamacs-load) "h h a" '("reload all" . ha-hamacs-reload-all) diff --git a/ha-irc.org b/ha-irc.org index 423e7e7..5ff25f5 100644 --- a/ha-irc.org +++ b/ha-irc.org @@ -19,7 +19,7 @@ A literate programming configuration file for IRC communiction. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-irc.org + ;; ~/src/hamacs/ha-irc.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-org-clipboard.org b/ha-org-clipboard.org index fdbc73b..c425bfb 100644 --- a/ha-org-clipboard.org +++ b/ha-org-clipboard.org @@ -19,7 +19,7 @@ A literate programming file of functions for formatting Emacs text and code into ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/org-clipboard.org + ;; ~/src/hamacs/org-clipboard.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-org-journaling.org b/ha-org-journaling.org index 4ed35aa..107da8a 100644 --- a/ha-org-journaling.org +++ b/ha-org-journaling.org @@ -21,7 +21,7 @@ A literate programming configuration file for extending the Journaling capabilit ;;; Commentary: ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/org-journaling.org + ;; ~/src/hamacs/org-journaling.org ;; And tangle the file to recreate this one. ;; ;;; Code: @@ -74,7 +74,7 @@ And pull ‘er up: This depends on the following [[file:~/.doom.d/snippets/org-journal-mode/__journal][snippet/template file]]: -#+begin_src snippet :tangle ~/other/hamacs/templates/journal +#+begin_src snippet :tangle ~/src/hamacs/templates/journal #+title: Journal Entry- `(ha-journal-file-datestamp)` $0 diff --git a/ha-org-literate.org b/ha-org-literate.org index 578b0ce..11ddae3 100644 --- a/ha-org-literate.org +++ b/ha-org-literate.org @@ -26,7 +26,7 @@ A literate programming file for literate programming in Emacs Org Files. ;; ;; *NB:* Do not edit this file. Instead, edit the original ;; literate file at: - ;; /home/howard/other/hamacs/ha-org-literate.org + ;; ~/src/hamacs/ha-org-literate.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-org-publishing.org b/ha-org-publishing.org index bacf8d3..1ebb85d 100644 --- a/ha-org-publishing.org +++ b/ha-org-publishing.org @@ -19,7 +19,7 @@ A literate programming file for publishing my website using org. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/org-publishing.org + ;; ~/src/hamacs/org-publishing.org ;; And tangle the file to recreate this one. ;; ;;; Code: @@ -208,7 +208,7 @@ As above, we can separate the publishing of the images and other static files: `("tech-notes-static" :base-directory "~/technical/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|svg" - :publishing-directory ,(concat org-mode-publishing-directory "/other/") + :publishing-directory ,(concat org-mode-publishing-directory "/src/") :recursive t :publishing-function org-publish-attachment)) #+end_src @@ -217,7 +217,7 @@ I’ve been committing my literate-style Emacs configuration for years now, and #+begin_src emacs-lisp (add-to-list 'org-publish-project-alist `("hamacs" - :base-directory "~/other/hamacs" + :base-directory "~/src/hamacs" :publishing-directory ,(concat org-mode-publishing-directory "hamacs/") :publishing-function org-html-publish-to-html :recursive t @@ -238,7 +238,7 @@ I’ve been committing my literate-style Emacs configuration for years now, and (add-to-list 'org-publish-project-alist `("hamacs-static" - :base-directory "~/other/hamacs" + :base-directory "~/src/hamacs" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|svg" :publishing-directory ,(concat org-mode-publishing-directory "hamacs") :recursive t diff --git a/ha-org-sprint.org b/ha-org-sprint.org index fcec006..4faf89b 100644 --- a/ha-org-sprint.org +++ b/ha-org-sprint.org @@ -19,7 +19,7 @@ A literate program for configuring org files for work-related notes. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/org-sprint.org + ;; ~/src/hamacs/org-sprint.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-org-word-processor.org b/ha-org-word-processor.org index 4759c04..0e9c244 100644 --- a/ha-org-word-processor.org +++ b/ha-org-word-processor.org @@ -20,7 +20,7 @@ A literate programming file for making Org file more readable. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-org-word-processor.org + ;; ~/src/hamacs/ha-org-word-processor.org ;; Using `find-file-at-point', and tangle the file to recreate this one . ;; ;;; Code: diff --git a/ha-org.org b/ha-org.org index 2e853c2..cb0c9ad 100644 --- a/ha-org.org +++ b/ha-org.org @@ -560,7 +560,7 @@ Of course, since we are dealing with Emacs, any good idea will be assimilated. J #+begin_src emacs-lisp (use-package pikchr-mode - :straight (:local-repo "~/other/pikchr-mode") + :straight (:local-repo "~/src/pikchr-mode") :custom (pikchr-executable "~/bin/pikchr")) #+end_src diff --git a/ha-passwords.org b/ha-passwords.org index 5089928..692034b 100644 --- a/ha-passwords.org +++ b/ha-passwords.org @@ -19,7 +19,7 @@ A literate programming version for Emacs code to generate and store passwords. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-passwords.org + ;; ~/src/hamacs/ha-passwords.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-programming-ansible.org b/ha-programming-ansible.org index 6d88ef4..d6385e1 100644 --- a/ha-programming-ansible.org +++ b/ha-programming-ansible.org @@ -19,7 +19,7 @@ Configuring Ansible and YAML ;; While obvious, GNU Emacs does not include this file ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard.abrams/other/hamacs/ha-programming-ansible.org + ;; ~/src/hamacs/ha-programming-ansible.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-programming-clojure.org b/ha-programming-clojure.org index a5b1112..bbbfc18 100644 --- a/ha-programming-clojure.org +++ b/ha-programming-clojure.org @@ -19,7 +19,7 @@ A literate programming file for programming in Clojure. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-programming-clojure.org + ;; ~/src/hamacs/ha-programming-clojure.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-programming-elisp.org b/ha-programming-elisp.org index de4f14b..ab89703 100644 --- a/ha-programming-elisp.org +++ b/ha-programming-elisp.org @@ -19,7 +19,7 @@ A literate programming file for configuring Emacs for Lisp programming. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard.abrams/other/hamacs/ha-lisp.org + ;; ~/src/hamacs/ha-lisp.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-programming-haskell.org b/ha-programming-haskell.org index f734841..b0e4c13 100644 --- a/ha-programming-haskell.org +++ b/ha-programming-haskell.org @@ -18,7 +18,7 @@ A literate programming file for configuring Emacs to use [[https://www.haskell.o ;; While obvious, GNU Emacs does not include this file or project. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-programming-haskell.org + ;; ~/src/hamacs/ha-programming-haskell.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-programming-ocaml.org b/ha-programming-ocaml.org index ec8bd46..502ee56 100644 --- a/ha-programming-ocaml.org +++ b/ha-programming-ocaml.org @@ -18,7 +18,7 @@ A literate programming file for integrating the [[https://ocaml.org/][OCaml prog ;; While obvious, GNU Emacs does not include this file or project. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-programming-ocaml.org + ;; ~/src/hamacs/ha-programming-ocaml.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-programming-python.org b/ha-programming-python.org index b31884e..ba5c885 100644 --- a/ha-programming-python.org +++ b/ha-programming-python.org @@ -19,7 +19,7 @@ A literate programming file for configuring Python. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-programming-python.org + ;; ~/src/hamacs/ha-programming-python.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-programming-ruby.org b/ha-programming-ruby.org index 350b893..33e95e7 100644 --- a/ha-programming-ruby.org +++ b/ha-programming-ruby.org @@ -19,7 +19,7 @@ A literate programming file for configuring Emacs to support the Ruby programmin ;; While obvious, GNU Emacs does not include this file or project. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard.abrams/other/hamacs/ha-programming-ruby.org + ;; ~/src/hamacs/ha-programming-ruby.org ;; And tangle the file to recreate this one. ;; ;;; Code: @@ -48,8 +48,8 @@ While we /could/ use a large project templating system, I keep it simple. For ea #+end_example For instance: #+begin_src sh - mkdir -p ~/other/ruby-xp # Change me - cd ~/other/ruby-xp + mkdir -p ~/src/ruby-xp # Change me + cd ~/src/ruby-xp mkdir -p lib test #+end_src @@ -66,7 +66,7 @@ Now, do the following steps. #+end_src 3. Create a minimal =Gemfile=: - #+begin_src ruby :tangle ~/other/ruby-xp/Gemfile + #+begin_src ruby :tangle ~/src/ruby-xp/Gemfile source 'https://rubygems.org' gem 'rake', group: :development @@ -80,7 +80,7 @@ Now, do the following steps. #+end_src 5. Create a minimal =Rakefile=: - #+begin_src ruby :tangle ~/other/ruby-xp/Rakefile + #+begin_src ruby :tangle ~/src/ruby-xp/Rakefile task default: %w[test] task :run do @@ -93,7 +93,7 @@ Now, do the following steps. #+end_src 6. Create the first program: - #+begin_src ruby :tangle ~/other/ruby-xp/lib/hello_world.rb + #+begin_src ruby :tangle ~/src/ruby-xp/lib/hello_world.rb # frozen_string_literal: true # The basic greeting class @@ -117,7 +117,7 @@ Now, do the following steps. #+end_src 7. Create the first test: - #+begin_src ruby :tangle ~/other/ruby-xp/test/hello_world_test.rb + #+begin_src ruby :tangle ~/src/ruby-xp/test/hello_world_test.rb require 'test/unit' require_relative '../lib/hello_world' @@ -142,7 +142,7 @@ For projects from work, I have found we need to isolate the Ruby environment. On #+end_src A better solution is to create a container to hold the Ruby environment. Begin with a =Dockerfile=: -#+begin_src dockerfile :tangle ~/other/ruby-xp/Dockerfile +#+begin_src dockerfile :tangle ~/src/ruby-xp/Dockerfile ## -*- dockerfile-image-name: "ruby-xp" -*- FROM alpine:3.13 @@ -177,7 +177,7 @@ A better solution is to create a container to hold the Ruby environment. Begin w #+end_src Next, create a =.envrc= in the project’s directory: -#+begin_src sh :tangle ~/other/ruby-xp/.envrc +#+begin_src sh :tangle ~/src/ruby-xp/.envrc CONTAINER_NAME=ruby-xp:latest CONTAINER_WRAPPERS=(bash ruby irb gem bundle rake solargraph rubocop) diff --git a/ha-programming-rust.org b/ha-programming-rust.org index 36aae73..4a81f2c 100644 --- a/ha-programming-rust.org +++ b/ha-programming-rust.org @@ -19,7 +19,7 @@ A literate programming file for configuring Rust with Emacs. ;; While obvious, GNU Emacs does not include this file or project. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard.abrams/other/hamacs/ha-programming-rust.org + ;; ~/src/hamacs/ha-programming-rust.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-programming-scheme.org b/ha-programming-scheme.org index e77c86c..412d2ad 100644 --- a/ha-programming-scheme.org +++ b/ha-programming-scheme.org @@ -19,7 +19,7 @@ A literate programming file configuring Emacs. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; /Users/howard.abrams/other/hamacs/ha-programming-scheme.org + ;; ~/src/hamacs/ha-programming-scheme.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-programming.org b/ha-programming.org index ce1213b..f1aa477 100644 --- a/ha-programming.org +++ b/ha-programming.org @@ -19,7 +19,7 @@ A literate programming file for helping me program. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-programming.org + ;; ~/src/hamacs/ha-programming.org ;; And tangle the file to recreate this one. ;; ;;; Code: diff --git a/ha-remoting.org b/ha-remoting.org index 4f4a62c..271000d 100644 --- a/ha-remoting.org +++ b/ha-remoting.org @@ -19,7 +19,7 @@ A literate configuration for accessing remote systems. ;; This file is not part of GNU Emacs. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: - ;; ~/other/hamacs/ha-remoting.org + ;; ~/src/hamacs/ha-remoting.org ;; And tangle the file to recreate this one. ;; ;;; Code: @@ -296,7 +296,7 @@ Perhaps a Unit test is in order: #+begin_src emacs-lisp :tangle no (ert-deftest ha--terminal-name-from-dir-test () (should - (string= (ha-shell--name-from-dir "~/other/hamacs/") "Terminal: hamacs")) + (string= (ha-shell--name-from-dir "~/src/hamacs/") "Terminal: hamacs")) (should (string= (ha-shell--name-from-dir "~/work/foo/bar") "Terminal: foo/bar")) (should