chore: Add Windows support#18
Merged
Merged
Conversation
f00d806 to
d635bd0
Compare
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.
d635bd0 to
48c7c76
Compare
- 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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Activate performance improvements and other goodies in Emacs for using it on Windows. A batch script is implemented for running
backpack ensureand 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.