unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: dick.r.chiang@gmail.com
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Aligning text into neat columns
Date: Thu, 18 Feb 2021 00:41:07 +0000	[thread overview]
Message-ID: <87k0r6us0s.fsf@tcd.ie> (raw)
In-Reply-To: <87im6qmdaf.fsf@dick> (dick.r.chiang@gmail.com's message of "Wed,  17 Feb 2021 19:26:32 -0500")

dick.r.chiang@gmail.com writes:

> Seems like there ought to be facile way to take:
>
> Fred (123) 456-7890
> Alice (123) 456-7890
> Mary-Anne (123) 456-7890
>
> and realigns to:
>
> Fred      (123) 456-7890
> Alice     (123) 456-7890
> Mary-Anne (123) 456-7890
>
> Googling suggests libraries `align`, `tabulated-list`, and `table`, but none
> of these got the job done for me.

M-x align-regexp RET SPC RET is one possibility in this example;
there are probably others.

-- 
Basil



  reply	other threads:[~2021-02-18  0:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18  0:26 Aligning text into neat columns dick.r.chiang
2021-02-18  0:41 ` Basil L. Contovounesios [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-18  0:40 dick.r.chiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0r6us0s.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=dick.r.chiang@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).