The frame title I can see in an emacs window on my computer running Windows 11 is "emacs@NEYMAN", where "Neyman" is the computer name. Is it possible to make the frame title more informative and reflect the contents of the file? Ideally, I would like to be able to specify the frame title in one of the first lines of the text file.
The reason I am asking is that I am accustomed to never combining taskbar buttons in Windows 10, but Windows 11 has removed this option. When I hover over a combined emacs button on the taskbar, I am shown the frame titles of all open emacs files, and those titles don't give me any idea of the files' contents.
There is a section (C.11 in my version) about frame titles in "GNU Emacs Manual", but I can't see how I can customize the frame title for an individual file.
frame-title-format
to specify what is displayed in the title bar. I have the following in my .emacs file(setq-default frame-title-format '("%& %b [%m] %f - " invocation-name "@" system-name))
(setq-default frame-title-format '("%b"))
a lot.