From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ke Lu Newsgroups: gmane.emacs.help Subject: Re: How to add the encoding in the emacs window? Date: Mon, 03 Dec 2007 20:56:47 +0900 Organization: Bentium Ltd. (CN99) Message-ID: References: <2cd210e4-ee59-4bb1-894e-372127f82711@f3g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1196685661 24409 80.91.229.12 (3 Dec 2007 12:41:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2007 12:41:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 03 13:41:10 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IzAbl-0001E0-SA for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Dec 2007 13:41:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzAbV-0005Vz-3K for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Dec 2007 07:40:53 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bbh.net.cn!news.neu.edu.cn!news.cn99.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: softbank218118058050.bbtec.net Original-X-Trace: news.cn99.com 1196687389 14910 218.118.58.50 (3 Dec 2007 13:09:49 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Mon, 3 Dec 2007 13:09:49 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:EglH7h+9Ij33+jjRACiyT6hb2Gc= Original-Xref: shelby.stanford.edu gnu.emacs.help:154361 X-Original-Bytes: 1611 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49790 Archived-At: It's great. bojohan+news@dd.chalmers.se (Johan Bockgård) writes: > "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