Commit Graph

2 Commits

Author SHA1 Message Date
Jens Luedicke
8644b5c469 Optimize configuration reload to prevent UI freezing
Implemented non-blocking reload mechanism that processes files
incrementally during idle time to prevent Emacs from freezing.

Changes:
- New default reload-emacs-config: Non-blocking with idle timers
- reload-emacs-config-blocking: Original blocking version
- reload-emacs-config-fast: Uses byte-compiled files for speed
- reload-emacs-config-smart: Only reloads recently changed files
- reload-current-file: Quick reload of current .el file only

Keybindings:
- C-c C-r: Non-blocking reload (new default)
- C-u C-c C-r: Blocking reload (old behavior)
- C-c r: Reload current file
- C-c R: Fast byte-compiled reload

This fixes the lag issue during configuration reload by loading
files one at a time with 0.01s idle gaps between them.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 14:59:43 +02:00
4ba2472236 Add CLAUDE.md for Claude Code guidance
Added comprehensive documentation for Claude Code instances working with this
Emacs configuration, including:
- Core commands for configuration management and emergency fixes
- High-level architecture overview and module organization
- Key operational notes about CUA mode, completion system, and keybindings

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 07:40:57 +02:00