Skip to content

Preserve Ghostel anchoring across font scaling#503

Merged
emil-e merged 4 commits into
dakra:mainfrom
emil-e:agent/anchor-font-scale
Jul 2, 2026
Merged

Preserve Ghostel anchoring across font scaling#503
emil-e merged 4 commits into
dakra:mainfrom
emil-e:agent/anchor-font-scale

Conversation

@emil-e

@emil-e emil-e commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add shared helpers for finding visible Ghostel windows and anchored windows
  • force size adjustment after leaving copy/read-only mode
  • preserve bottom anchoring when text/global font scaling changes terminal geometry
  • add a small agent-output script for manual anchoring tests

Verification

  • emacs --batch -Q -L lisp --eval "(setq byte-compile-error-on-warn t)" -f batch-byte-compile lisp/ghostel.el
  • emacs --batch -Q -L lisp -L test -l ert -l test/ghostel-test-helpers.el -l test/ghostel-modes-test.el --eval "(ert-run-tests-batch-and-exit '(not (tag native)))"
  • emacs --batch -Q -L lisp -L test -l ert -l test/ghostel-test-helpers.el -l test/ghostel-terminal-test.el --eval "(ert-run-tests-batch-and-exit '(not (tag native)))"
  • emacs --batch -Q -L lisp -L test -l ert -l test/ghostel-test-helpers.el -l test/ghostel-scroll-test.el --eval "(ert-run-tests-batch-and-exit '(not (tag native)))"
  • checkdoc on lisp/ghostel.el
  • bash -n tools/agent-output.sh
  • smoke run of tools/agent-output.sh
  • git diff --check

@emil-e
emil-e merged commit 28b39a6 into dakra:main Jul 2, 2026
22 checks 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