[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: completion buffer - unsuitable column width
From: |
Stefan Monnier |
Subject: |
Re: completion buffer - unsuitable column width |
Date: |
Tue, 03 Mar 2009 09:21:43 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
> OK, perhaps we could use something like
> (if (assq 'default face-remapping-alist) 79 (window-width))
> to cover at least the case that I've encountered.
I'm not sure it's worth the trouble.
> A grep over the source, looking for (window-width), reveals other
> suspicious uses.
No doubt. This is just another instance of the long standing problem
that all/most of the code presumes fixed-width fonts (and of a single
width shared by all fonts) as was the case in Emacs<21.
> "window-buffer-width", giving the average (expected) number of columns in
> a window for text in the default face applicable to the buffer shown in
> a given window.
Yes, that could help.
Stefan