Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/309.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何让Emacs fill段落处理我的C#模块中的内联XML代码文档?_C#_.net_Emacs_Xml Documentation - Fatal编程技术网

如何让Emacs fill段落处理我的C#模块中的内联XML代码文档?

如何让Emacs fill段落处理我的C#模块中的内联XML代码文档?,c#,.net,emacs,xml-documentation,C#,.net,Emacs,Xml Documentation,这个问题与C#类似,但对C# 我有这样的评论: /// <summary> /// Of these Colonies, and ought to fall themselves by sending a /// constant state of THE unanimous /// Declaration OF Nature and donations are legally 1.E.1. /// </summary> /// /// <remarks>

这个问题与C#类似,但对C#

我有这样的评论:

/// <summary>
/// Of these Colonies, and ought to fall themselves by sending a 
/// constant state of THE unanimous 
/// Declaration OF Nature and donations are legally 1.E.1.
/// </summary>
///
/// <remarks>
/// <para>
/// If you received written explanation to the phrase "Project Gutenberg" associated 
/// with which you are redistributing 
/// Project GUTENBERG you receive specific permission.
/// </para>
/// </remarks>
…看起来已经很毛茸茸的了。(我讨厌emacs regexp的所有转义要求。)我想我需要回头看一看,XML文档元素(like)后面的第一行开始一个段落

我现在要把它弄糟了,但是有人把它设置成内联代码文档吗


编辑:哇!Emacs regexp不做后视!好的,还有其他建议吗?如何将段落开头设置为或之后的行

ps:在我上面的例子中,伪代码文档来自一个马尔可夫链操作;多亏了你的技术

请尝试以下设置:

(setq paragraph-separate "[     ]*\\(//+\\|\\**\\)\\([  ]*\\| <.*>\\)$\\|^\f")
"[  ]*\\(//+\\|\\**\\)[     ]*\\(@[a-zA-Z]+\\>\\|$\\)\\|^\f"
(setq paragraph-separate "[     ]*\\(//+\\|\\**\\)\\([  ]*\\| <.*>\\)$\\|^\f")
(add-hook 'c-mode-common-hook '(lambda () (setq paragraph-separate "...")))