unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37151: 26.2; Horizontal scroll with display-line-numbers mode on.
@ 2019-08-23  1:33 Jen-Chieh Shen
  2019-08-23  7:46 ` martin rudalics
  2019-08-23  8:26 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Jen-Chieh Shen @ 2019-08-23  1:33 UTC (permalink / raw)
  To: 37151

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

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

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

[-- Attachment #2: Type: text/html, Size: 1272 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37151: 26.2; Horizontal scroll with display-line-numbers mode on.
  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
  1 sibling, 0 replies; 4+ messages in thread
From: martin rudalics @ 2019-08-23  7:46 UTC (permalink / raw)
  To: Jen-Chieh Shen, 37151

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

Can you please tell us more precisely what you did and where
'window-width' was used in that miscalculation?

Thanks, martin





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37151: 26.2; Horizontal scroll with display-line-numbers mode on.
  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
  2020-08-26  0:04   ` Stefan Kangas
  1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2019-08-23  8:26 UTC (permalink / raw)
  To: Jen-Chieh Shen; +Cc: 37151

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37151: 26.2; Horizontal scroll with display-line-numbers mode on.
  2019-08-23  8:26 ` Eli Zaretskii
@ 2020-08-26  0:04   ` Stefan Kangas
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2020-08-26  0:04 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Jen-Chieh Shen, 37151-done

Eli Zaretskii <eliz@gnu.org> writes:

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

More information was requested, but none was given within 1 year, so I'm
closing this bug.  If this is still an issue, please reply to this email
(use "Reply to all" in your email client) and we can reopen the bug
report.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-26  0:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2020-08-26  0:04   ` Stefan Kangas

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