1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 14:30:42 -08:00
emacs/lisp/eshell
Jim Porter 43f8690ebf Account for remapped faces in $COLUMNS and $LINES in Eshell
* src/window.h (window_body_unit): New enum...
(window_body_width): ... use it.

* src/window.c (window_body_unit_from_symbol): New function.
(window_body_height, window_body_width): Make PIXELWISE a
'window_body_unit'.
(window-body-height, window-body-width): Accept 'remap' for PIXELWISE.
(window-lines-pixel-dimensions, window_change_record_windows)
(run_window_change_functions, resize_frame_windows, grow_mini_window)
(shrink_mini_window, scroll-left, scroll-right): Update calls to
'window_body_height' and 'window_body_width'.

* src/indent.c (compute_motion): Update calls to 'window_body_width'.

* lisp/eshell/em-ls.el (eshell-ls-find-column-widths)
(eshell-ls-find-column-lengths): Use 'window-body-width'.

* lisp/eshell/esh-var.el (eshell-variable-aliases-list): Use
'window-body-width' and 'window-body-height'.

* test/lisp/eshell/esh-var-tests.el (esh-var-test/window-height)
(esh-var-test/window-width): Rename to...
(esh-var-test/lines-var, esh-var-test/columns-var): ... and update
expected value.

* doc/lispref/windows.texi (Window Sizes): Document new behavior of
PIXELWISE argument for 'window-body-width' and 'window-body-height'.

* etc/NEWS: Announce this change (bug#55696).
2022-06-09 10:08:15 +03:00
..
em-alias.el
em-banner.el
em-basic.el Don't use 'eshell-convert' when all we want is a number 2022-03-29 16:50:48 +02:00
em-cmpl.el
em-dirs.el Audit quoting the quote character in doc strings 2022-04-22 16:17:22 +02:00
em-elecslash.el New electric forward slash Eshell module 2022-04-21 11:57:12 -07:00
em-extpipe.el em-extpipe: Catch eshell-incomplete thrown while parsing 2022-04-02 16:08:41 +02:00
em-glob.el Add unit tests and documentation for Eshell pattern-based globs 2022-04-17 10:27:39 +03:00
em-hist.el Fix some quoting problems in defcustom :type 2022-05-10 18:33:14 +02:00
em-ls.el Account for remapped faces in $COLUMNS and $LINES in Eshell 2022-06-09 10:08:15 +03:00
em-pred.el Handle escaped characters in Eshell argument predicates/modifiers 2022-05-01 20:41:21 +02:00
em-prompt.el
em-rebind.el
em-script.el
em-smart.el
em-term.el
em-tramp.el
em-unix.el
em-xtra.el
esh-arg.el Improve the behavior of concatenating parts of Eshell arguments 2022-05-03 18:23:02 +02:00
esh-cmd.el Reset 'eshell-in-pipeline-p' when interpolating commands 2022-05-25 14:13:07 +02:00
esh-ext.el
esh-io.el
esh-mode.el
esh-module.el
esh-opt.el ; Fix typos 2022-05-15 11:15:06 +02:00
esh-proc.el
esh-util.el Improve the behavior of concatenating parts of Eshell arguments 2022-05-03 18:23:02 +02:00
esh-var.el Account for remapped faces in $COLUMNS and $LINES in Eshell 2022-06-09 10:08:15 +03:00
eshell.el