emacs/lisp/emacs-lisp
Eli Zaretskii fd3d8610b2 Make :align-to account for display-line-numbers
These changes also update the various bundled packages to use
new feature, and better support customizations of the line-number
face.
* src/xdisp.c (calc_pixel_width_or_height): Improve commentary.
Make :align-to count from the end of the line-number display when
the offset or the width form reference that of the text area.
(Bug#28855)

* src/indent.c (Fline_number_display_width): Implement support for
the PIXELWISE argument being 'columns'.  Update the doc string.
(syms_of_indent): New symbol 'columns'.

* lisp/ruler-mode.el (ruler-mode-window-col, ruler-mode-ruler):
Call line-number-display-width with last argument 'columns'.

* lisp/proced.el (proced-header-line): Call
line-number-display-width with 2nd arg 'columns', which also fixes
a problem when display-line-numbers is nil.

* lisp/emacs-lisp/tabulated-list.el
(tabulated-list-line-number-width): Call line-number-display-width
with 2nd arg 'columns.
(tabulated-list-entry-lnum-width): Remove unneeded defvar.
(tabulated-list-print, tabulated-list-print-entry): No need to
account for the value of tabulated-list-entry-lnum-width.
(tabulated-list--current-lnum-width): New defvar.
(tabulated-list-watch-line-number-width): New function.
(tabulated-list-mode): Bind tabulated-list--current-lnum-width
locally, and set up tabulated-list-watch-line-number-width as
pre-redisplay-functions hook.

* doc/lispref/display.texi (Size of Displayed Text): Document the
'columns' value of the PIXELWISE argument.
(Pixel Specification): Update and improve the documentation of the
supported forms.
2017-10-20 12:36:12 +03:00
..
advice.el ; Typo fixes, mostly repeated words 2017-10-09 22:55:06 -07:00
autoload.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
avl-tree.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
backquote.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
benchmark.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
bindat.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
byte-opt.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
byte-run.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
bytecomp.el Hook Flymake onto proper checkdoc and byte-compile interfaces 2017-10-03 14:18:55 +01:00
cconv.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
chart.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
check-declare.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
checkdoc.el Hook Flymake onto proper checkdoc and byte-compile interfaces 2017-10-03 14:18:55 +01:00
cl-extra.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cl-generic.el Create new Edebug spec for docstrings and use it in closures 2017-10-06 11:31:12 -07:00
cl-indent.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cl-lib.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cl-macs.el Fix Edebug spec for cl-defun (bug#24255) 2017-10-16 11:09:29 -07:00
cl-preloaded.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cl-print.el ; * lisp/emacs-lisp/cl-print.el (cl-prin1): Whitespace fix. 2017-10-02 13:19:11 -04:00
cl-seq.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cl.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
copyright.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
crm.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cursor-sensor.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
debug.el Don't remember old debugger window (Bug#17882) 2017-10-15 13:58:45 -04:00
derived.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
disass.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
easy-mmode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
easymenu.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
edebug.el Create new Edebug spec for docstrings and use it in closures 2017-10-06 11:31:12 -07:00
eieio-base.el Fix slot typecheck in eieio-persistent 2017-09-30 16:28:00 -07:00
eieio-compat.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
eieio-core.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
eieio-custom.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
eieio-datadebug.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
eieio-opt.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
eieio-speedbar.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
eieio.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
eldoc.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
elint.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
elp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ert-x.el ; Spelling and URL fixes 2017-09-23 00:36:56 -07:00
ert.el Fix ert-test finding by symbol (Bug#28849) 2017-10-15 13:58:45 -04:00
ewoc.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
find-func.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
float-sup.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
generator.el Create new Edebug spec for docstrings and use it in closures 2017-10-06 11:31:12 -07:00
generic.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gv.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
helper.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
inline.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
let-alist.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
lisp-mnt.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
lisp-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
lisp.el Prefer HTTPS to HTTP for gnu.org 2017-10-01 19:59:01 -07:00
macroexp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
map-ynp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
map.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nadvice.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
package-x.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
package.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
pcase.el Create new Edebug spec for docstrings and use it in closures 2017-10-06 11:31:12 -07:00
pp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
radix-tree.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
re-builder.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
regexp-opt.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
regi.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ring.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
rmc.el ; Prefer https: to http: in GNU URLs 2017-10-14 19:19:24 -07:00
rx.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
seq.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
shadow.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
smie.el Fix loading of smie-config rules (Bug#24848) 2017-09-25 19:39:19 -04:00
subr-x.el Move read-multiple-choice to its own library 2017-10-06 10:42:06 -04:00
syntax.el Use a separate syntax-ppss cache for narrowed buffers 2017-09-26 02:52:23 +03:00
tabulated-list.el Make :align-to account for display-line-numbers 2017-10-20 12:36:12 +03:00
tcover-ses.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
tcover-unsafep.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
testcover.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
thunk.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
timer-list.el Rename timer-list to list-timers 2017-09-19 22:24:23 -04:00
timer.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
tq.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
trace.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
unsafep.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
warnings.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00