[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-x 3 *Choices* cutoff; C-x 4 map short changes C-x C-r
From: |
Alignment Petrofsky |
Subject: |
Re: C-x 3 *Choices* cutoff; C-x 4 map short changes C-x C-r |
Date: |
14 Jan 2002 12:57:42 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
kevinr@ihs.com (Kevin Rodgers) writes:
> Dan Jacobson wrote:
> >
> > $ emacs -q
> > C-x 3 C-x C-f <tab> <tab>
> >
> > Just look at how atrociously the *Choices* buffer with its obligatory
> > two columns is chopped off instead of even considering making itself
> > into a single column list.
>
> This is a known problem, according to this comment in src/minibuf.c
> (Fdisplay_completion_list):
>
> /* This does a bad job for narrower than usual windows.
> Sadly, the window it will appear in is not known
> until after the text has been made. */
An expensive way to fix this is to reformat the completion list from
the temp-buffer-show-hook, which is called after the window has been
chosen.
That's the approach taken by app-rearrange.el, which I posted to
gnu.emacs.sources last month.
-al