1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 22:40:51 -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 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
em-banner.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
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 Pcomplete: Better obey completion-at-point-functions 2022-03-18 11:59:32 -04:00
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 Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
em-rebind.el When executing an Eshell pipeline, send input to the first process 2022-02-03 20:02:22 +01:00
em-script.el Don't use 'eshell-eval-using-options' for 'eshell/source' or 'eshell/.' 2022-01-21 13:06:34 +01:00
em-smart.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
em-term.el When executing an Eshell pipeline, send input to the first process 2022-02-03 20:02:22 +01:00
em-tramp.el Make usage of su and sudo consistent in eshell (bug#53783) 2022-02-06 09:43:13 +01:00
em-unix.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
em-xtra.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
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 Fix eshell-explicit-command-char doc string typo 2022-03-25 19:02:04 +01:00
esh-io.el Send SIGPIPE to external Eshell processes if their output target closes 2022-02-21 18:39:40 +01:00
esh-mode.el When executing an Eshell pipeline, send input to the first process 2022-02-03 20:02:22 +01:00
esh-module.el Add Eshell syntax to more easily bypass Eshell's own pipelining 2022-01-24 21:46:31 +01:00
esh-opt.el ; Fix typos 2022-05-15 11:15:06 +02:00
esh-proc.el Don't superfluously emit prompts when terminating processes in Eshell 2022-02-24 10:35:54 +01:00
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 When executing an Eshell pipeline, send input to the first process 2022-02-03 20:02:22 +01:00