Article View: gnu.epoch.misc
Article #1649Re: Version 1.2 of title.el
From: Chris Weikart
Date: Wed, 12 Feb 1992 13:08
Date: Wed, 12 Feb 1992 13:08
29 lines
1847 bytes
1847 bytes
In article <1992Feb11.210842.13993@boingo.med.jhu.edu>, derek@boingo.med.jhu.edu (Derek Ney) writes: > Well, I figured that there isn't enough traffic on this group, > so I would fill it up :^). I found some more problems with my > title.el that I posted recently. ... > ... > > ;; -------------- end of title.el version 1.2 ----------------- I don't remember where it came from, but I've been using the following to keep the title in synch with the current buffer: (defun set-window-name (win) "Set window and icon titles to file in buffer." (let* ((buff (window-buffer win)) (name (or (and buff (buffer-name buff)) "# No-Name #")) (scr (epoch::screen-of-window win))) (if buff (let ((wname (if include-system-name (concat name " @ " (system-name)) name))) (epoch::title wname scr) (epoch::icon-name wname scr))))) (setq set-window-buffer-hook 'set-window-name) There is supposedly some dangerous feature being used, but it works. ------------------------------------------------------------------------------- Chris Weikart <weikart@prl.dec.com> .............. DEC Paris Research Lab (PRL)
Technical Details
Message-ID:
<1992Feb12.130801.20601@prl.dec.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mips!decwrl!pa.dec.com!decprl!decprl!weikartReferences:
<1992Feb11.210842.13993@boingo.med.jhu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,d246132d77286ecd X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1992-02-12 05:31:24 PST Newsgroups: gnu.epoch.misc Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mips!decwrl!pa.dec.com!decprl!decprl!weikart From: weikart@prl.dec.com (Chris Weikart) Subject: Re: Version 1.2 of title.el Message-ID: <1992Feb12.130801.20601@prl.dec.com> Keywords: titles Sender: news@prl.dec.com (USENET News System) Nntp-Posting-Host: prl310.prl.dec.com Organization: Digital Equipment Corporation - Paris Research Laboratory References: <1992Feb11.210842.13993@boingo.med.jhu.edu> Date: Wed, 12 Feb 92 13:08:01 GMT