GNU bug report logs - #28247
Display native line number on last line of buffer (when empty line).

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Sat, 26 Aug 2017 22:30:02 UTC

Severity: wishlist

Done: Eli Zaretskii <eliz <at> gnu.org>

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 28247 in the body.
You can then email your comments to 28247 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#28247; Package emacs. (Sat, 26 Aug 2017 22:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Keith David Bershatsky <esq <at> lawlist.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 26 Aug 2017 22:30:02 GMT) Full text and rfc822 format available.

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

From: Keith David Bershatsky <esq <at> lawlist.com>
To: Emacs Bug Reports <bug-gnu-emacs <at> gnu.org>
Subject: Display native line number on last line of buffer (when empty line).
Date: Sat, 26 Aug 2017 15:29:36 -0700
Emacs does not display a native line number on the last line of the buffer unless there is something there in addition to the cursor.

What would be a good approach to modifying the C code to draw a line number at the end of the buffer when it is an empty line.

disable_line_numbers_overlay_at_eob in should_produce_line_number seems like the cause of this behavior that I wish to change.

Thanks,

Keith




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 27 Aug 2017 02:41:02 GMT) Full text and rfc822 format available.

Notification sent to Keith David Bershatsky <esq <at> lawlist.com>:
bug acknowledged by developer. (Sun, 27 Aug 2017 02:41:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Keith David Bershatsky <esq <at> lawlist.com>
Cc: 28247-done <at> debbugs.gnu.org
Subject: Re: bug#28247: Display native line number on last line of buffer (when
 empty line).
Date: Sun, 27 Aug 2017 05:40:20 +0300
> Date: Sat, 26 Aug 2017 15:29:36 -0700
> From: Keith David Bershatsky <esq <at> lawlist.com>
> 
> Emacs does not display a native line number on the last line of the buffer unless there is something there in addition to the cursor.

This is a feature: "the last line" is not actually a line, there's no
character there.




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

This bug report was last modified 1 year and 20 days ago.

Previous Next


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