From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.help Subject: Re: align.el: how to align space delimited text tables? Date: Thu, 19 Dec 2002 15:31:37 -0700 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <8765tp4p4m.fsf@alice.dynodns.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040337395 12146 80.91.224.249 (19 Dec 2002 22:36:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2002 22:36:35 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18P9HO-00039k-00 for ; Thu, 19 Dec 2002 23:36:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18P9GI-0007ND-0A for gnu-help-gnu-emacs@m.gmane.org; Thu, 19 Dec 2002 17:35:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help X-Public-Key: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xF40524D0 X-Home-Page: http://www.gci-net.com/users/j/johnw/ User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:ViOBiIVviRAtjLhfbme4E9uNyGQ= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 16 Original-Xref: shelby.stanford.edu gnu.emacs.help:108311 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4840 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4840 >>>>> On Thu Dec 19, Benjamin writes: > I'd like to align the fields to the following: > max 4096 cs 70 ap_mp 9 t 55% np 63 ap 63 max 6291.456 cs 70 > ap_mp 9 t 55% np 63 ap 63 max 8192 cs 70 ap_mp 9 t 55% np 63 ap 63 > Anyone have a good recipe for this? Without a delimiter, there is no way for align.el to figure this out. It is only regexp based, not a true parser. It will align TeX tables, for example, because those use & as a delimiter. John