Lines Matching defs:w*w
71 ;; point and window so that the maximum amount of output is always
74 ;; @ While output is being generated from a command, the window will
77 ;; command possible. This happens if you change window sizes,
98 (remove-hook 'window-configuration-change-hook
114 that output can be presented in its entirely in the Eshell window."
163 (defvar eshell-currently-handling-window nil)
176 (add-hook 'window-scroll-functions 'eshell-smart-scroll-window nil t)
177 (add-hook 'window-configuration-change-hook 'eshell-refresh-windows)
195 (defun eshell-smart-scroll-window (wind start)
196 "Scroll the given Eshell window accordingly."
197 (unless eshell-currently-handling-window
199 (eshell-currently-handling-window t))
200 (save-selected-window
201 (select-window wind)
210 (with-current-buffer (window-buffer wind)
212 (let (window-scroll-functions)
213 (eshell-smart-scroll-window wind (window-start))
217 (let (window-scroll-functions)
250 (and (pos-visible-in-window-p (point-max))
251 (pos-visible-in-window-p eshell-last-input-start))
269 (set-window-start (selected-window)
271 (if (pos-visible-in-window-p (point-max))
275 (unless (pos-visible-in-window-p top-point)
277 (set-window-start (selected-window)
298 (if (not (pos-visible-in-window-p (point-max)))
308 (if (pos-visible-in-window-p eshell-last-input-start)
314 (if (pos-visible-in-window-p eshell-last-input-end)