Article View: gnu.epoch.misc
Article #1971Minibuffer AutoMapping and AutoRaise
From: Lance A. Brown
Date: Mon, 20 May 1991 16:00
Date: Mon, 20 May 1991 16:00
36 lines
2012 bytes
2012 bytes
Hi all:
I know this is a FAQ, but I lost the information on it.
I would like to set up the *select-screen-hook* and the motion property
so that whenever an epoch edit screen is selected by either the creation of
a screen, or the mouse moving into a edit screen that the minibuffer screen
is automatically mapped if it is iconified, and also raised.
I tried the following, but it appears to have made all the epoch edit
screens, and the minibuffer screen un-iconifiable.
(push
(function (lambda () (mapraised-screen (minibuf-screen))))
*select-screen-hook*
)
This does not seem to be doing the right thing for me. I need something
to fulfill the algorithm below:
A screen is selected
Is minibuffer screen iconified?
YES: Map-raised minibuf-screen
NO: raise-screen minibuf-screen
I still want to be able to iconify any screen including the minibuffer at
will, and have the minibuffer come back when I select an edit screen.
Lance
--
brown@cs.utk.edu
Lance A. Brown The Crystal Wind is the Storm,
3500 Sutherland Avenue, Apt. L-303 and the Storm is Data,
Knoxville, TN 37919 and the Data is Life
-- The Player's Litany
from _The Long Run_ by D.K. Moran
Technical Details
Message-ID:
<BROWN.91May20120050@duncan.cs.utk.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!gatech!utkcs2!!brownShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,80b1230c40817792,start X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1991-05-20 09:24:30 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!gatech!utkcs2!!brown From: brown@cs.utk.edu (Lance A. Brown) Newsgroups: gnu.epoch.misc Subject: Minibuffer AutoMapping and AutoRaise Message-ID: <BROWN.91May20120050@duncan.cs.utk.edu> Date: 20 May 91 16:00:50 GMT Sender: usenet@cs.utk.edu (USENET News Poster) Distribution: gnu Organization: University of Tenn., Knoxville, Dept. of Computer Science Lines: 29