comparison lisp/resize-minibuffer.el @ 3929:94ecba3ecd77

[xemacs-hg @ 2007-04-30 16:16:48 by stephent] Improve echo area resizing. <87wszthlwi.fsf@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Mon, 30 Apr 2007 16:16:52 +0000
parents 79940b592197
children c585f0c06591
comparison
equal deleted inserted replaced
3928:ab912e9a7ace 3929:94ecba3ecd77
34 34
35 ;;; Commentary: 35 ;;; Commentary:
36 36
37 ;; This file has received maintenance by the XEmacs development team. 37 ;; This file has received maintenance by the XEmacs development team.
38 38
39 ;; $Id: resize-minibuffer.el,v 1.4 2002/03/15 07:43:21 ben Exp $ 39 ;; $Id: resize-minibuffer.el,v 1.5 2007/04/30 16:16:51 stephent Exp $
40 40
41 ;; This package allows the entire contents (or as much as possible) of the 41 ;; This package allows the entire contents (or as much as possible) of the
42 ;; minibuffer to be visible at once when typing. As the end of a line is 42 ;; minibuffer to be visible at once when typing. As the end of a line is
43 ;; reached, the minibuffer will resize itself. When the user is done 43 ;; reached, the minibuffer will resize itself. When the user is done
44 ;; typing, the minibuffer will return to its original size. 44 ;; typing, the minibuffer will return to its original size.
85 "*Maximum size the minibuffer window is allowed to become. 85 "*Maximum size the minibuffer window is allowed to become.
86 If less than 1 or not a number, the limit is the height of the frame in 86 If less than 1 or not a number, the limit is the height of the frame in
87 which the active minibuffer window resides." 87 which the active minibuffer window resides."
88 :type '(choice (const nil) integer) 88 :type '(choice (const nil) integer)
89 :group 'resize-minibuffer) 89 :group 'resize-minibuffer)
90
91 ;; #### Yeah, I know. The relation between the echo area and the
92 ;; minibuffer needs rethinking. It's not really possible to unify them at
93 ;; present. -- sjt
94 (defcustom resize-minibuffer-idle-height nil
95 "When minibuffer is idle, crop its window to this height.
96 Must be a positive integer or nil. nil indicates no limit.
97 Effective only when `undisplay-echo-area-function' respects it. One such
98 function is `undisplay-echo-area-resize-window'.")
90 99
91 (defcustom resize-minibuffer-window-exactly t 100 (defcustom resize-minibuffer-window-exactly t
92 "*If non-`nil', make minibuffer exactly the size needed to display all its contents. 101 "*If non-`nil', make minibuffer exactly the size needed to display all its contents.
93 Otherwise, the minibuffer window can temporarily increase in size but 102 Otherwise, the minibuffer window can temporarily increase in size but
94 never get smaller while it is active." 103 never get smaller while it is active."