[gnu.emacs] GNUEmacs under X

john@DECWRL.DEC.COM (John Danner) (12/27/88)

Is it possible to pass the desired name of a GNUemacs window to GNUemacs
so that when iconfied the icon has that name instead of gnuemacs @ hostname?

I would like to name the icons with the name of their current buffer when
iconified, or just the name of the file that was passed to gnuemacs on the 
command-line on startup.  

Can anyone offer any help?

Thanks,
 John Danner                     Tandem Computers, Inc. 
 cracker@portia.stanford.edu  |  pacbell!tandem!wizard!john@decwrl.dec.com

bd@hp-sde.SDE.HP.COM (Bob Desinger) (12/29/88)

John Danner (cracker@portia.stanford.edu) asks:
> Is it possible to pass the desired name of a GNUemacs window to GNUemacs
> so that when iconfied the icon has that name instead of gnuemacs @ hostname?

Use a command-line argument of  -wn WindowName  to set the window name,
and  -in IconName  to set the icon name.  This applies to 18.52, and
probably some slightly earlier versions as well.  Look in src/x11term.c
for more (undocumented) command-line options; the man page needs a
little updating.

-- bd