🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #2032

Re: Set title of emacs window under X ???

#2032
From: Leonardo C. Topa
Date: Thu, 27 Jun 1991 21:59
40 lines
1886 bytes
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.91Jun25002058@raven.bu.edu>,
|> >>>>> 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
Technical Details
Message-ID: <16703@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!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
References: <881@llnl.LLNL.GOV> <JC.91Jun25002058@raven.bu.edu> <1991Jun25.130929.2748@maytag.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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> <JC.91Jun25002058@raven.bu.edu> <1991Jun25.130929.2748@maytag.waterloo.edu>
Sender: news@ai.mit.edu
Distribution: na
Organization: MIT Artificial Intelligence Laboratory
Lines: 40