May 12th 2026 - Things I Worked On
Took pictures of Ayala Mall for Davao Explorer
Added org capture for journal
This will automatically add a journal entry to the last day:
(setq org-capture-templates '( ("i" "Inbox" entry (file+headline "~/gtd/inbox.org" "Inbox") "* TODO %?") ("j" "Journal" plain (file "~/org/journal.org") "** %^{Entry}") ("c" "Calendar" entry (file "~/org/calendar.org") "* %^{Description}\nSCHEDULED: %^t")))
Added getting extended weather
After having the current weather displaying in Emacs I wanted to also show the full forecast for the day. I created a function that display this info in a help window so I can use the q keybinding to quickly close it.
(defun my/weather-display-extended () "Get the extended weather for today at my location" (interactive) (with-help-window "*weather*" (with-current-buffer "*weather*") (erase-buffer) (insert (shell-command-to-string "curl -s \"wttr.in/?1Tu\"")) (goto-char (point-min)))) (evil-leader/set-key "w e f" 'my/weather-display-extended)
Added function to format code in source blocks
(defun my/format-code-in-source-block () "Format the source code within the current Org-mode block. This command applies the appropriate indentation and formatting rules to the code block at point, ensuring the content is consistent with the underlying language's style guidelines." (interactive) (save-excursion (org-babel-do-in-edit-buffer (indent-region (point-min) (point-max))))) (evil-leader/set-key "c c" 'my/format-code-in-source-block)