I'm trying to align
4000 1 2 4000 1 2
11 1 44 => 11 1 44
1 0000 999 1 0000 999
as described at http://emacswiki.org/emacs/AlignCommands
However, typing in C-u M-x align-regexp
, and accepting all defaults, makes no modifications - my emacs minibuffer is just stuck on Repeat throughout line? (y or n) y
and I need to press C-g
. Am I using the command incorrectly or is there something wrong with my emacs (emacs version 22.1.1)
y
. Can you replicate this problem in anemacs -Q
session? Also, runningC-u M-x align-regexp
with all default values except the last one (y
) will not give you the result you are looking for. You will need to modify the first value too.. simply append[0-9]+
to the default regexp. – Kaushal Modi Oct 01 '15 at 04:03y
in that last prompt. – Kaushal Modi Oct 01 '15 at 10:49