From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Chen Newsgroups: gmane.emacs.help Subject: align-regexp for many column separators Date: Wed, 24 Aug 2011 10:43:04 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636ed6c8c7573bf04ab4154f4 X-Trace: dough.gmane.org 1314247792 25118 80.91.229.12 (25 Aug 2011 04:49:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2011 04:49:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 25 06:49:48 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QwRsx-0004KM-A0 for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Aug 2011 06:49:47 +0200 Original-Received: from localhost ([::1]:33745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwRsr-0000Ef-Du for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Aug 2011 00:49:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwEfc-0007gH-06 for help-gnu-emacs@gnu.org; Wed, 24 Aug 2011 10:43:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwEfb-0005Ng-0N for help-gnu-emacs@gnu.org; Wed, 24 Aug 2011 10:43:07 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:47043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwEfa-0005Nc-Rg for help-gnu-emacs@gnu.org; Wed, 24 Aug 2011 10:43:06 -0400 Original-Received: by gwaa20 with SMTP id a20so976120gwa.0 for ; Wed, 24 Aug 2011 07:43:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=Xl5Pf/ttP4GZW1wBm+AgLIGtpEOTzljdqNrn6Yx7E9M=; b=JP81o76SrgDIEs8f267iKI4G4foJdevJPAp5nkTx6dSSW92FbFqXfjiuxaiQXjHXmN +2+wDZntkqNAoYRrki5JcVzFVdXa6aha3RfZjC3w/YBoczRZCuvEhMx3NdDb7HigRNem C7GdiO82r4prnb1akr2KdetZyhFBFI/77McuM= Original-Received: by 10.101.94.14 with SMTP id w14mr4796026anl.28.1314196985049; Wed, 24 Aug 2011 07:43:05 -0700 (PDT) Original-Received: by 10.100.174.11 with HTTP; Wed, 24 Aug 2011 07:43:04 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.41 X-Mailman-Approved-At: Thu, 25 Aug 2011 00:49:31 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82051 Archived-At: --001636ed6c8c7573bf04ab4154f4 Content-Type: text/plain; charset=UTF-8 Dear there, I would like to align at "&": 1&2&3\\ 1000&2000&3000\\ ==> 1 &2 &3\\ 1000&2000&3000\\ M-x align-regexp only aligns the first "&", i.e., I get 1 &2&3\\ 1000&2000&3000\\ Any suggestions? -- All the best, Michael Chen --001636ed6c8c7573bf04ab4154f4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dear there,
I would like to align at "&":

1&2&a= mp;3\\
1000&2000&3000\\

=3D=3D>

1=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 &2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &3\\
1000&am= p;2000&3000\\


M-x align-regexp only aligns the= first "&", i.e., I get
1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &2&3\\
1000&2000&3000\\<= br>

Any suggestions?

--
All the best,
Michael Chen
=


--001636ed6c8c7573bf04ab4154f4--