all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28247: Display native line number on last line of buffer (when empty line).
@ 2017-08-26 22:29 Keith David Bershatsky
  2017-08-27  2:40 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Keith David Bershatsky @ 2017-08-26 22:29 UTC (permalink / raw)
  To: 28247

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





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

* bug#28247: Display native line number on last line of buffer (when empty line).
  2017-08-26 22:29 bug#28247: Display native line number on last line of buffer (when empty line) Keith David Bershatsky
@ 2017-08-27  2:40 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2017-08-27  2:40 UTC (permalink / raw)
  To: Keith David Bershatsky; +Cc: 28247-done

> Date: Sat, 26 Aug 2017 15:29:36 -0700
> From: Keith David Bershatsky <esq@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.





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

end of thread, other threads:[~2017-08-27  2:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-26 22:29 bug#28247: Display native line number on last line of buffer (when empty line) Keith David Bershatsky
2017-08-27  2:40 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.