From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.help Subject: Re: title of frame for GNU Emacs 21.3 under OS X (10.2) Date: Fri, 06 Sep 2002 21:51:01 +0200 Organization: Le Petomane Appreciation Society Sender: help-gnu-emacs-admin@gnu.org Message-ID: <87admu3niy.fsf@enberg.org> References: <3D78FBDC.8010908@mcw.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031351551 23211 127.0.0.1 (6 Sep 2002 22:32:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2002 22:32:31 +0000 (UTC) Return-path: Original-Received: from hermes.netfonds.no ([80.91.224.195]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17nRDD-0003u3-00 for ; Sat, 07 Sep 2002 00:04:23 +0200 Original-Received: from monty-python.gnu.org (monty-python.gnu.org [199.232.76.173]) by hermes.netfonds.no (8.12.1/8.12.1) with ESMTP id g86KG99e024981 for ; Fri, 6 Sep 2002 22:16:10 +0200 (CEST) Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17nPWQ-0000z8-00; Fri, 06 Sep 2002 16:16:06 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!h91n2fls32o1112.telia.COM!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: h91n2fls32o1112.telia.com (213.65.65.91) Original-X-Trace: fu-berlin.de 1031342607 59830169 213.65.65.91 (16 [125297]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:Y5lxcExE7IWZXAovLBA1vkaAj7U= Original-Xref: nntp.stanford.edu gnu.emacs.help:104551 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1108 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1108 Rodney Sparapani writes: > I've been trying to change the title of my frame for GNU Emacs 21.3 > under OS X (10.2). The info documentation seems to discuss only X11 and > Windows, but not Carbon which is how I'm set up (i.e. --without-x > --with-carbon). Right now the title is 'Emacs@My-Computer.local'. I > know how to change the "My-Computer" part within OS X, but I'm at a > loss to configure the whole title with Emacs itself. You can change the variable `frame-title-format' to your liking. `icon-title-format' may also be of interest. Here's an example that shows "Emacs: /path/to/file.c" if the current buffer is a real file or "Emacs: buffername" if it's just a buffer. (setq frame-title-format '(:eval (if buffer-file-name "Emacs: %f" "Emacs: %b"))) -- Booting... /vmemacs.el