Skip to content

chore: Add Windows support#18

Merged
shackra merged 6 commits into
masterfrom
shackra/windows-support
May 16, 2026
Merged

chore: Add Windows support#18
shackra merged 6 commits into
masterfrom
shackra/windows-support

Conversation

@shackra

@shackra shackra commented Apr 20, 2026

Copy link
Copy Markdown
Owner

Activate performance improvements and other goodies in Emacs for using it on Windows. A batch script is implemented for running backpack ensure and other commands just like in GNU/Linux :)

This PR modifies the backpack-treesit-recipe! macro to pin grammars based on the ABI they have compatibility with, instead of the Emacs version.

@shackra shackra self-assigned this Apr 20, 2026
@shackra shackra force-pushed the shackra/windows-support branch 4 times, most recently from f00d806 to d635bd0 Compare May 11, 2026 19:09
shackra added 4 commits May 12, 2026 11:45
Windows batch CLI mirrors Unix backpack (ensure, gc, bench); avoid env names that shadow Emacs emacs_dir.

Add A/B benchmark harness under test/benchmark; hook bin/backpack and AGENTS.

:os windows gear tunes pipes, LSP-sized buffers, NTFS stat, display, and resolves POSIX bash via backpack--windows-posix-bash-executable (skip Store shim). Emacs 29.x gets windows-legacy leaf.
Advice make-process replaces eat's /usr/bin/env sh bootstrap with Git/MSYS
bash. Patch stty script: quote $1 in the shift test, wrap stty with || true
for pipe IPC, pass bash +m. Exec inner shell as argv tokens so paths with
spaces are not split by sh -c.
@shackra shackra force-pushed the shackra/windows-support branch from d635bd0 to 48c7c76 Compare May 12, 2026 17:45
shackra added 2 commits May 16, 2026 12:54
- gc-cons-threshold 64 MiB (16 MiB too aggressive for LSP bursts)
- w32-disable-abort-dialog (prevent zombie crash dialogs)
- create-lockfiles nil (NTFS symlink emulation overhead)
- jit-lock-defer-time 0.05 (reduce font rendering stutter)
- global-so-long-mode (long-line protection, 2-3× slower on Windows)
@shackra shackra merged commit 9ef63a2 into master May 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant