我尝试为 emacs 编写一些新的对齐规则,并发现这种奇怪且不一致的行为。当前缓冲区内容:
"some thing" like => this
hello => world
and => again
键入M-xalign-regexp
RET[[:lower:]]+\(\s-+\)=>
RET结果后看起来如所愿:
"some thing" like => this
hello => world
and => again
但是在C-uM-xalign-regexp
RET[[:lower:]]+\(\s-+\)=>
RET1
RET1
RETy
RET我得到这个之后:
"some thing" like => this
hello => world
and => again
如果我将它放入align-rules-list
. 如何解决这个问题?我想先得到结果。