Xref: utzoo gnu.emacs.help:2460 comp.emacs:10979 comp.windows.x:38074 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!think.com!snorkelwacker.mit.edu!ai-lab!ai.mit.edu!leo From: leo@ai.mit.edu (Leonardo C. Topa) Newsgroups: gnu.emacs.help,comp.emacs,comp.windows.x Subject: Re: Set title of emacs window under X ??? Message-ID: <16703@life.ai.mit.edu> Date: 27 Jun 91 21:59:53 GMT References: <881@llnl.LLNL.GOV> <1991Jun25.130929.2748@maytag.waterloo.edu> Sender: news@ai.mit.edu Distribution: na Organization: MIT Artificial Intelligence Laboratory Lines: 40 In article <1991Jun25.130929.2748@maytag.waterloo.edu>, himacdonald@watmsg.uwaterloo.ca (Hamish Macdonald) writes: |> >>>>> On 25 Jun 91 04:20:58 GMT, |> >>>>> In message , |> >>>>> jc@raven.bu.edu (James Cameron) wrote: |> |> James> I use to do this: |> |> James> alias xn "cp $HOME/.Xdefaults $HOME/.Xdefaults-save; |> James> echo 'emacs*iconName: \!:1' | cat >> $HOME/.Xdefaults; |> James> xrdb -quiet -load $HOME/.Xdefaults;emacs -rn emacs -wn \!:1 \!:1; |> James> mv $HOME/.Xdefaults-save $HOME/.Xdefaults&" |> |> How about: |> |> alias xn "'echo 'emacs*iconName: \!:1' | xrdb -quiet -merge -; |> emacs -rn emacs -wn \!:1 \!:1 &" |> |> This saves you all that mucking about with .Xdefaults files. No sed |> required, either. |> |> Better yet, get Epoch. |> -- |> -------------------------------------------------------------------- |> himacdonald@watmsg.uwaterloo.ca watmath!watmsg!himacdonald how about: alias xn "emacs -wn \!:1 -in \!:2 &" you can't change either the icon name or the window title, once emacs is running, from within emacs. -- Leonardo C. Topa Massachusetts Institute of Technology Room E25-506 45 Carleton Street Cambridge, MA 02139 internet: lct@ai.mit.edu