|
From: | martin rudalics |
Subject: | bug#32825: 27.0.50; Deterministic window management |
Date: | Thu, 27 Sep 2018 20:45:04 +0200 |
> I wish the window selection to be more deterministic too. > Maybe instead of selecting the least recently used window > we should have a choice what window to select. With an appropriate alist entry. BTW the two 'get-buffer-window' disjuncts below are leftovers from the old code IIRC. IMO we should drop them in the course of such a change. (or (get-lru-window frame nil not-this-window) (let ((window (get-buffer-window buffer 'visible))) (unless (and not-this-window (eq window (selected-window))) window)) (get-largest-window 'visible nil not-this-window) (let ((window (get-buffer-window buffer 0))) (unless (and not-this-window (eq window (selected-window))) window)) (get-largest-window 0 nil not-this-window))) > I have no choice :-) Me neither. Life is deterministic (if you know all the parameters). martin
[Prev in Thread] | Current Thread | [Next in Thread] |