From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: frame-title-format issue of emacs23.3/emacs24.0.95.1 on Fedora16/17 Date: Sat, 26 May 2012 21:19:05 +0300 Message-ID: <83396mx0ti.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1338056358 13009 80.91.229.3 (26 May 2012 18:19:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 May 2012 18:19:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 26 20:19:17 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SYLa3-00020x-Qi for geh-help-gnu-emacs@m.gmane.org; Sat, 26 May 2012 20:19:11 +0200 Original-Received: from localhost ([::1]:39006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYLa3-0003ix-Ct for geh-help-gnu-emacs@m.gmane.org; Sat, 26 May 2012 14:19:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYLZy-0003ig-8i for help-gnu-emacs@gnu.org; Sat, 26 May 2012 14:19:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SYLZw-0002Bv-K6 for help-gnu-emacs@gnu.org; Sat, 26 May 2012 14:19:05 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:43714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYLZw-0002Bp-Cf for help-gnu-emacs@gnu.org; Sat, 26 May 2012 14:19:04 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M4N006006P5EA00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Sat, 26 May 2012 21:19:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M4N006LY6VPEO00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Sat, 26 May 2012 21:19:02 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85000 Archived-At: > Date: Sat, 26 May 2012 22:05:39 +0800 > From: =E6=AF=9B=E7=A4=BC=E6=9D=B0 >=20 > It may be a bug ? I don't think so. > cat ~/.emacs > (setq frame-title-format '("%m @ "(buffer-file-name "%f" (dired-dir= ectory > dired-directory "%b")))) >=20 > I just want to set the frame-title-format to %f for my emacs24.0.95 >=20 > But it don't work, i can't see the %f format on the title >=20 > After emacs start, i use C-h v frame-title-format > it shows: > frame-title-format is a variable defined in `C source code'. > Its value is "%b - emacs@host" You omitted the important part: It is used only on frames for which no explicit name has been set (see `modify-frame-parameters'). And if I evaluate (frame-parameters (selected-frame)) I see there (explicit-name). So I think your customization is ignore= d by design. I think you should set the `title' frame parameter instea= d.