I'm using Gnu emacs in Windows XP, and the default window title reads "emacs@ACH1797VM2" rather than the buffer title, which is what I want and which is the correct default behavior, as far as I know.
After reading https://mcmap.net/q/1053353/-change-x11-window-title-after-emacs-started, I put the following line at the end of my ~/.emacs file, but there's no change in the behavior.
(setq frame-title-format "%b - emacs")
I can change the window title just fine with
M-x set-frame-name NewName RET
but I want it to change automatically to match the buffer name.
frame-title-format
variable? – Singlephase(multiple-frames "%b" ("" invocation-name "@" system-name))
. – Seafaring