【发布时间】:2012-10-19 12:40:54
【问题描述】:
我尝试为 emacs 编写一些新的对齐规则,但发现这种奇怪且不一致的行为。当前缓冲区内容:
"some thing" like => this
hello => world
and => again
在输入 M-xalign-regexpRET[[:lower:]]+\(\s-+\)=>RET 后,结果看起来如所愿:
"some thing" like => this
hello => world
and => again
但是在C-uM-xalign-regexpRET[[:lower:]]+\(\s-+\)=>RET1RET之后1RETyRET 我得到了这个:
"some thing" like => this
hello => world
and => again
如果我把它放到align-rules-list 中,也会发生同样的(错误的)事情。如何解决这个问题?我想先得到结果。
【问题讨论】: