Commit Graph
63 Commits
Author SHA1 Message Date
Willem van den Ende b08e48eec9 refactor(treesit): drop unused typescript grammars
The typescript/tsx entries were nested one list too deep, so lookups for
those languages could never match, and the `dolist' that installed missing
grammars then errored out.  Neither language is used here, so remove both
entries and the installer rather than leave a broken path in the shared
config.  heex and elixir stay.

Re-add the entries (with the correct nesting) when typescript is next used.
2026-11-03 13:43:03 +00:00
Willem van den Ende e1afcc96db chore: remove elfeed
Dropped because the UX is confusing and it went unused.  Removed:

  config.el   rmh-elfeed-org-files, elfeed-search-filter, the custom
              "elfeed:" org link type (follow + store), the SPC o e
              binding, my/elfeed-entry-to-org-roam and its SPC "e"
              capture template, and the two elfeed-mode keybindings
  mac/init.el ;;(rss +org) -- the module exists only to provide elfeed,
              so it is now disabled here too (it already was in
              linux/init.el)
  elfeed.org  the feed list, 20 feeds

Kept: the org-link-preview binding (SPC m l p), which sat between the
elfeed blocks and has nothing to do with it.

After pulling on the mac: doom sync, since a module left the list.

Two leftovers this commit does not touch:

  - the feed list Emacs actually read is ~/Documents/qwan/essays/willem/
    elfeed.org (905 bytes, newer than the copy deleted here) because
    rmh-elfeed-org-files was relative to org-directory.  That file now has
    no consumer, and it sits inside org-roam-directory, so it will still
    show up as a node until you delete or archive it.
  - notes captured with my/elfeed-entry-to-org-roam contain
    [[elfeed:...]] links whose link type no longer exists.  They open as
    unknown links now.  I could not check how many there are: the vault is
    not readable from this sandbox.
2026-11-03 13:26:48 +00:00
Willem van den Ende baf389178d feat(blog): export org-roam notes to firehose and jekyll (SPC n r b / n r j)
Move the firehose exporter here from the firehose repo scripts directory
and rename it to the org-roam- prefix so M-x org-roam-export-blog sits
with the other roam commands. Both commands share one pipeline; each
target contributes frontmatter, post path and image convention:

- org-roam-export-blog: firehose draft (Elixir frontmatter, images to
  app/priv/static/images/blog), bound to SPC n r b
- org-roam-export-jekyll: jekyll draft in _drafts/ (YAML frontmatter,
  tags from #+filetags:, images to attachments/blogposts), bound to
  SPC n r j

Repo roots are defcustoms set home-relative in config.el so one value
works on macOS and Linux; unset or absent roots fail loudly. ERT tests
and the fixture vault live alongside; run with the emacs --batch
command in the test file commentary.

Also split per-machine config: config.el now loads config-mac.el only
on darwin and the new config-linux.el on GNU/Linux, and ignores stale
*.elc files that would otherwise shadow newer sources.
2026-10-29 22:55:12 +00:00
Willem van den Ende b1055a84d6 feat(org): bind SPC m l p to org-link-preview
Adds a localleader binding in org-mode buffers under the existing
SPC m l (links) prefix. org-link-preview is the Org 9.8 replacement
for org-toggle-inline-images.
2026-10-20 11:37:18 +01:00
Willem van den Ende c83209e86d refactor(elixir): switch from elixir-ls to expert LSP, drop +lsp module 2026-07-15 09:42:17 +01:00
Willem van den Ende 6c2a08bee5 feat: add markdown drag-and-drop for blog images
- Fix org DND flag: +download-dnd → +dragndrop (was silently no-op)
- New qwan-markdown-dnd.el: handles file drops in markdown buffers
  copies images to configurable attachment dir (default: attachments/)
  inserts markdown image links at point
  per-repo config via .dir-locals.el (qwan-markdown-attachment-dir)
- AGENTS.md: document the new module and DND setup
2026-06-28 13:23:59 +02:00
Willem van den Ende 6328bdedd1 fix spelling 2026-01-27 23:10:24 +00:00
Willem van den EndeandClaude Opus 4.5 bc7aa5ada6 add config-mac.el with gptel configuration
- Global gptel-include-reasoning redirects thinking to *llm-thinking* buffer
- Backends: llama.cpp, Ollama, GLM-think (DeepSeek parser)
- Presets: explain, elixir, glm-fast, glm-think, glm-search
- search_notes tool for org-roam integration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 13:28:03 +00:00
Willem van den EndeandClaude Opus 4.5 9df2b59151 add elfeed: org-link type for opening entries from org-roam
- Custom elfeed: link type that opens entries directly in elfeed
- Updated my/elfeed-entry-to-org-roam to include elfeed link in note body
- Notes now have both ROAM_REFS (web URL) and elfeed link (local viewing)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 10:03:51 +00:00
Willem van den EndeandClaude Opus 4.5 c0fd6eedae add elfeed with org-based feed configuration
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 10:10:13 +00:00
Willem van den EndeandClaude Opus 4.5 236c0e1c4f refactor config for multi-machine support
Move gptel backend configuration to config-local.el (gitignored) so each
machine can have its own LLM setup. Add config-local.example.el as a
template with options for Ollama, remote llama.cpp, and local llama.cpp.

Also make OS-specific paths portable:
- Use ~ instead of hardcoded /Users/willem for elixir-ls
- Wrap macOS TeX path in system-type conditional

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 00:53:34 -08:00
Willem van den Ende 435fcab6d7 expand presets with models
used  spc h f to explain make-preset and then remembered @preset
2025-11-11 21:14:34 +00:00
Willem van den Ende 2404863706 add journelly-convert-entry-to-org-roam to doom config 2025-10-11 16:09:08 +01:00
Willem van den Ende 7840914fe2 change theme 2025-09-24 17:08:41 +01:00
Willem van den Ende 8eb5eb1c10 set default gptel model to qwen3-30 thinking 2025-09-14 22:21:33 +01:00
Willem van den Ende ef504bb175 gptel with better defaults and from doom 2025-09-13 21:47:51 +01:00
Willem van den Ende 1c5e3600b0 disable gptel 2025-09-13 13:37:29 +01:00
Willem van den Ende 91f744e726 configure haskell, with flycheck for cabal 2025-07-30 09:44:08 +02:00
Willem van den Ende 8941f3f90b Add gptel - GPT en emacs lisp 2025-05-20 14:30:36 +01:00
Willem van den Ende 4a8617d6c7 REfactor qwan functions from config.el, esp. for blogging 2025-05-04 18:32:34 +01:00
Willem van den Ende 8bb1bbf233 Publish draft moved 2025-05-04 18:28:03 +01:00
Willem van den Ende b350812edb Move copy path (to wrong file) 2025-05-04 18:18:45 +01:00
Willem van den Ende 0fe0be3ee8 chore: disable global-mise-mode by commenting out hook 2025-05-04 17:35:41 +01:00
Willem van den Ende bd7723a225 add mastodon 2025-05-03 08:38:00 +01:00
Willem van den Ende 7b13a08a09 eglot back to mostly working
no flymake errors though.
2024-03-01 22:51:12 +00:00
Willem van den Ende 4663e43a97 update lsp integration 2024-02-14 11:53:40 +00:00
Willem van den Ende 361d8de0a6 Working config with new elixir
no evil inside magit though I think we had evil everywhere
2024-01-05 14:19:36 +00:00
Willem van den Ende 1aa1f1b022 config before deleting eglot 2024-01-01 10:34:35 +01:00
Willem van den Ende da0032b48b working emacs config for elixir 2023-03-28 14:27:01 +01:00
Willem van den Ende 293f65e21a prevent emacs from asking for local variables 2023-02-16 11:30:58 +00:00
Willem van den Ende 217c728ce9 fix: correct naming of varaible - 'cursor' was too consistent 2023-02-06 11:35:51 +00:00
Willem van den Ende 1f79ce374f Fix end of line behaviour 2023-02-06 10:55:50 +00:00
Willem van den Ende fc2c68cac5 Add mostalive library with org-roam immediate node 2023-01-31 15:06:15 +00:00
Willem van den Ende 527b64159c Disable autocomplete and enable craft of emacs 2023-01-31 10:23:53 +00:00
Willem van den Ende a798c7a4b1 Disable undo and abondon projectile-switch experiment 2023-01-28 22:05:53 +00:00
Willem van den Ende fc985d036a switch to magit when switching project 2023-01-24 22:07:41 +00:00
Willem van den Ende d2a1e18ea1 Delete obsolete code
we did not need flatten on list, because we had a vector
2023-01-24 15:44:37 +00:00
Willem van den Ende 3be8aacb90 prefer doom env over exec-path-from-shell
Via common config errors on doom discourse
2023-01-22 21:40:30 +00:00
Willem van den Ende 70783ee4db format config.el with auto-fmt, fix python install
python not found, but python3 was on system. exec-shell-from-path fixes that
2023-01-19 12:49:13 +00:00
Willem van den Ende cb76399847 fix org-roam-db-query missing on startup
requiring org-roam solved it. it stays loaded on doom-reload, so only
shows when starting emacs fresh.
2023-01-19 12:12:17 +00:00
Willem van den Ende 91ae36bb92 Install org-pomodoro, includes fix to reduce org-agenda
if you don't reduce the number of files, org-clock-in does not work.
2023-01-17 22:45:48 +00:00
Willem van den Ende c0379318f1 test for test renaming renamed 2023-01-16 13:43:17 +00:00
Willem van den Ende bdd26a7770 Fix renaming a test and ensure its removal from ert 2023-01-16 12:35:37 +00:00
Willem van den Ende f0a0c53760 refactor-rename uses new-function-name consistently 2023-01-12 22:24:20 +00:00
Willem van den Ende 3617d7e799 own as-function-name, stigmergy in writing tests
stigmergy: We know how to write tests, we know where to find sample
code (s.el) and by applying babysteps we get only what we want.

Function does a bit less than s-dashed-words, it doesn'c change
CamelCase to dashed-case, but does camelcase. But for what we need it is
good enough probably. the regexp in s-dashed-words looked daunting.
2023-01-12 22:18:38 +00:00
Willem van den Ende 0a46429a16 Replace space with dash for function name 2023-01-12 22:14:50 +00:00
Willem van den Ende 91d17742ff leaving slash in place is simple when you change nothing 2023-01-12 22:01:36 +00:00
Willem van den Ende 811b5ae848 intern symbols for good measure 2023-01-12 17:05:00 +00:00
Willem van den Ende bc208a4758 merged changes to my desktop config 2023-01-12 16:51:32 +00:00
Willem van den Ende f1feb7b8db refactor rename plus old stuff 2023-01-12 13:13:44 +00:00