unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Using :align-to with non-spaces
Date: Wed, 11 Oct 2017 20:47:52 -0400	[thread overview]
Message-ID: <jwvshep8afm.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 83zi8ynf4p.fsf@gnu.org

>> 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




  reply	other threads:[~2017-10-12  0:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-09  5:22 Using :align-to with non-spaces Alex
2017-10-10  6:40 ` Eli Zaretskii
2017-10-10 18:09   ` Alex
2017-10-10 18:27     ` Eli Zaretskii
2017-10-10 19:18       ` Alex
2017-10-10 20:01         ` Eli Zaretskii
2017-10-11  0:41           ` Alex
2017-10-11 10:38             ` Eli Zaretskii
2017-10-12  0:47               ` Stefan Monnier [this message]
2017-10-12  7:10                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvshep8afm.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).