From: Eli Zaretskii <eliz@gnu.org>
To: ivan <ivan.brennan@gmail.com>
Cc: 24169@debbugs.gnu.org
Subject: bug#24169: 25.1.50; Line numbers disappear when horizontally scrolled
Date: Sat, 06 Aug 2016 20:47:57 +0300 [thread overview]
Message-ID: <83a8gpkcvm.fsf@gnu.org> (raw)
In-Reply-To: <CAOVAYzuPv20gcC9CYS1PN=+_LZOwi+szmJsygkiPiF_EoZcuKg@mail.gmail.com> (message from ivan on Sat, 6 Aug 2016 12:02:09 -0400)
> From: ivan <ivan.brennan@gmail.com>
> Date: Sat, 6 Aug 2016 12:02:09 -0400
>
> Using linum-mode displays line numbers to the left of the left fringe. I would expect them to remain visible
> regardless of any horizontal scrolling, since that's how the left fringe behaves (not to mention numerous other
> editors and applications). However, when using line-truncation, the line numbers disappear when the text is
> horizontally scrolled. I think this is worth fixing, because it would be more useful and look better (the dead
> space takes up screen real-estate and makes me sad).
It's a bug in the design of linum-mode: it puts the overlay that
displays the line numbers on the first character of each line. So
when that first character is not displayed, the overlay is not shown
either.
A possible fix would be to move the overlay to the first visible
character after the horizontal scroll. Patches welcome.
Thanks.
next prev parent reply other threads:[~2016-08-06 17:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-06 16:02 bug#24169: 25.1.50; Line numbers disappear when horizontally scrolled ivan
2016-08-06 17:47 ` Eli Zaretskii [this message]
2016-08-06 17:52 ` Noam Postavsky
2016-08-06 18:09 ` Eli Zaretskii
2016-08-06 18:50 ` Noam Postavsky
2016-08-06 19:13 ` Eli Zaretskii
2021-12-01 19:44 ` Lars Ingebrigtsen
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=83a8gpkcvm.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24169@debbugs.gnu.org \
--cc=ivan.brennan@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).