[1297] 仅对文档缓冲区生成 stem-doc-id - #4546
Open
da-liii wants to merge 3 commits into
Open
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
PinkMagicFly
approved these changes
Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
任务简述
仅对文档缓冲区生成
stem-doc-id。对于.ts或者实际上是样式的.stem,不填入stem-doc-id。主要变动
tm-files.scm中实现style-buffer?与document-buffer?,结合.ts后缀、样式包导出草稿、source样式特征以及文档树源码标记综合判定;auto-backup-buffer-eligible?排除样式缓冲区,新增auto-backup-clear-buffer-doc-id!在样式缓冲区保存时清理残留的 doc id,避免静默写入源文件;three-columns.ts中误写入的stem-doc-id;tm-files-test.scm中增加对.ts样式、.stem样式包、.stem文档和.tmu文档的判定与 doc id 行为测试。详见
devel/1297.md。