From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Horizontal centering in the display engine Date: Wed, 14 Apr 2021 10:04:21 -0400 Message-ID: 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="11662"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: sbaugh@catern.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 14 16:07:09 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 1lWgAf-0002ua-8C for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Apr 2021 16:07:09 +0200 Original-Received: from localhost ([::1]:46194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWgAe-0005pi-5P for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Apr 2021 10:07:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWg89-0004Rd-8Q for emacs-devel@gnu.org; Wed, 14 Apr 2021 10:04:33 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:22417) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWg86-0007vU-Td for emacs-devel@gnu.org; Wed, 14 Apr 2021 10:04:32 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9CE878089B; Wed, 14 Apr 2021 10:04:28 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 325ED80379; Wed, 14 Apr 2021 10:04:23 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1618409063; bh=rrnNdX2MffoUTl5k6gHazLfNNKl1jsu/M2pggnGtvBE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Ww3WUsi4s2fXcAcDlRMf0RMeqv3RlXDFfoWMWU1q7TTh6c4yUQvGwD8r0QucL5f9q NoBnpKwRqug1jAo6go6yRrDRfMoqAajS6r3Vj5EwOZXLdEItGHgWdJrIkeMTVEyRfb ecLe1NmczKsiECNykVNDcY+9iIUoOn22L4DEV5F7KJT/GmmyA8g7/JJsEBXkDUpLoU f4NITcEMe00R36myqiHf2/H/swe7hR7Fm0m6/iJ5tBA+QUbMW7e2qYPzs7H4jfNpiO a8uaKtxpDXD+XaQjTvE8iMKYi5CSjqR0h5bbhGmusi6sjl2kSI/xwLtXAIzXG/Gd9P 22pZoaAKnpUVA== Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 03B8B120147; Wed, 14 Apr 2021 10:04:22 -0400 (EDT) In-Reply-To: <87tuo9uh9m.fsf@catern.com> (sbaugh@catern.com's message of "Wed, 14 Apr 2021 09:28:53 -0400") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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." 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:268045 Archived-At: > 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. 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). Stefan