[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to add the encoding in the emacs window?
From: |
Ke Lu |
Subject: |
Re: How to add the encoding in the emacs window? |
Date: |
Mon, 03 Dec 2007 20:56:47 +0900 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
It's great.
bojohan+news@dd.chalmers.se (Johan Bockgård) writes:
> "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