help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: title of frame for GNU Emacs 21.3 under OS X (10.2)


From: Henrik Enberg
Subject: Re: title of frame for GNU Emacs 21.3 under OS X (10.2)
Date: Fri, 06 Sep 2002 21:51:01 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Rodney Sparapani <rsparapa@mcw.edu> writes:

> I've been trying to change the title of my frame for GNU Emacs 21.3
> under OS X (10.2). The info documentation seems to discuss only X11 and
> Windows, but not Carbon which is how I'm set up (i.e. --without-x
> --with-carbon).  Right now the title is 'Emacs@My-Computer.local'.  I
>   know how to change the "My-Computer" part within OS X, but I'm at a
>   loss to configure the whole title with Emacs itself.

You can change the variable `frame-title-format' to your liking.
`icon-title-format' may also be of interest.

Here's an example that shows "Emacs: /path/to/file.c" if the current
buffer is a real file or "Emacs: buffername" if it's just a buffer.

(setq frame-title-format
      '(:eval (if buffer-file-name
                  "Emacs: %f"
                "Emacs: %b")))

-- 
Booting... /vmemacs.el


reply via email to

[Prev in Thread] Current Thread [Next in Thread]