From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Postfixing ' emacs' to all frame titles.
Date: Tue, 27 Jul 2010 17:02:02 +0000 (UTC) [thread overview]
Message-ID: <slrni4u48a.4kv.nospam-abuse@powdermilk.math.berkeley.edu> (raw)
In-Reply-To: mailman.2.1280245551.14022.help-gnu-emacs@gnu.org
On 2010-07-27, Tim Visher <tim.visher@gmail.com> 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
next parent reply other threads:[~2010-07-27 17:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2.1280245551.14022.help-gnu-emacs@gnu.org>
2010-07-27 17:02 ` Ilya Zakharevich [this message]
2010-07-27 15:45 Postfixing ' emacs' to all frame titles Tim Visher
2010-07-28 13:14 ` Kevin Rodgers
2010-07-28 13:23 ` Lennart Borgman
2010-07-29 7:13 ` Kevin Rodgers
2010-07-29 11:59 ` Tim Visher
2010-07-31 3:41 ` filebat Mark
2010-07-31 7:30 ` Wang Lei
2010-07-31 9:40 ` filebat Mark
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrni4u48a.4kv.nospam-abuse@powdermilk.math.berkeley.edu \
--to=nospam-abuse@ilyaz.org \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.