Emacs Lisp:多个注释起始值

Emacs Lisp: Multiple comment-start values

Emacs 主模式下是否可以有多个注释开始字符串?我正在查看一些 VB 代码,其中包含单引号注释和 "REM" 注释。

是的。例如,C 和 C++ 模式。

参见 Elisp 手册,节点 Syntax Class Table。这是评论语法的相关部分:

Comment starters: <

Comment enders: >

Characters used in various languages to delimit comments. Human text has no comment characters. In Lisp, the semicolon (;) starts a comment and a newline or formfeed ends one.

(您需要阅读更多关于指定语法的内容 类,以配置您自己的评论行为。)

仅供参考,我在手册中使用 i 找到了手册的这个节点:i comment TAB.