[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: |
Sat, 28 Jun 2014 10:17:40 +0200 |
>> (1) Get the buffer ready in BODY.
>>
>> (2) Display it in `internal-temp-output-buffer-show'.
>>
>> (3) Fill it in `temp-buffer-show-hook'.
>
> This is possible, but then (window-height . fit-window-to-buffer)
> is called on an empty buffer.
Then the function called in (3) should do `fit-window-to-buffer' when
it's done with filling.
> I found a way to achieve a good result by calling
> `with-output-to-temp-buffer' twice: first with
> empty body that displays the buffer, and the second call
> finds the displayed window, fills it, and calls
> (window-height . fit-window-to-buffer) at the end:
This sounds abusive. And note that `display-buffer-base-action' is
a user variable.
martin
- bug#17809: 24.4.50; Completions display, (continued)
- bug#17809: 24.4.50; Completions display, Juri Linkov, 2014/06/24
- bug#17809: 24.4.50; Completions display, martin rudalics, 2014/06/25
- bug#17809: 24.4.50; Completions display, Juri Linkov, 2014/06/26
- bug#17809: 24.4.50; Completions display, Stefan Monnier, 2014/06/26
- bug#17809: 24.4.50; Completions display, martin rudalics, 2014/06/27
- bug#17809: 24.4.50; Completions display, Juri Linkov, 2014/06/27
- bug#17809: 24.4.50; Completions display, martin rudalics, 2014/06/28
- bug#17809: 24.4.50; Completions display, Juri Linkov, 2014/06/29
- bug#17809: 24.4.50; Completions display, martin rudalics, 2014/06/27
- bug#17809: 24.4.50; Completions display, Juri Linkov, 2014/06/27
- bug#17809: 24.4.50; Completions display,
martin rudalics <=