From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Using :align-to with non-spaces Date: Wed, 11 Oct 2017 20:47:52 -0400 Message-ID: References: <87zi90yjws.fsf@gmail.com> <83fuarqzd9.fsf@gnu.org> <87mv4ydgcu.fsf@gmail.com> <83lgkiq2nu.fsf@gnu.org> <87fuaqdd6n.fsf@gmail.com> <83bmlepya4.fsf@gnu.org> <871smacy80.fsf@gmail.com> <83zi8ynf4p.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507769336 3296 195.159.176.226 (12 Oct 2017 00:48:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 00:48:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 02:48:53 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2RgB-0008KP-P7 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 02:48:51 +0200 Original-Received: from localhost ([::1]:43183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2RgF-00028C-Tu for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Oct 2017 20:48:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2Rfn-000284-Ko for help-gnu-emacs@gnu.org; Wed, 11 Oct 2017 20:48:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2Rfk-0001eE-9w for help-gnu-emacs@gnu.org; Wed, 11 Oct 2017 20:48:27 -0400 Original-Received: from [195.159.176.226] (port=55279 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2Rfk-0001cp-35 for help-gnu-emacs@gnu.org; Wed, 11 Oct 2017 20:48:24 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1e2RfO-0002dY-JX for help-gnu-emacs@gnu.org; Thu, 12 Oct 2017 02:48:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:xJhGLzZLQ3QXns1FqjyITiciTEs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114553 Archived-At: >> Still, I think that if it's not considered as part of the "text area", >> then there should be some notion of `text area modulo >> prefix/line-numbers' that :align-to/:width (and other parts of display, >> perhaps) could use. FWIW, a notion of text-area modulo prefix would imply a non-rectangular text-area, which I think would be a much bigger problem than what we have now. In this respect, the line-numbers are different (they could be treated as a kind of margin). > level. I'm saying that I'd be more happy if we could push _all_ of > the layout job in those cases into the display engine. If possible, > of course. E.g., if you want to be able to center the text of a > header-line in the window, why not ask the display engine do that for > you? Indeed. Especially to handle the case where the same chunk of text is displayed in several different frames (with different fonts, or with a mix of GUI and tty frames). One thing I'd like to see is a way to perform "right-alignment" for things like tabulated-list-mode. Stefan