I've tried to write some new align rules for emacs and found this strange and inconsistent behaviour. Current buffer contents:
"some thing" like => this
hello => world
and => again
After typing M-xalign-regexp
RET[[:lower:]]+(s-+)=>
RET result looks as desired:
"some thing" like => this
hello => world
and => again
But after C-uM-xalign-regexp
RET[[:lower:]]+(s-+)=>
RET1
RET1
RETy
RET I get this instead:
"some thing" like => this
hello => world
and => again
The same (wrong) thing happens if I put this into align-rules-list
. How to fix this? I want to get the results like first.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…