Skip to content

Instantly share code, notes, and snippets.

@ryanobjc
ryanobjc / ai-in-emacs.org
Created January 24, 2026 19:31
My Emacs AI Workflow Guide

Emacs AI Workflow Guide

Goals and Philosophy

This guide describes a comprehensive AI-assisted workflow in Emacs that prioritizes:

  1. Conversational Context Control: Manage multiple AI conversations within a single file, with explicit control over context boundaries
  2. Daily Journal Integration: Use org-roam daily files as natural containers for AI interactions
@romainl
romainl / showdeclaration.md
Last active January 22, 2023 14:54
Print declaration of word under the cursor

asciicast

@romainl
romainl / dynaline.gif
Last active March 20, 2024 10:11
How to add dynamic highlighted parts to your status-line
dynaline.gif
@0x4D31
0x4D31 / beautiful_idiomatic_python.md
Last active November 23, 2025 09:16 — forked from JeffPaine/beautiful_idiomatic_python.md
[Beautiful Idiomatic Python] Transforming Code into Beautiful, Idiomatic Python #python

Transforming Code into Beautiful, Idiomatic Python

Notes from Raymond Hettinger's talk at pycon US 2013 video, slides.

The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Looping over a range of numbers

for i in [0, 1, 2, 3, 4, 5]:
@jhrr
jhrr / init.el
Created March 26, 2014 22:26
c311 .emacs settings -- including miniKanren stuffs
;;; .emacs (full version)
;;; A .emacs file for C311 students. To use this file, rename
;;; it to '.emacs' and place it in your home directory.
;;; [3 November 2004]
;;; Will Byrd created the initial version of this file from the
;;; simple .emacs file posted earlier. Portions of this file were
;;; were taken from Aziz Ghuloum's .emacs file.