Skip to content

fix(org): leftover file+emacs and file+sys plain links - #495

Merged
HaoZeke merged 3 commits into
mainfrom
leftover/org-file-plus
Sep 15, 2026
Merged

HaoZeke merged 3 commits into
mainfrom
leftover/org-file-plus

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • org-element leftover walkers for file+emacs: and file+sys: at column 0.
  • Those prefixes are matched before file: so +emacs / +sys is not eaten as the path.
  • Leftover after the path hangs as Prose and still splits. Following flush prose still splits.

Test plan

  • cargo test --test org_file_token_punct leftover_file on the remote builder

org-element file+emacs: and file+sys: must be matched before file:
or the +… is eaten as the path. Leftover after the path hangs Prose
and still splits.
@HaoZeke
HaoZeke enabled auto-merge (squash) September 15, 2026 18:21
Do not glue a leftover-backtick capital onto a period even when a
paren is still open. First pass of =(a=.`Aa must emit the newline
that the second pass keeps. Still skip inventing space for `.`` `
latex quotes.
piece_starts_sentence_after_ticks treated any capital as after ticks,
so '!! plus A'A and dialogue quotes stopped merging. Require at least
one leading backtick.
@HaoZeke
HaoZeke merged commit 30a8957 into main Sep 15, 2026
24 checks passed
@HaoZeke
HaoZeke deleted the leftover/org-file-plus branch September 15, 2026 18:43
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