Skip to content

Fix drains-in-chunks link detection test - #732

Merged
dakra merged 1 commit into
dakra:mainfrom
Elbonia:fix-drains-in-chunks-test
Oct 12, 2026
Merged

dakra merged 1 commit into
dakra:mainfrom
Elbonia:fix-drains-in-chunks-test

Conversation

@Elbonia

@Elbonia Elbonia commented Oct 12, 2026 •

Copy link
Copy Markdown

ghostel-test-plain-link-detection-drains-in-chunks fails consistently on current main.

The plain link scan widens each chunk back to the start of its soft-wrapped logical line, so the final tick's region can begin before the raw chunk offset. The test asserted that the last region starts exactly at point-min; it now compares point-min against ghostel--soft-wrap-line-beginning of that region's start instead.

Test-only change; no behavior change in lisp/.

Testing: ran the test 5× in batch Emacs with and without this change: fails 5/5 without, passes 5/5 with.

🤖 Generated with Claude Code

@Elbonia
Elbonia force-pushed the fix-drains-in-chunks-test branch 2 times, most recently from 15b5ae9 to 5367b28 Compare October 12, 2026 08:25
The plain link scan widens each chunk back to the start of its
soft-wrapped logical line, so the final tick's region can begin before
the raw chunk offset.  Compare point-min against the widened line
beginning of the last region instead of the raw chunk start.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dakra
dakra force-pushed the fix-drains-in-chunks-test branch from 5367b28 to 1c629b5 Compare October 12, 2026 09:48
@dakra
dakra merged commit 1c629b5 into dakra:main Oct 12, 2026
@dakra

dakra commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Thanks. Merged.

This branch was previously deployed

1 inactive deployment
github-pages — 1c629b56 Deployed Oct 12, 2026 by dakra via deploy #213
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.

2 participants