Skip to content

Refactor redraw hooks#494

Open
emil-e wants to merge 1 commit into
dakra:mainfrom
emil-e:refactor-redraw-hooks
Open

Refactor redraw hooks#494
emil-e wants to merge 1 commit into
dakra:mainfrom
emil-e:refactor-redraw-hooks

Conversation

@emil-e

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

Copy link
Copy Markdown
Collaborator

Summary

  • introduce an around-redraw pipeline for redraw-time behavior
  • move line-mode redraw preservation into a buffer-local around hook
  • move redraw inhibition and password detection into redraw wrappers
  • add a follow-up plan for mode-owned redraw policy

Verification

  • byte-compiled lisp/ghostel-line-mode.el and lisp/ghostel.el
  • ran focused around-redraw, line-mode, IME inhibit, and hidden-buffer redraw tests

Notes

  • An independent review noted a low-priority missing cross-file defvar declaration for ghostel--around-redraw-functions in ghostel-line-mode.el; left as-is per PR packaging scope.

@emil-e emil-e force-pushed the refactor-redraw-hooks branch 2 times, most recently from 76eef10 to 1f53dae Compare July 1, 2026 07:39
@emil-e emil-e force-pushed the refactor-redraw-hooks branch from 1f53dae to 77df9f2 Compare July 1, 2026 07:59
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