May 6th 2026 - Interesting Finds
Named variables in common lisp
We can have named variables in commons lisp by using cl-defun and &key:
(cl-defun my/example (&key param1 param2 param3) "This prints out the params values" (message "%s %s %s" param1 param2 param3)) (my/example :param1 "hello" :param2 "world" :param3 "emacs!")
Output:
hello world emacs!
The order of the parameters doesn't matter when you're using keys:
(my/example :param2 "world" :param1 "hello" :param3 "emacs!")
Output:
hello world emacs!
MacOS turn off writing a period after double space
By default MacOS adds a . if you press space twice. To turn this functionality on or off:
- Go to System Settings
- Keyboard
- Text Input -> Edit
- Toggle "Add period with double-space"
Learned about bullet journaling
This is kind of similar to what I do with my journal but I'll look more into it to see if I can something interesting to my journaling workflow.
You can see an overview of the process here.