|
From: | Kevin Rodgers |
Subject: | Re: Emacs and Exceed quirky question. |
Date: | Fri, 17 Feb 2006 10:13:23 -0700 |
User-agent: | Mozilla Thunderbird 0.9 (X11/20041105) |
DaLoverhino wrote:
Hello. I run exceed at work, and use GNU emacs + exceed xterm to do unix development. When I type 'emacs -T MyProject', an emacs window pops up with 'MyProject' as the title of the emacs window. The same label appears in the task bar. However, when I minimize the window, and look at my task bar, the label disappears, and is replaced by 'emacs@machine.blah'. How do I have it so that the title 'MyProject' appears in the task bar regardless of whether the window is opened or minimized? (The reason being, is that I'll have 2-3 emacs windows up with different projects in them.)
Specifying the -T (aka -title) command line option calls x-handle-switch (see startup.el), which adds the title frame parameter to default-frame-alist (see term/x-win.el). According to the Window Frame Parameters node of the Emacs Lisp manual, the icon-name frame parameter defaults to the frame title. So the behavior you're seeing should not happen, unless something else has set the icon-name frame parameter (or the iconName X resource). What happens when you run: emacs --no-site-file -q -T MyProject What happens if you put this in your ~/.emacs (and run emacs with just the -T MyProject option): (setq icon-title-format frame-title-format) -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |