all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: help-gnu-emacs@gnu.org
Subject: Re: How to add the encoding in the emacs window?
Date: Mon, 03 Dec 2007 00:27:30 +0100	[thread overview]
Message-ID: <yoijve7gr82l.fsf@remote1.student.chalmers.se> (raw)
In-Reply-To: 2cd210e4-ee59-4bb1-894e-372127f82711@f3g2000hsg.googlegroups.com

"avilella@gmail.com" <avilella@gmail.com> writes:

> I would like to know if it is possible to have the encoding specified
> in a given emacs window:
> when I open emacs with GNOME, the window specifies something like:
> "emacs -- myfile.ext"
> and I would like to have the window name being for example: "emacs
> UTF-8 -- myfile.ext"

(setq frame-title-format
      '("Emacs "
        ;; Or try "%Z", coding system mnemonic (cf. mode line)
        (:eval (symbol-name buffer-file-coding-system))
        " -- %f"))

-- 
Johan Bockgård

  parent reply	other threads:[~2007-12-02 23:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-02  9:45 How to add the encoding in the emacs window? avilella
2007-12-02 21:33 ` Peter Dyballa
2007-12-02 23:27 ` Johan Bockgård [this message]
2007-12-03 11:56   ` Ke Lu

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yoijve7gr82l.fsf@remote1.student.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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.