From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: sbaugh@catern.com Newsgroups: gmane.emacs.devel Subject: Re: Horizontal centering in the display engine Date: Wed, 14 Apr 2021 11:22:29 -0400 Message-ID: <87k0p4vqkq.fsf@catern.com> References: <87fszuvy7p.fsf@catern.com> <83czuy112a.fsf@gnu.org> <877dl6vvax.fsf@catern.com> <83blai0y3i.fsf@gnu.org> <8735vtx62w.fsf@catern.com> <8335vt1hiw.fsf@gnu.org> <87tuo9uh9m.fsf@catern.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30219"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:aojwiU+FJFFTsW/kZ+cBAOU5DdU= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 14 17:23:37 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 1lWhMe-0007iu-O1 for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Apr 2021 17:23:36 +0200 Original-Received: from localhost ([::1]:34808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWhMd-0003pY-Nj for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Apr 2021 11:23:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWhLj-0003O4-5V for emacs-devel@gnu.org; Wed, 14 Apr 2021 11:22:39 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:36738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWhLh-0006kj-S0 for emacs-devel@gnu.org; Wed, 14 Apr 2021 11:22:39 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lWhLf-00063m-Rj for emacs-devel@gnu.org; Wed, 14 Apr 2021 17:22:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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." 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:268054 Archived-At: Stefan Monnier writes: >> I want this centering display to be handled by the display engine, as >> other similar things are. > > Another way to say it is that you want it to work even when the buffer > is displayed simultaneously in two different windows of different sizes > and using different default faces. Ah, yes, precisely! > The current display engine doesn't know how to do that. While I'm not > personally very interested in centering text in the window, I'd be very > happy to see improvements in this area of the display engine (the part > I'm interested in is for tabular display where :align-to doesn't really > work for right-aligned columns). Hmm... is there a single change that would allow both that and the text-centering I want?