Re: Window size?

Glynn Clements <[email protected]> Tue, 24 Feb 2004 17:48:46 +0000
Newsgroups gmane.emacs.xemacs.general
Message-ID <[email protected]>
Richard Martin wrote:

> How do I make the auto-completion (or for that any window) always word
> wrap so I dont have to scroll across to see the rest of the possible
> completions

Are you using vertically-split (i.e. side-by-side) windows? A fair
number of functions don't handle these correctly, e.g. using
frame-width instead of window-width.

For the specific case of the completion list, I use:

(defadvice display-completion-list (before window-width (completions &rest cl-keys) activate)
  "Force :window-width argument to 80"
  (setq cl-keys (append cl-keys '(:window-width 80))))

-- 
Glynn Clements <[email protected]>