Subject: bug#40238: Trying to customize the ispell choices buffer via display-buffer-alist has no effect

From: Konrad Podczeck <[email-masked]>
Date: Thu, 26 Mar 2020 16:52:22 +0100

Thanks!

Basically this works fine. However, when I type ‘x’ to exit ispell, the buffer which was spelled appears a second time in the frame that showed the choices. If I type ‘q’ to quit ispell, the answer to the “yes-or-no” prompt has not the intended effect but becomes written in the frame showing the choices.

Konrad

> Am 26.03.2020 um 16:29 schrieb martin rudalics <[email-masked]>:
> 
> > There is no effect if in display-buffer-alist the ispell choices buffer is customized, e.g. in the form
> >
> >     ("\\*Choices\\*"
> >      (display-buffer-reuse-window display-buffer-pop-up-frame)
> >       (pop-up-frame-parameters
> >       (tool-bar-lines . 0)
> >       (font . "Monaco-12")
> >       (left . 778)
> >       (top . 280) (height . 12) (width . 78)
> >       ))
> 
> Intentionally so.  IIRC, displaying *Choices* was initially even more
> rigid - it didn't use 'display-buffer' at all.
> 
> The solution is to set 'ispell-choices-win-default-height' to a very
> large value so that in practice 'split-window' can never make a window
> that high.  If after some time you come to the conclusion that this
> trick works satisfactorily, we can mention it somewhere at your choice.
> 
> martin