home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.den.mmc.com!traffic!kevin
- From: kevin@traffic.den.mmc.com (Kevin Rodgers)
- Subject: How enlarge the minibuffer window for read-string?
- Message-ID: <1993Jan9.000343.25284@den.mmc.com>
- Sender: news@den.mmc.com (News)
- Nntp-Posting-Host: traffic.den.mmc.com
- Reply-To: kevin@traffic.den.mmc.com
- Organization: Martin Marietta Western Internal Systems, Technical Operations
- Date: Sat, 9 Jan 1993 00:03:43 GMT
- Lines: 27
-
-
- I would like to enlarge the minibuffer window when reading strings that
- can't be displayed in their entirety in it's normal 1-line
- configuration. (It should be enlarged by the number of newlines in the
- default argument to read-string.)
-
- When I try this (with x, prompt, and muli-line-default appropriately
- bound)
-
- (save-window-excursion
- (select-window (minibuffer-window))
- (enlarge-window x)
- (read-string prompt multi-line-default))
-
- I get the error "Command attempted to use minibuffer while in
- minibuffer".
-
- If I move the read-string call outside of the save-excursion-window
- form, the enlarge-window call doesn't affect the size of the minibuffer
- window when read-string is called.
-
- Does anyone know how to do this?
- --
- Kevin Rodgers kevin@traffic.den.mmc.com
- Martin Marietta MS A16401 (303) 790-3971
- 116 Inverness Dr. East
- Englewood CO 80112 USA GO BUFFS!
-