From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: dick.r.chiang@gmail.com
Newsgroups: gmane.emacs.devel
Subject: Aligning text into neat columns
Date: Wed, 17 Feb 2021 19:26:32 -0500
Message-ID: <87im6qmdaf.fsf@dick>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="5937"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.91 (gnu/linux)
To: Emacs developers <emacs-devel@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 18 01:28:47 2021
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1lCXBW-0001Ru-RY
	for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Feb 2021 01:28:46 +0100
Original-Received: from localhost ([::1]:47042 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1lCXBV-0000AB-Ui
	for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Feb 2021 19:28:45 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58654)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dick.r.chiang@gmail.com>)
 id 1lCX9Q-0006eq-GT
 for emacs-devel@gnu.org; Wed, 17 Feb 2021 19:26:36 -0500
Original-Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:46958)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <dick.r.chiang@gmail.com>)
 id 1lCX9O-0008T9-V4
 for emacs-devel@gnu.org; Wed, 17 Feb 2021 19:26:36 -0500
Original-Received: by mail-qt1-x82c.google.com with SMTP id b24so195465qtp.13
 for <emacs-devel@gnu.org>; Wed, 17 Feb 2021 16:26:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:user-agent:mime-version;
 bh=iJYjio15gh5QsikaI0olnx31OdRFd8TdO2lxEOzAtvo=;
 b=Bk1i9AtmHrFySNSja2WaCZj3ThrCGKbpCeNWct5H4VvV8iYOnrq8tp6VK6EBVADpn4
 ze9wiBKCF6FEvHjoNJoJgz4H8ijy3HyE6OQF0A7avRvaU3cEyO7bh68QI20QDGnyrkA1
 CMEFjAqEYF+nQ2DGr1QgJpXVhemnk9k/OQ7/d8kE6aCJceZzAB4qNKdfgCUQC8lS9TII
 /QPleWNWQJC2wZhSTKX39U9fBE5ysvknFL4I/q7zcYxJ5QCyfYztslsGJtVyM/qdRP3g
 ZOoffI/zuSURzO0fV529zWYMdegFk6aFAXHCyRlvAKqatFYGMX41ABMG2EhUG72tA8vH
 iYPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:user-agent
 :mime-version;
 bh=iJYjio15gh5QsikaI0olnx31OdRFd8TdO2lxEOzAtvo=;
 b=n8ctJC4xYEMBQbtl5/IxTds7PABxSzuhuB4DkDlIMgUYUdXFDEp3sDvvls6ttPB56I
 T5yCqroIt56U6vywLpiqf5QvFQc21MsYnkkMl4vzWiLrBk574ennx0/oEfQqzt8FYHc2
 wBEVSbrwuB2fXLHTka1xgr/MZbOsNL0rxf2qwghhNI7uB0NUUzFX76xUlwJLvlfrAWm2
 7gCWfL0ju74tTyzySFZANUH5QEeKI0MilyQ9ShpDN23NJdSsoY5b9DiS+cVFAU55ZFmY
 Z3u30Cr9ZZ7z/ROnGhyeYM0/sBrvSHy7IgAdstilsGnbU+cGqSWFTP250ChBRMUlza4E
 F2yA==
X-Gm-Message-State: AOAM531I1UCfSODXkFwawrZdiUgElDDkhJXebnTaspdp+AfofSGWVMQc
 AB6WdHUcYe1SID21AB6gfPtAREL+1XI=
X-Google-Smtp-Source: ABdhPJypgTzRVIuDN9F9ls7NtjfFrtOUWEXIijBPOTBtPYyzkOFxtSB74SNl1LdIK5xjFsUAxhm7EA==
X-Received: by 2002:a05:622a:248:: with SMTP id
 c8mr1932533qtx.122.1613607993059; 
 Wed, 17 Feb 2021 16:26:33 -0800 (PST)
Original-Received: from localhost (pool-71-190-212-171.nycmny.fios.verizon.net.
 [71.190.212.171])
 by smtp.gmail.com with ESMTPSA id k187sm2826883qkc.74.2021.02.17.16.26.32
 for <emacs-devel@gnu.org>
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 17 Feb 2021 16:26:32 -0800 (PST)
Received-SPF: pass client-ip=2607:f8b0:4864:20::82c;
 envelope-from=dick.r.chiang@gmail.com; helo=mail-qt1-x82c.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:265117
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/265117>

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.  I wrote my own, but it wasn't completely
trivial (40 slocs and a lil more than an hour of fiddling).