From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: splash screen column alignment Date: Tue, 01 Jun 2021 18:30:17 +0300 Message-ID: <83tumhzjp2.fsf@gnu.org> References: <87fsy1mziq.fsf@Proteus> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22398"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Joe Corneli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 01 17:31:38 2021 Return-path: 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 ) id 1lo6Mj-0005ch-SH for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Jun 2021 17:31:37 +0200 Original-Received: from localhost ([::1]:47002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo6Mi-0000Rk-TE for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Jun 2021 11:31:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo6Lh-0006nf-4e for emacs-devel@gnu.org; Tue, 01 Jun 2021 11:30:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60636) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo6Lg-0004Fe-S1; Tue, 01 Jun 2021 11:30:32 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3142 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo6Le-0000c3-3z; Tue, 01 Jun 2021 11:30:32 -0400 In-Reply-To: <87fsy1mziq.fsf@Proteus> (emacs-devel@gnu.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270207 Archived-At: > Date: Tue, 01 Jun 2021 15:26:53 +0100 > From: Joe Corneli via "Emacs development discussions." > > Depending on the size of the font I use, alignment of the text in the > *GNU Emacs* buffer (which is done with single tabs) may or may not work > properly. I’ve found this would be fixed by starting with 2 tabs > separating the columns, and then running: > > (align-regexp (point-min) (point-max) "\\(\t\\)[A-Z]") > > as part of the construction of the buffer. IMO, align-regexp is overkill for this. We should simply use :align-to display spec there, which is a core feature that doesn't need to load any Lisp. Thanks.