Ihor Radchenko <[email protected]> 2025/12/26 19:29 0800 writes: > What I want to discuss here is the standard markup. Our standard markup > aims to be *intuitive*. That's why it is important to address non-Latin > languages - markup should be intuitive for everyone, not just for people > writing in languages that happen to use spaces. > > So, I'd like to examine various aspects of this proposed new markup > syntax, making sure that we avoid non-intuitive behavior as much as > technically possible.
That makes a lot of sense. If emphasis markup behavior becomes more intuitive, it would certainly help avoid some persistent misunderstandings. I should probably take some time to reflect on this issue as well. > The only remaining potential candidate for changes in syntax is > https://orgmode.org/worg/org-syntax.html#org0bb3335 -- radio links: > > 第一段:*无线电目标(radio target)/ 用三个尖括号定义,例如 > <<<重要提示>>>。文档中任何与该目标名称完全相同的纯文本(如“重要提示”)会自动变成指向该目标的链接。 > > 第二段:定义目标:在段落中写入纯文本“重要提示”,该文本会自动成为链接。更新后,点击重要提示会跳转到目标处。 > > Here is the syntax rule we have now: > > ;; Some languages, e.g., Chinese, do not use spaces to > ;; separate words. Also allow surrounding radio targets with > ;; line-breakable characters. > (before-re "\\(?:^\\|[^[:alnum:]]\\|\\c|\\)\\(") > (after-re "\\)\\(?:$\\|[^[:alnum:]]\\|\\c|\\)") > > We use ?c category, only limiting to Chinese. We should probably use ?| > here as well, to cover Japanese and other languages without spaces. That's good, but if I am not mistaken, we are already using ?|, i.e., \c|.
