tags 26939 patch quit Frank Haun writes: > There is a wrong calculation of `icomplete-prospects-height` when Emacs > starts as daemon and icomplete is enabled via the init file. > > Emacs daemon returns 10 for `window-width` and > `icomplete-prospects-height` becomes 11. This is a bit similar to #27210, window sizes are unreliable in daemon mode. I think putting (window-width) as the standard value doesn't make sense anyway. The code that uses this variable already add the window-width: ;; Max total length to use, including the minibuffer content. (* (+ icomplete-prospects-height ;; If the minibuffer content already uses up more than ;; one line, increase the allowable space accordingly. (/ prospects-len (window-width))) (window-width)) So I think we should just change the standard value to 2 (which would currently be the default for window-width of 80).