in reply to Emacs cperl-mode: how to line up middles of rows?

I have used the align-regex function in several buffer modes.

Select your region. M-x align-regex . Press the '=' key. Press the 'Enter' key.
  • Comment on Re: Emacs cperl-mode: how to line up middles of rows?

Replies are listed 'Best First'.
Re^2: Emacs cperl-mode: how to line up middles of rows?
by swampyankee (Parson) on Feb 03, 2006 at 16:20 UTC

    It's probably a useful idea to set align-indent-before-aligning t (true) before using align-regexp, otherwise it may muck up the code indentation.

    emc

    " When in doubt, use brute force." — Ken Thompson