[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Native line numbers landed on master
From: |
martin rudalics |
Subject: |
Re: Native line numbers landed on master |
Date: |
Wed, 12 Jul 2017 09:11:43 +0200 |
> Should that
> variable name be instead "display-line-numbers-width"?
I think so too.
Also, the latest fix of the doc-string of ‘display-line-numbers’
introduced a few typos. Maybe it should be even rewritten as sketched
below (provided I managed to grasp the sense of it correctly).
DEFVAR_LISP ("display-line-numbers", Vdisplay_line_numbers,
doc: /* Non-nil means display line numbers.
If the value is t, display the absolute number of each line of a buffer
shown in a window. Absolute line numbers count from the beginning of
the current narrowing, or from buffer beginning. If the value is
`relative', display for each line not containing the window's point its
relative number instead, i.e. the number of the line relative to the
line showing the window's point.
In either case, line numbers are displayed at the beginning of each
non-continuation line that displays buffer text, i.e. after each newline
character that comes from the buffer. The value `visual' is like
`relative' but counts screen lines instead of buffer lines. In practice
this means that continuation lines count as well when calculating the
relative number of a line.
Lisp programs can disable display of a line number of a particular
buffer line by putting the `display-line-numbers-disable' text property
or overlay property on the first visible character of that line. */);
martin
- Re: Native line numbers landed on master, (continued)
Re: Native line numbers landed on master, Kaushal Modi, 2017/07/11
- Re: Native line numbers landed on master,
martin rudalics <=
Re: Native line numbers landed on master, Yuri D'Elia, 2017/07/15