GNU bug report logs - #40238
Trying to customize the ispell choices buffer via display-buffer-alist has no effect

Previous Next

Package: emacs;

Reported by: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>

Date: Thu, 26 Mar 2020 14:57:01 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 40238 <at> debbugs.gnu.org
Subject: bug#40238: Trying to customize the ispell choices buffer via display-buffer-alist has no effect
Date: Thu, 26 Mar 2020 17:23:07 +0100
Remembering what you told me, the problem with “x” to exit ispell is solvable by inserting (dedicated . t) in the customization below. The other problem is not affected by this.

Konrad

> Am 26.03.2020 um 16:52 schrieb Konrad Podczeck <konrad.podczeck <at> univie.ac.at>:
> 
> 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 <rudalics <at> gmx.at>:
>> 
>>> 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
> 





This bug report was last modified 3 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.