all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs and Exceed quirky question.
@ 2006-02-16 18:59 DaLoverhino
  2006-02-17  1:21 ` ChunYe Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: DaLoverhino @ 2006-02-16 18:59 UTC (permalink / raw)


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.)

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs and Exceed quirky question.
  2006-02-16 18:59 Emacs and Exceed quirky question DaLoverhino
@ 2006-02-17  1:21 ` ChunYe Wang
  2006-02-17  9:24 ` Peter Dyballa
  2006-02-17 17:13 ` Kevin Rodgers
  2 siblings, 0 replies; 4+ messages in thread
From: ChunYe Wang @ 2006-02-17  1:21 UTC (permalink / raw)


"DaLoverhino" <DaLoveRhino@hotmail.com> writes:

> 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.)
> 
> Thanks.
> 

the following is my preference. 

(setq frame-title-format '((:eval (getenv-internal "LOGNAME")) 
                           "@"
                           (:eval (system-name))
                           ":"
                           (:eval (or (buffer-file-name)
                           (buffer-name)))))

your requirment is too simple for emacs.

(setq frame-title-format "MyProject")

Start multiple emacs instance is not a good idea. it is difficult to
exchange information between them. 


-- 
Wang ChunYe

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs and Exceed quirky question.
  2006-02-16 18:59 Emacs and Exceed quirky question DaLoverhino
  2006-02-17  1:21 ` ChunYe Wang
@ 2006-02-17  9:24 ` Peter Dyballa
  2006-02-17 17:13 ` Kevin Rodgers
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2006-02-17  9:24 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 16.02.2006 um 19:59 schrieb DaLoverhino:

> How do I have it so that the title 'MyProject' appears in the task bar
> regardless of whether the window is opened or minimized?

Could be "-xrm 'Emacs*iconName: MyProject'" works ...

Another way to lookup information is info: C-h i m Emacs <RET> m  
Resources <RET> (TAB is possible to complete a name).

--
Greetings

   Pete

Build a man a fire and he'll be warm for a night, but set a man on  
fire and he'll be warm for the rest of his life.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs and Exceed quirky question.
  2006-02-16 18:59 Emacs and Exceed quirky question DaLoverhino
  2006-02-17  1:21 ` ChunYe Wang
  2006-02-17  9:24 ` Peter Dyballa
@ 2006-02-17 17:13 ` Kevin Rodgers
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2006-02-17 17:13 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-17 17:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16 18:59 Emacs and Exceed quirky question DaLoverhino
2006-02-17  1:21 ` ChunYe Wang
2006-02-17  9:24 ` Peter Dyballa
2006-02-17 17:13 ` Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.