🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1170

changing icons

#1170
From: Frank Caico
Date: Tue, 20 Oct 1992 16:50
30 lines
2002 bytes
I am trying to write an elisp package for epoch that would change the icon
of the current screen based upon what mode is active in that screen. 

Heres why:
As I use epoch I end up with alot of screens open - many of them iconized.
It would be much easier to find the screen I want if for instance dired
windows have a file cabinet as the icon, and so on. 

Here are the problems:
If I change the icon in the mode-hook then I have to change every mode-hook
that I want to have a non-default icon in.  Also, if I execute a
switch-to-buffer which changes the screens mode, it does not re-execute the
mode-hook.  

I dont want to mess with the after or before-change hooks as this would
probably slow down epoch needlessly. 

So how can I write this in such a way as to keep my icons consistent with
the screens? 

Please help!
--
  +-----------------------------+-------------------------------------------+
  | Frank Caico                 |                  fcaic@wbst845e.xerox.com |
  +-----------------------------+-------------------------------------------+
  | Xerox KBS Competency Ctr.   |                                           |
  | Bldg. 845-20C               |    "I am pink, therefore I am Spam."      |
  | Webster, NY  14580          |                                           |
  +-----------------------------+-------------------------------------------+
Technical Details
Message-ID: <FCAIC.92Oct20115018@woody.wbst845e.xerox.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!europa.asd.contel.com!darwin.sura.net!udel!rochester!rocksanne!spectrum!fcaic

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,8cd90657a4db292e,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1992-10-20 16:17:24 PST
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!europa.asd.contel.com!darwin.sura.net!udel!rochester!rocksanne!spectrum!fcaic
From: fcaic@wbst845e.xerox.com (Frank Caico)
Subject: changing icons
Message-ID: <FCAIC.92Oct20115018@woody.wbst845e.xerox.com>
Sender: news@spectrum.xerox.com
Organization: Xerox, Webster, NY
Distribution: gnu.epoch.misc
Date: Tue, 20 Oct 1992 16:50:18 GMT
Lines: 30