From: Quokka <NoSpam@iinet.net.au>
Subject: Re: Setting frame title
Date: Wed, 16 Feb 2005 10:25:51 +0800 [thread overview]
Message-ID: <4212aefa$0$12255$5a62ac22@per-qv1-newsreader-01.iinet.net.au> (raw)
In-Reply-To: <1108519088.071990.54350@l41g2000cwc.googlegroups.com>
dougtle@yahoo.com wrote:
> Newbie Emacs user here.
>
> This the version I'm using:
> GNU Emacs 21.3.1 (hppa2.0w-hp-hpux11.00, Motif Version 2.1.0)
>
> I want to be able to set the window title (and icon) of the current
> frame to the current buffer file. I've googled this newsgroup and
> I keep finding methods that involves set-frame-title or
> modify-frame-parameters. However, I cannot seem to find these
> options or settings on my Emacs.
>
> The only thing I can do is: default-frame-alist (name . "foo")
>
> However, it doesn't take a variable name like %b or (buffer-name).
> It only take the literal string and sets the window title to it.
>
From my .emacs.el ...
(setq-default frame-title-format (list "%65b %f")) ; put file/buffer
name in frame title
(setq-default icon-title-format (list "%b")) ; put buffer name in icon
Hope that helps
Paul
next prev parent reply other threads:[~2005-02-16 2:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-16 1:58 Setting frame title dougtle
2005-02-16 2:25 ` Quokka [this message]
2005-02-16 17:55 ` Drew Adams
2005-02-16 23:03 ` August
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='4212aefa$0$12255$5a62ac22@per-qv1-newsreader-01.iinet.net.au' \
--to=nospam@iinet.net.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).