From e0e16e57d6b7d644c366efc165497d851fa001d9 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Thu, 18 Nov 2021 12:12:19 -0800 Subject: [PATCH] Excising useless user information --- .gitignore | 1 + README.org | 9 ++++----- bootstrap.org | 27 +++++++++++++++------------ ha-agendas.org | 3 +-- ha-capturing-notes.org | 3 +-- ha-config.org | 11 +---------- ha-display.org | 3 +-- ha-email.org | 3 +-- ha-feed-reader.org | 3 +-- ha-org-babel.org | 3 +-- ha-org-clipboard.org | 3 +-- ha-org-journaling.org | 3 +-- ha-org-publishing.org | 3 +-- ha-org-sprint.org | 3 +-- ha-org-word-processor.org | 3 +-- ha-org.org | 3 +-- ha-passwords.org | 3 +-- ha-programming-python.org | 3 +-- ha-programming.org | 3 +-- ha-remoting.org | 3 +-- templates/hamacs-config | 2 +- 21 files changed, 38 insertions(+), 60 deletions(-) diff --git a/.gitignore b/.gitignore index 0aa9cc0..007f238 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.el /ha-work.org /elisp/gourmet-projects.el +/ha-private.org diff --git a/README.org b/README.org index 33bcdc1..75eca58 100644 --- a/README.org +++ b/README.org @@ -1,6 +1,5 @@ #+TITLE: My Emacs Configuration #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2021-11-01 November #+TAGS: emacs @@ -22,12 +21,12 @@ This creates [[file:~/.emacs.d/init.el][~/.emacs.d/init.el]] that starts the pro - [[file:ha-org-publishing.org][ha-org-publishing.org]] :: code for publishing my website, [[http://howardism.org][www.howardism.org]]. - [[file:ha-org-sprint.org][ha-org-sprint.org]] :: functions for working with the my Org-focused sprint files. - [[file:ha-remoting.org][ha-remoting.org]] :: my interface to systems using SSH and Vterm. + - [[file:ha-email.org][ha-email.org]] :: reading email using =notmuch= in a *Hey* fashion. - [[file:ha-feed-reader.org][ha-feed-reader.org]] :: configuration of elfeed as well as my RSS feeds. - [[file:ha-capturing-notes.org][ha-capturing-notes.org]] :: my engineering notebook. - - [[file:ha-agendas.org][ha-agendas.org]] :: Attempts to "supe-up" my task list. - - [[file:ha-email.org][ha-email.org]] :: Reading email using =notmuch= in a *Hey* fashion. - - [[file:ha-irc.org][ha-irc.org]] :: Connection to IRC servers using rcirc and bitlbee. - - [[file:ha-passwords.org][ha-passwords.org]] :: Code for generating passwords. + - [[file:ha-agendas.org][ha-agendas.org]] :: attempts to "supe-up" my task list. + - [[file:ha-irc.org][ha-irc.org]] :: connection to IRC servers using rcirc and bitlbee. + - [[file:ha-passwords.org][ha-passwords.org]] :: code for generating passwords. - [[file:ha-programming.org][ha-programming.org]] :: configuration for /all/ programming languages, or at least, the simple ones. - [[file:ha-programming-python.org][ha-programming-python.org]] :: configuration for working with Python and LSP. diff --git a/bootstrap.org b/bootstrap.org index 7033fda..958c3c6 100644 --- a/bootstrap.org +++ b/bootstrap.org @@ -1,6 +1,5 @@ #+TITLE: My Emacs Bootstrap #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2021-10-08 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate programming file for bootstraping my Emacs Configuration. ;; Copyright (C) 2021 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: October 8, 2021 ;; ;; This file is not part of GNU Emacs. @@ -58,7 +57,7 @@ The following packages come with Emacs, but seems like they still need loading: #+BEGIN_SRC emacs-lisp (require 'subr-x) #+END_SRC -Ugh. Why am I getting this error? +Ugh. Why am I getting a missing =first= function error? Let's just define it: #+BEGIN_SRC emacs-lisp (defun first (elt) (car elt)) #+END_SRC @@ -108,26 +107,28 @@ the native-comp model, but I reserve the right to change this." * Load the Rest The following loads the rest of my org-mode literate files. I add them as they are /ready/, but eventually, I'll trim this up into a nicer pattern. #+BEGIN_SRC emacs-lisp - (defvar ha-hamacs-files `("ha-config.org" + (defvar ha-hamacs-files `("ha-private.org" + "ha-config.org" ,(when (display-graphic-p) "ha-display.org") "ha-org.org" ,(when (display-graphic-p) "ha-org-word-processor.org") "ha-org-clipboard.org" - "ha-org-journaling.org" - "ha-org-publishing.org" - "ha-org-sprint.org" "ha-capturing-notes.org" - "ha-programming.org" "ha-agendas.org" - "ha-email.org" "ha-irc.org" "ha-passwords.org" "ha-remoting.org" - "ha-feed-reader.org" - + "ha-programming.org" + "ha-programming-python.org" + ,(unless (ha-emacs-for-work?) + "ha-org-journaling.org" + "ha-org-publishing.org" + "ha-email.org" + "ha-feed-reader.org") ,(when (ha-emacs-for-work?) + "ha-org-sprint.org" "ha-work.org")) "List of org files that complete the hamacs project.") #+END_SRC @@ -137,7 +138,9 @@ We can test/debug/reload any individual file, via: (defun ha-hamacs-load (file) "Load or reload an org-mode FILE containing literate Emacs configuration code." (interactive (list (completing-read "Org file: " ha-hamacs-files))) - (org-babel-load-file (f-join hamacs-source-dir file))) + (let ((full-file (f-join hamacs-source-dir file))) + (when (f-exists? full-file) + (org-babel-load-file full-file)))) #+END_SRC And we can now load everything: diff --git a/ha-agendas.org b/ha-agendas.org index 1768149..778ba3b 100644 --- a/ha-agendas.org +++ b/ha-agendas.org @@ -1,6 +1,5 @@ #+TITLE: Org Agenda Configuration #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-18 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate programming configuration for fancy agenda and todo lists. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 18, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-capturing-notes.org b/ha-capturing-notes.org index 531e9bf..74aebe6 100644 --- a/ha-capturing-notes.org +++ b/ha-capturing-notes.org @@ -1,6 +1,5 @@ #+TITLE: Capturing Notes with Org #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-18 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate programming file for configuring org for capturing notes. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 18, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-config.org b/ha-config.org index 5ad802c..9839432 100644 --- a/ha-config.org +++ b/ha-config.org @@ -1,6 +1,5 @@ #+TITLE: General Emacs Configuration #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-10 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate programming file for configuring Emacs. ;; Copyright (C) 2020-2021 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 10, 2020 ;; ;; This file is not part of GNU Emacs. @@ -24,14 +23,6 @@ A literate programming file for configuring Emacs. ;;; Code: #+END_SRC * Introduction - -The following are general variable settings, and doesn't really belong to any specific purpose. - -#+BEGIN_SRC emacs-lisp -(setq user-full-name "Howard X. Abrams" - user-mail-address "howard.abrams@gmail.com") -#+END_SRC - New way to display line-numbers. I set mine to =relative= so that I can easily jump up and down by that value. Set this to =nil= to turn off, or =t= to be absolute. #+BEGIN_SRC emacs-lisp diff --git a/ha-display.org b/ha-display.org index 96a91eb..d45ea94 100644 --- a/ha-display.org +++ b/ha-display.org @@ -1,6 +1,5 @@ #+TITLE: Emacs Graphical Display Configuration #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-10 #+FILETAGS: :emacs: @@ -13,7 +12,7 @@ A literate programming file to configure the Emacs UI. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 10, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-email.org b/ha-email.org index 2fb91a0..c762563 100644 --- a/ha-email.org +++ b/ha-email.org @@ -1,6 +1,5 @@ #+TITLE: Configuring Emacs for Email with Notmuch #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-16 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate configuration file for email using Notmuch. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 16, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-feed-reader.org b/ha-feed-reader.org index f59be6f..91a1935 100644 --- a/ha-feed-reader.org +++ b/ha-feed-reader.org @@ -1,6 +1,5 @@ #+TITLE: My RSS Feeds #+AUTHOR: Howard Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2018-08-08 August #+FILETAGS: :elfeed: @@ -12,7 +11,7 @@ A literate programming file for configuring =elfeed= in Emacs. ;; Copyright (C) 2020-2021 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 10, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-org-babel.org b/ha-org-babel.org index ed77acd..37958c7 100644 --- a/ha-org-babel.org +++ b/ha-org-babel.org @@ -1,6 +1,5 @@ #+TITLE: Literate Programming with Org #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2021-11-05 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ This section is primarily about development in a literate way, especially focuse ;; Copyright (C) 2021 Howard X. Abrams ;; ;; Author: Howard X. Abrams - ;; Maintainer: Howard X. Abrams + ;; Maintainer: Howard X. Abrams ;; Created: November 5, 2021 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-org-clipboard.org b/ha-org-clipboard.org index 022aa3e..d4ae6ce 100644 --- a/ha-org-clipboard.org +++ b/ha-org-clipboard.org @@ -1,6 +1,5 @@ #+TITLE: Pasting the Org Clipboard #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-15 #+FILETAGS: :emacs: @@ -13,7 +12,7 @@ A literate programming file of functions for formatting the clipboard. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 15, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-org-journaling.org b/ha-org-journaling.org index f433f02..3fc2393 100644 --- a/ha-org-journaling.org +++ b/ha-org-journaling.org @@ -1,6 +1,5 @@ #+TITLE: Org Journaling #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-24 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate programming configuration file for extending the Journaling capabilit ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 24, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-org-publishing.org b/ha-org-publishing.org index a041f0c..5d9172a 100644 --- a/ha-org-publishing.org +++ b/ha-org-publishing.org @@ -1,6 +1,5 @@ #+TITLE: Publishing my Website with Org #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-12-22 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate programming file for publishing my website using org. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: December 22, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-org-sprint.org b/ha-org-sprint.org index 65d70e5..e317e82 100644 --- a/ha-org-sprint.org +++ b/ha-org-sprint.org @@ -1,6 +1,5 @@ #+TITLE: My Sprint Calculations and Support #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-25 #+FILETAGS: :emacs: @@ -13,7 +12,7 @@ A literate program for configuring org files for work-related notes. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 25, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-org-word-processor.org b/ha-org-word-processor.org index 52324c0..d322308 100644 --- a/ha-org-word-processor.org +++ b/ha-org-word-processor.org @@ -1,6 +1,5 @@ #+TITLE: Org As A Word Processor #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-10 #+FILETAGS: :emacs: @@ -13,7 +12,7 @@ A literate programming file for making Org file more readable. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 10, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-org.org b/ha-org.org index be9297b..bc65c81 100644 --- a/ha-org.org +++ b/ha-org.org @@ -1,6 +1,5 @@ #+TITLE: General Org-Mode Configuration #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-18 #+FILETAGS: :emacs: @@ -11,7 +10,7 @@ A literate programming file for configuring org-mode and those files. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 18, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-passwords.org b/ha-passwords.org index b8894d0..9a46cab 100644 --- a/ha-passwords.org +++ b/ha-passwords.org @@ -1,6 +1,5 @@ #+TITLE: Personal Password Generator #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2021-01-11 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate programming version for Emacs code to generate and store passwords. ;; Copyright (C) 2021 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: January 11, 2021 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-programming-python.org b/ha-programming-python.org index 47a37de..99b1301 100644 --- a/ha-programming-python.org +++ b/ha-programming-python.org @@ -1,6 +1,5 @@ #+TITLE: Configuring Python in Emacs #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2021-11-16 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate programming file for configuring Python. ;; Copyright (C) 2021 Howard X. Abrams ;; ;; Author: Howard X. Abrams - ;; Maintainer: Howard X. Abrams + ;; Maintainer: Howard X. Abrams ;; Created: November 16, 2021 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-programming.org b/ha-programming.org index dafec0c..48be0ae 100644 --- a/ha-programming.org +++ b/ha-programming.org @@ -1,6 +1,5 @@ #+TITLE: General Programming Configuration #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-10-26 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate programming file for helping me program. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: October 26, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/ha-remoting.org b/ha-remoting.org index e0ae836..d929a7c 100644 --- a/ha-remoting.org +++ b/ha-remoting.org @@ -1,6 +1,5 @@ #+TITLE: Remote Access to Systems #+AUTHOR: Howard X. Abrams -#+EMAIL: howard.abrams@gmail.com #+DATE: 2020-09-25 #+FILETAGS: :emacs: @@ -12,7 +11,7 @@ A literate configuration for accessing remote systems. ;; Copyright (C) 2020 Howard X. Abrams ;; ;; Author: Howard X. Abrams -;; Maintainer: Howard X. Abrams +;; Maintainer: Howard X. Abrams ;; Created: September 25, 2020 ;; ;; This file is not part of GNU Emacs. diff --git a/templates/hamacs-config b/templates/hamacs-config index df5b795..05cc05f 100644 --- a/templates/hamacs-config +++ b/templates/hamacs-config @@ -16,7 +16,7 @@ ${2:A literate programming file configuring Emacs.} ;; Copyright (C) `(format-time-string "%Y")` `user-full-name` ;; ;; Author: `user-full-name` -;; Maintainer: `user-full-name` <`user-mail-address`> +;; Maintainer: `user-full-name` ;; Created: `(format-time-string "%B %e, %Y")` ;; ;; This file is not part of GNU Emacs.