From a0ec10a03647275165fad13aeadfbbf02b92a15f Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 6 Jun 2022 17:14:40 -0500 Subject: Add moved-in --- src/moved-in.ht | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/moved-in.ht (limited to 'src') diff --git a/src/moved-in.ht b/src/moved-in.ht new file mode 100644 index 0000000..27d1555 --- /dev/null +++ b/src/moved-in.ht @@ -0,0 +1,44 @@ +;@@title: moved in@@ +;@@date: 2022-06-06@@ + +moved into my new house last week! very nice house. i was sick for two days +afterward, i think due to exhaustion or something. wasn't a good time, let me +tell you. however, now i'm well and kicking! + +my wife's birthday was also this weekend, so we had friends over and everyone +loved the house. i do too. it's a good house. + +oh and the +=> https://dogs.acdw.net dogs +are back home, thank goodness! i was missing them very much. they are +adjusting well, mostly---though apparently the poor things were terrified by the +mail dropping through the door slot this afternoon. + +
+ +i was originally writing this to share a bit of elisp, so i suppose i will here. + +Bozhidar Batsov wrote a blog post called +=> +https://emacsredux.com/blog/2022/06/03/extract-version-metadata-from-a-package/ +"Extract Version Metadata from a Package" +that discusses how to do all of that from package.el, but i don't use +package.el. + +so i hacked something together from some throwaway lines in his blog to do +almost the same thing: + +``` +(with-current-buffer (find-file-noselect (find-library-name "titlecase")) + (require 'lisp-mnt) + (lm-authors)) +``` + +this returns the authors (me) and their email from the titlecase.el library: + +``` +(("Case Duckworth" . "acdw@acdw.net")) +``` + +i still need to think about multi-file libraries and how to find the "real" root +of the library, i suppose, but that's an easily-enough-solved problem i think. -- cgit 1.4.1-21-gabe81