emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modernize frame-title-format: "%b - GNU Emacs"


From: Gregory Heytings
Subject: Re: Modernize frame-title-format: "%b - GNU Emacs"
Date: Thu, 27 Aug 2020 09:07:35 +0000
User-agent: Alpine 2.22 (NEB 394 2020-01-19)



Lars Ljung proposed to change frame-title-format to something more modern and similar to Firefox, gvim, Gimp, LibreOffice, etc.: https://debbugs.gnu.org/41147


FWIW, on Debian GNU/Linux, this is what some other programs do:

"<title of the page displayed in the current tab> - Mozilla Firefox"

"<title of the page displayed in the current tab> - Google Chrome"

"<file name being played> - VLC media player" (with a playlist with two or more 
items)

"VLC media player" (with an empty playlist or one with a single file)

"MPlayer"

"<file name> - LibreOffice {Calc|Writer|...}"

"<modification status>[<file name without extension>] <detailed information about the file> - GIMP", 
where <modification status> is "" or "*"

In short, there is no clear convention.

On macOS, title bars have mostly disappeared, but a few apps still use it, for example:

"<file name>" (LibreOffice or TextEdit)

"<buffer name>" (GNU Emacs, the default value for frame-title-format is t)

I would personally vote for something like:

(setq frame-title-format '("%* %b - " (:eval (format "GNU Emacs %d on %s" 
emacs-major-version system-name))))

Gregory



reply via email to

[Prev in Thread] Current Thread [Next in Thread]