[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assignment of misc packages for emacs

From: Miles Bader
Subject: Re: Assignment of misc packages for emacs
Date: 06 Jun 2002 10:07:26 +0900

"Stefan Monnier" <monnier+gnu/address@hidden> writes:
> Just a little note: don't assume blindly that the minibuffer/echoarea
> is always properly resized.  Think of the case where the frame is too
> small.  Or when the user has set resize-mini-windows to nil.

Good point.  I thought before about the case where the menu was larger
than the largest minibuffer size -- but though such menus would be rare,
so support could be added later.  I guess not so rare after all...

Since all the interaction happens in the lisp function now, it'd
obviously be fairly simple to support menu paging (like the old C code
used to do).  What do I have to check?  I can think of:

     if resize-mini-windows == nil
       max-height is 1
     else if max-mini-window-height is an integer
       max-height is max-mini-window-height
       max-height is min (1, trunc (frame-height * max-mini-window-height))

Does a minibuffer-only frame have to be special-cased?


Quidquid latine dictum sit, altum viditur.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]