Templates 如何在emacs中的函数或类之前添加这样的注释

Templates 如何在emacs中的函数或类之前添加这样的注释,templates,emacs,Templates,Emacs,在谷歌搜索之后,我仍然找不到一个答案:如何在emacs中做到这一点 /** @mainpage * * This document details . * * * @section ma_ * @image html * * @section si_ * @image html * */ class xxx { }; 您要添加的部分是什么?只要/**/,或者两者之间的所有内容?添加/**/part。您要添加的部分是什么?只是/**/,或者介于两者之间

在谷歌搜索之后,我仍然找不到一个答案:如何在emacs中做到这一点

/** @mainpage 
 *
 *  This document details .
 *
 *
 *  @section ma_ 
 *  @image html 
 *
 *  @section si_ 
 *  @image html 
 *
 */

class xxx {
};

您要添加的部分是什么?只要
/**/
,或者两者之间的所有内容?添加/**/part。您要添加的部分是什么?只是
/**/
,或者介于两者之间的所有内容?添加/**/part。