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

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

Re: How to add the encoding in the emacs window?


From: Johan Bockgård
Subject: Re: How to add the encoding in the emacs window?
Date: Mon, 03 Dec 2007 00:27:30 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

"address@hidden" <address@hidden> 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


reply via email to

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