all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* align.el:  how to align space delimited text tables?
@ 2002-12-19 20:54 Benjamin Rutt
  2002-12-19 22:31 ` John Wiegley
  2002-12-20 17:36 ` Kevin Rodgers
  0 siblings, 2 replies; 7+ messages in thread
From: Benjamin Rutt @ 2002-12-19 20:54 UTC (permalink / raw)


I have a buffer in text-mode that I'd like to align using align.el.
Here are the contents:

    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

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?

BTW, I'm using the align.el that comes with Emacs 21.
-- 
Benjamin

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: align.el:  how to align space delimited text tables?
@ 2002-12-20  9:29 Victor Kirk
  0 siblings, 0 replies; 7+ messages in thread
From: Victor Kirk @ 2002-12-20  9:29 UTC (permalink / raw)



>    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

> 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?

Try googling for ws-align.el by Matthias Helmling, this 
provides align-cols which does exactly what you want.

--
Vic
This message, including attachments, is intended only for the use by the
person(s) to whom it is addressed. It may contain information which is
privileged and confidential. Copying or use by anybody else is not
authorised. If you are not the intended recipient, please contact the sender
as soon as possible. The views expressed in this communication may not
necessarily be the views held by Serco Integrated Transport.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-12-20 17:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-19 20:54 align.el: how to align space delimited text tables? Benjamin Rutt
2002-12-19 22:31 ` John Wiegley
2002-12-20  1:18   ` Miles Bader
     [not found]   ` <mailman.448.1040347168.19936.help-gnu-emacs@gnu.org>
2002-12-20  2:18     ` Benjamin Lewis
2002-12-20  8:34     ` John Wiegley
2002-12-20 17:36 ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2002-12-20  9:29 Victor Kirk

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.