unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ke Lu <lu@luxdo.jp>
To: help-gnu-emacs@gnu.org
Subject: Re: How to add the encoding in the emacs window?
Date: Mon, 03 Dec 2007 20:56:47 +0900	[thread overview]
Message-ID: <m3prxong8w.fsf@www.luxdo.jp> (raw)
In-Reply-To: yoijve7gr82l.fsf@remote1.student.chalmers.se

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

      reply	other threads:[~2007-12-03 11:56 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
2007-12-03 11:56   ` Ke Lu [this message]

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=m3prxong8w.fsf@www.luxdo.jp \
    --to=lu@luxdo.jp \
    --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.
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).