From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabian Braennstroem Newsgroups: gmane.emacs.help Subject: Re: align multiple regexp in one line Date: Wed, 31 Dec 2008 16:39:52 +0100 Organization: www.braennstroem.de Message-ID: References: <878eea8c-88f1-4b42-a8ad-d755b8a762e4@r24g2000vbp.googlegroups.com> Reply-To: f.braennstroem@gmx.de NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1230741685 25396 80.91.229.12 (31 Dec 2008 16:41:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2008 16:41:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 31 17:42:32 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LI49F-0001aD-4f for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Dec 2008 17:42:21 +0100 Original-Received: from localhost ([127.0.0.1]:41322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LI481-0005ky-6B for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Dec 2008 11:41:05 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2!feeder.erje.net!news.netcologne.de!newsfeed-fusi2.netcologne.de!newsfeed.r-kom.de!news-nue1.dfn.de!news-stu1.dfn.de!news-2.dfn.de!sycamore.fernuni-hagen.de!news.fernuni-hagen.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: g227069059.adsl.alicedsl.de Original-X-Trace: sycamore.fernuni-hagen.de 1230737992 9542 92.227.69.59 (31 Dec 2008 15:39:52 GMT) Original-X-Complaints-To: newsadmin@fernuni-hagen.de Original-NNTP-Posting-Date: Wed, 31 Dec 2008 15:39:52 +0000 (UTC) User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Xref: news.stanford.edu gnu.emacs.help:165665 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61000 Archived-At: Hi Scott, * Scott Frazer wrote: > On Dec 31, 2:32 am, Fabian Braennstroem 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