bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17809: 24.4.50; Completions display


From: martin rudalics
Subject: bug#17809: 24.4.50; Completions display
Date: Fri, 27 Jun 2014 08:43:30 +0200

> You mean calling `fit-window-to-buffer' in `temp-buffer-show-hook' explicitly
> instead of using an action alist `(window-height . fit-window-to-buffer)'?

Yes.

> But the problem will still remain, and to solve it we need to fill the buffer
> after displaying that would be possible only after changing the order of calls
> in `with-output-to-temp-buffer' from
>
>         (prog1 (progn ,@body)
>           (internal-temp-output-buffer-show ,buf))
>
> to
>
>         (progn
>           (internal-temp-output-buffer-show ,buf)
>           (progn ,@body)
>

I miss you here.  My order would be:

(1) Get the buffer ready in BODY.

(2) Display it in `internal-temp-output-buffer-show'.

(3) Fill it in `temp-buffer-show-hook'.

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]