all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mark Oteiza <mvoteiza@udel.edu>
Cc: 27895@debbugs.gnu.org
Subject: bug#27895: 26.0.50; display-line-numbers and header-line-format alignment
Date: Tue, 01 Aug 2017 06:35:00 +0300	[thread overview]
Message-ID: <837eyo0xln.fsf@gnu.org> (raw)
In-Reply-To: <87zibkax3f.fsf@holos> (message from Mark Oteiza on Mon, 31 Jul 2017 21:35:48 -0400)

> From: Mark Oteiza <mvoteiza@udel.edu>
> Date: Mon, 31 Jul 2017 21:35:48 -0400
> 
> Enabling display-line-numbers should affect how header-line-format is
> shown.

I'm not sure I agree with this, not in this general form.  Modes use
header-line in different ways, and I don't think we can decide for all
of them up front how they should react to line numbers.

While I agree that tabulated-list modes and ruler-mode should indeed
be sensitive to line numbers, because the header-line in those modes
should align with the rest of buffer text, a counter-example is Info
mode, where indenting the header-line will IMO make the display look
uglier, almost buggy.

If people agree that the effect on header-line should be dependent on
the mode, then it follows that the fix should be in the modes, not in
the display engine.  Fixing tabulated-list-mode will fix all of its
descendants; ruler-mode will need a separate fix.  And likewise for
any other mode which reports a similar issue.





  reply	other threads:[~2017-08-01  3:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-01  1:35 bug#27895: 26.0.50; display-line-numbers and header-line-format alignment Mark Oteiza
2017-08-01  3:35 ` Eli Zaretskii [this message]
2017-08-05 11:24   ` Eli Zaretskii
2017-08-06 20:25     ` Mark Oteiza
2017-08-12  9:47       ` Eli Zaretskii
2017-08-12 16:10         ` Mark Oteiza
2017-08-12 16:24           ` 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

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

  git send-email \
    --in-reply-to=837eyo0xln.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=27895@debbugs.gnu.org \
    --cc=mvoteiza@udel.edu \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.