about summary refs log tree commit diff stats
path: root/src/moved-in.ht
blob: 27d15554070ad4d96fd1d5a7d9b652d00c269b14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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.

<hr>

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.