From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.help Subject: Re: Postfixing ' emacs' to all frame titles. Date: Tue, 27 Jul 2010 17:02:02 +0000 (UTC) Organization: U.C. Berkeley Math. Department. Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1291852611 15874 80.91.229.12 (8 Dec 2010 23:56:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 23:56:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 00:56:47 2010 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.69) (envelope-from ) id 1PQTsN-0007tl-LW for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 00:56:47 +0100 Original-Received: from localhost ([127.0.0.1]:46595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQTsN-0008ME-3q for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 18:56:47 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Injection-Date: Tue, 27 Jul 2010 17:02:02 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="LlLjF8LevGdIZWbTvv+SXA"; logging-data="30406"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LlPAspUXjAD2m3QtomU14" User-Agent: slrn/0.9.8.1pl1 (Linux) Cancel-Lock: sha1:pIJ7RRzWsXEO0Xj8s1XW6H2lJAc= Original-Xref: usenet.stanford.edu gnu.emacs.help:180115 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:76253 Archived-At: On 2010-07-27, Tim Visher wrote: > Hi everyone, > > I'm wondering if there's a simple way to postfix ' emacs' to all frame > titles without resorting to [elisp from the web][1]. Couldn't find > anything in Chapter 25 but I didn't search much harder than that. > > [1]: http://www.emacswiki.org/emacs/FrameTitle I'm using (setq need-app-name-in-title (not (eq window-system 'pm))) (setq frame-title-format '((need-app-name-in-title "Emacs: " "") ;; contains "Emacs: " for special buffers ;; mode-line-buffer-identification (buffer-file-name ;; "%f" mode-line-buffer-identification ;;; (:eval (mode-line-replace-regexp-in-alist-with-prop ;;; buffer-file-name ;;; mode-line-abbreviation-alist ;;; (car mode-line-buffer-identification))) "%b"))) (This may or may not be dependent on mode-line.el which provides meaningful buffer names.) Hope this helps, Ilya