GNU bug report logs -
#17809
24.4.50; Completions display
Previous Next
Reported by: Juri Linkov <juri <at> jurta.org>
Date: Thu, 19 Jun 2014 07:12:03 UTC
Severity: wishlist
Tags: patch
Merged with 12618
Found in version 24.2.50
Fixed in version 24.4.50
Done: Juri Linkov <juri <at> jurta.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 17809 <at> debbugs.gnu.org (full text, mbox):
When the width of the window with *Completions* is more
than the default 80 columns, it leaves too much empty space.
So it's better first to display an empty buffer,
and then fill it with the contents using its final width,
but currently this is not supported.
In `with-output-to-temp-buffer' I tried to reverse
the order of lines:
(internal-temp-output-buffer-show ,buf)
(progn ,@body)
and it seems to work, but the problem is that
an alist of display-buffer with
(window-height . fit-window-to-buffer)
is performed on the empty buffer, and reduces it to 3 lines.
Then later (progn ,@body) fills it with completions,
but the window height remains 3 lines.
I see no way to perform these steps using the current
display-buffer actions:
1. display the buffer
2. fill it
3. call action alists with fit-window-to-buffer
This bug report was last modified 10 years and 229 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.