Path: utzoo!attcan!uunet!snorkelwacker!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.windows.x Subject: Re: Self-Iconification and Emacs Message-ID: Date: 28 Sep 90 19:37:11 GMT References: Sender: news@OSF.ORG Distribution: comp Organization: Open Software Foundation Lines: 26 In-reply-to: jae@cs.iastate.edu's message of 26 Sep 90 14:27:03 GMT In article jae@cs.iastate.edu (Andy Edwards) writes: | Is there a way for a client program to iconify itself? Suppose I have | an emacs window running and want to iconify it without using the | window manager (i.e. by writing an emacs-lisp function | "iconify-emacs" and binding it to, say, C-z); how can I do this? | | running X11R4 on HP-UX and SUN-OS. Other people have mentioned how to do it under X -- if you just want to be able to do under emacs, I would suggest using epoch. Epoch is a modified GNU emacs 18.55 with MUCH better X support, though on the downside you still need regular GNU emacs to use it on a character terminal. You can anonymous ftp epoch from cs.uiuc.edu. Once you load the standard epoch elisp libraries, the keybinding C-z i runs `iconify-screen' tells the window manager to iconize the current screen (epoch allows for more than screen at a time). You can also do things like iconize a screen, and have an elisp function called when it is raised -- I use this for mail and news windows. -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142 Do apple growers tell their kids money doesn't grow on bushes?