From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: "Basil L. Contovounesios" <contovob@tcd.ie>
Newsgroups: gmane.emacs.devel
Subject: Re: Aligning text into neat columns
Date: Thu, 18 Feb 2021 00:41:07 +0000
Message-ID: <87k0r6us0s.fsf@tcd.ie>
References: <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="25899"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Cc: Emacs developers <emacs-devel@gnu.org>
To: dick.r.chiang@gmail.com
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 18 01:43:33 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 1lCXPo-0006dp-8g
	for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Feb 2021 01:43:32 +0100
Original-Received: from localhost ([::1]:51594 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 1lCXPn-0003XN-BI
	for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Feb 2021 19:43:31 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60500)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <contovob@tcd.ie>) id 1lCXNc-0002V6-Lx
 for emacs-devel@gnu.org; Wed, 17 Feb 2021 19:41:16 -0500
Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:39076)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <contovob@tcd.ie>) id 1lCXNX-00042D-JG
 for emacs-devel@gnu.org; Wed, 17 Feb 2021 19:41:16 -0500
Original-Received: by mail-wr1-x431.google.com with SMTP id v1so742707wrd.6
 for <emacs-devel@gnu.org>; Wed, 17 Feb 2021 16:41:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=Em08k2RQuNtoIdmdH9HFhsM32G3yh5rxWm2cSslik1A=;
 b=KvadGw1m5I94ds+2aPDZ5nqisF2nvbPAdq2uPpQiIXYVst6W2d+K9IXmVMixCp0hsb
 W32eaI35vH/IkZehIFwOcG3qqjdK1mh5Wkofz2VnpdcCuQFyKD17uIhUqTKMoksxmj4B
 71AwgMAX6FgoHhR00DoGDhw8/bY6OSma+pijpIKUMZ+0M00SPZto4I7N+GjuulP88Ayt
 oLi5YgpBqmmKuYhXUxsWxsKM7Wj7Tg2e25nbiveVgdaOxX+ikAy0DRGWtRpz0nLn9/Hr
 lqixbZ3svel5H7vA005bpPEAocNEJCJhKQ78LSb38C+XDzAwlmWiAoD6XLRCo809+AsQ
 Kamg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=Em08k2RQuNtoIdmdH9HFhsM32G3yh5rxWm2cSslik1A=;
 b=AWLFLkmQM996ZmXzyrQfqAHmkVrmoURYzYQ46tWfuLFqY8vQMosHwQC0RCFFVzvg+8
 ipOEJqKyitva3PpJOm7p2v9oD8ydXA+sfHQL61wqLG4E4A3yMnYVvR9sodSv9bnIIDrR
 QwHl0jhu7RpzV12RExQcw61Bb1bdi/vcB2BgvzCltl5rnWOOjGvlDCotDn+M4XAQpirF
 nHF4fYqLKPN1r+T8eh8CoeY3RRMq4Sz8850Ak+MZX3VZfPqLfVgoga3AD3CS94SGAGFf
 KOd/PxKT6femAKSs9f6Pb+ZICk+JsxbVQPLKlNEOXB2jTcIE8+Jt9fDetZ3u47SwAS2+
 bk2w==
X-Gm-Message-State: AOAM531cJwAx3RDMLqEjXToneIzCvI2WfrMaj68yvNiKfGgMnqAcIKII
 790MoDGoCQcWBFTO4/mTjjtCsg==
X-Google-Smtp-Source: ABdhPJxAL2p4arnDLWYU64cUQuPeRQhjW+yKzwfSJNJQNglKZ9/RgX5ZD8rquY4PBvVKLMSsRgBl7w==
X-Received: by 2002:adf:b60f:: with SMTP id f15mr1684152wre.83.1613608869348; 
 Wed, 17 Feb 2021 16:41:09 -0800 (PST)
Original-Received: from localhost ([2a02:8084:20e2:c380:6d2d:c2fa:f3fa:cabd])
 by smtp.gmail.com with ESMTPSA id c6sm5804988wrt.26.2021.02.17.16.41.08
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 17 Feb 2021 16:41:08 -0800 (PST)
In-Reply-To: <87im6qmdaf.fsf@dick> (dick.r.chiang@gmail.com's message of "Wed, 
 17 Feb 2021 19:26:32 -0500")
Received-SPF: none client-ip=2a00:1450:4864:20::431;
 envelope-from=contovob@tcd.ie; helo=mail-wr1-x431.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,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_NONE=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:265119
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/265119>

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