GNU bug report logs - #37151
26.2; Horizontal scroll with display-line-numbers mode on.

Previous Next

Package: emacs;

Reported by: Jen-Chieh Shen <jcs090218 <at> gmail.com>

Date: Fri, 23 Aug 2019 03:14:01 UTC

Severity: normal

Found in version 26.2

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37151 in the body.
You can then email your comments to 37151 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#37151; Package emacs. (Fri, 23 Aug 2019 03:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jen-Chieh Shen <jcs090218 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 23 Aug 2019 03:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jen-Chieh Shen <jcs090218 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.2; Horizontal scroll with display-line-numbers mode on.
Date: Fri, 23 Aug 2019 09:33:51 +0800
[Message part 1 (text/plain, inline)]
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>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37151; Package emacs. (Fri, 23 Aug 2019 07:48:02 GMT) Full text and rfc822 format available.

Message #8 received at 37151 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Jen-Chieh Shen <jcs090218 <at> gmail.com>, 37151 <at> debbugs.gnu.org
Subject: Re: bug#37151: 26.2; Horizontal scroll with display-line-numbers mode
 on.
Date: Fri, 23 Aug 2019 09:46:59 +0200
> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37151; Package emacs. (Fri, 23 Aug 2019 08:27:01 GMT) Full text and rfc822 format available.

Message #11 received at 37151 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jen-Chieh Shen <jcs090218 <at> gmail.com>
Cc: 37151 <at> debbugs.gnu.org
Subject: Re: bug#37151: 26.2;
 Horizontal scroll with display-line-numbers mode on.
Date: Fri, 23 Aug 2019 11:26:04 +0300
> From: Jen-Chieh Shen <jcs090218 <at> 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.




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Wed, 26 Aug 2020 00:05:01 GMT) Full text and rfc822 format available.

Notification sent to Jen-Chieh Shen <jcs090218 <at> gmail.com>:
bug acknowledged by developer. (Wed, 26 Aug 2020 00:05:01 GMT) Full text and rfc822 format available.

Message #16 received at 37151-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Jen-Chieh Shen <jcs090218 <at> gmail.com>, 37151-done <at> debbugs.gnu.org
Subject: Re: bug#37151: 26.2;
 Horizontal scroll with display-line-numbers mode on.
Date: Tue, 25 Aug 2020 17:04:26 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Jen-Chieh Shen <jcs090218 <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Sep 2020 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.