June 3rd 2026 - Things I Worked On

Added Autoindent for code

I wanted a way to autoindent my code as I was writing. Of course, there's a package in Emacs for that called aggresive-indent-mode.

Install

(unless (package-installed-p 'aggressive-indent)
  (package-install 'aggressive-indent))

(require 'aggressive-indent)

Setup

(global-aggressive-indent-mode 1)

;; You can selectively enable it
;; (add-hook 'emacs-lisp-mode-hook #'aggressive-indent-mode)
;; (add-hook 'css-mode-hook #'aggressive-indent-mode)

;; Or you can selectively disable it
;; (add-to-list 'aggressive-indent-excluded-modes 'html-mode)

Added Highlight Things

Repo

Highlight words, symbols, or selection under point throughout the whole buffer.

Install

(unless (package-installed-p 'highlight-thing)
  (package-install 'highlight-thing))

(require 'highlight-thing)

Setup

You can also toggle it with highlight-thing-mode.

(setq highlight-thing-delay-seconds 0)
(setq highlight-thing-exclude-thing-under-point t)

;; If you want it globally
;; (global-highlight-thing-mode)

;; If you want it to be case sensitive
;; (setq highlight-thing-case-sensitive-p t)

;; To exclude certain strings
;; (setq highlight-thing-ignore-list '("False" "True"))

;; To highlight in all visible buffers
;; (setq highlight-thing-all-visible-buffers-p t)

Tried installing Kotlin for Emacs

Didn't work. Emacs freezes trying to run Kotlin code blocks in org mode. It also can't find kotlin-mode.

Installed Android studio for note app

I want to create an app for my phone where I can write my cash expenses when I'm out and about the city and have that sync up with my laptop. I installed Android studio as the first step. It was a somewhat big install but the process was easy.