不知怎的,我打破了填充段落。我不知道如何调试它。这是行为:我有一个带有100个字符的长行的html文件。我想填补这条线,所以我打了可靠的M-q。没有。我检查了填充列变量。它像我期望的那样设置为79。我把缓冲区放在文本模式下。仍然无法正常工作。我尝试基本模式。依然没有。值得注意的是,在python模式下,我做获得预期的行为。有什么建议吗?
答案 0 :(得分:1)
我想通了(knida)。在某些标记中包含文本之前,似乎换行不起作用。例如,在HTML模式下,此行本身不会换行:
This is a long line. Why won't it wrap? Who knows. Maybe today is the day that I will start learning lisp.
...此行也不会换行:
<p>This is a long line. Why won't it wrap? Who knows. Maybe today is the day that I will start learning lisp.
...但这一行确实包装了:
<p>This is a long line. And this line does wrap. I guess it has something to do with the HTML tags.</p>