unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jen-Chieh Shen <jcs090218@gmail.com>
Cc: 37151@debbugs.gnu.org
Subject: bug#37151: 26.2; Horizontal scroll with display-line-numbers mode on.
Date: Fri, 23 Aug 2019 11:26:04 +0300	[thread overview]
Message-ID: <83ftlsb84j.fsf@gnu.org> (raw)
In-Reply-To: <CAMiGhTPXREUJp2AZ8aPrrS+f-TuS_+XZZBdrtc0+13Cm3s_Wag@mail.gmail.com> (message from Jen-Chieh Shen on Fri, 23 Aug 2019 09:33:51 +0800)

> From: Jen-Chieh Shen <jcs090218@gmail.com>
> Date: Fri, 23 Aug 2019 09:33:51 +0800
> 
> When `display-line-numbers-mode` is on, the `(window-width)` seems to be
> incorrect because it dosen't include the width of
> `display-line-numbers`.

This is by design, and is not a bug.

> When I hit `end-of-line` on the line with just
> right with range `window width - display line numbers width` ~ `window width`
> the cursor will be disappeared because of the miscalculation.

This part I don't think I follow.  Please show a complete recipe for
reproducing the problem, starting from "emacs -Q" and including all
the key sequences/commands you type to reproduce the problem.

Thanks.





  parent reply	other threads:[~2019-08-23  8:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-23  1:33 bug#37151: 26.2; Horizontal scroll with display-line-numbers mode on Jen-Chieh Shen
2019-08-23  7:46 ` martin rudalics
2019-08-23  8:26 ` Eli Zaretskii [this message]
2020-08-26  0:04   ` Stefan Kangas

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=83ftlsb84j.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=37151@debbugs.gnu.org \
    --cc=jcs090218@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).