Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!stout.UCAR.EDU!thor From: thor@stout.UCAR.EDU (Rich Neitzel) Newsgroups: gnu.emacs Subject: Re: An enhancement to GNU under X Keywords: mouse, bindings Message-ID: <6272@ncar.ucar.edu> Date: 9 Feb 90 18:32:03 GMT References: <5078@crdgw1.crd.ge.com> Sender: news@ncar.ucar.edu Reply-To: thor@stout.UCAR.EDU (Rich Neitzel) Organization: ncar Lines: 25 > I am using GNUemacs under X on a Sun. One feature I use frequently is > the close button. I have a question for the GNUgurus out there. Is is > possible for either a mouse button or keycombo to be bound to a > funtion which will iconify (close) emacs? I guess I am really asking > if the iconify function be written. > > If someone has a good way to do this, I would much appreciate an answer. Before you add this to emacs - have you looked at your window manager's functionality? I use twm and therefore may specify actions for function keys 1-4. I have defined the action for pf1 to iconify the window in which the cursor is located. The nice thing is that this then works for all windows, not just emacs. ------------------------------------------------------------------------------- Richard Neitzel National Center For Atmospheric Research Box 3000 Boulder, CO 80307-3000 303-497-2057 thor@thor.ucar.edu Torren med sitt skjegg Thor with the beard lokkar borni under sole-vegg calls the children to the sunny wall Gjo'i med sitt shinn Gjo with the pelts jagar borni inn. chases the children in.