help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: align multiple regexp in one line


From: Fabian Braennstroem
Subject: Re: align multiple regexp in one line
Date: Wed, 31 Dec 2008 16:39:52 +0100
User-agent: slrn/0.9.8.1pl1 (Debian)

Hi Scott,
* Scott Frazer <frazer.scott@gmail.com> wrote:
> On Dec 31, 2:32 am, Fabian Braennstroem <f.braennstr...@gmx.de> wrote:
>> Hi,
>>
>>     I am trying to align lines with several characters, e.g.
>>     a comma separated list, with align-regexp.
>>     The line looks like:
>>     word1, word2 , word3, word5
>>     wordasdf1, wordasdlfk2 , wordasdlf3, word5
>>
>>     Marking and using 'align-regexp ,' would just create the alignment 
>> according to the first comma.
>>     Is there a function, which aligns the whole region?
>>
>
> C-u M-x align-regexp \(\s-*\),RET RET RET y
Thanks! Works nice!

Greetings!
 Fabian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]