[comp.emacs] X emacs title bar

darrylo@HPNMXX.SR.HP.COM (Darryl Okahata) (05/11/91)

> How do I make emacs display the active file in the title bar of the X emacs 
> window? Thanks

     With the current FSF V18.57 release of GNU Emacs, you cannot do
this.

     However, the "unofficial HP GNU Emacs" contains a C (not elisp)
function called `x-HP-set-window-name' which allows you to change the
window name (this is merely a throwaway, stopgap function to use until
V19 is released).  You do need an ICCCM-compliant window manager,
though.  Using this function, it wouldn't be difficult to do most of
what you want.

     Please don't ask me to post patches, as I don't have the time to
separate out this function from the *many* X changes made to this
version.  If you want to see how it's done, just grab the sources to the
"unofficial HP GNU Emacs".  If you're a member of INTEREX, it's on this
year's contrib tape; if you're not, I have been told that a copy can be
obtained via anonymous ftp from me10.lbl.gov (128.3.128.110 -- the
filename is supposedly "/pub/interex/HUGE.tar.Z").

     -- Darryl Okahata
	Internet: darrylo@sr.hp.com

DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion or policy of Hewlett-Packard or of the
little green men that have been following him all day.