Native ASCII export matching ox-ascii !417

merged merged by cmc on 2026-11-20 22:48 UTC · krz/orgstar:parity-ascii into main

Discussion

cmc

Milestone M8 of docs/plans/2026-11-20-parity.md.

  • ASCIIExport writes the same text as ox-ascii in the ascii, latin1 and utf-8 charsets: title block, TOC, numbered headings with underlines, footnotes, tables, lists, :justify, #+ATTR_ASCII, ASCII_CHARSET and #+OPTIONS.
  • "Export to Plain Text (ASCII)" is native in every build: File ▸ Export, the export sheet, the iOS export menu and publishing (org-ascii-publish-to-ascii). "Export to Plain Text" (the attributed-string text) is unchanged.
  • Input it can't write as Emacs would is refused with "Can't export to plain text: "; the download version then falls back to Emacs.
  • iCalendar's use of ASCIIText is unchanged.

Whole documents per charset, body-only and subtree are compared with emacs -Q. swift test passes; macOS (APPSTORE) and iOS builds compile.