我正在为我在工作中使用的APL方言编写一个Emacs主要模式.我已经获得了基本的字体锁定功能,在设置了comment-start和comment-start-skip之后,注释/取消注释区域和填充段落也起作用.
但是,注释块通常包含javadoc样式注释,我想填充段落,以避免从这些命令开始粘合行.
如果我有这个(\而不是javadoc @):
# This is a comment that is long and should be wrapped.
# \arg Description of argument
# \ret Description of return value
Run Code Online (Sandbox Code Playgroud)
Mq给了我:
# This is a comment that is long and
# should be wrapped. \arg Description
# of argument \ret Description of
# return value
Run Code Online (Sandbox Code Playgroud)
但我想要:
# This is a comment that is long and
# should be wrapped.
# \arg Description of argument
# \ret Description of return value
Run Code Online (Sandbox Code Playgroud)
我已经尝试将paragraph-start和paragraph-separate设置为适当的值,但fill-paragraph仍然在注释块中不起作用.如果我删除注释标记,Mq按我想要的方式工作,所以我用于段落启动的正则表达式似乎有效.
我是否必须为主要模式编写自定义填充段?cc模式有一个处理这样的情况,但它真的很复杂,我想尽可能避免它.
我正在尝试在Linux上使用fdb(flex SDK附带的flash调试器)调试swf.从终端进行调试可以正常工作,但如果我是从Emacs中进行调试的话
M-x gdb
fdb -f myswf.swf RET
Run Code Online (Sandbox Code Playgroud)
一旦发出任何命令(例如"help"或"c"),fdb似乎就会挂起.我在fdb缓冲区中没有输出,并且flash播放器挂起等待调试器.
这个页面似乎表明使用带有gd-mode的fdb应该是可能的,还有其他人有运气吗?