Skip to content

fix: frame title still shown - #108

Open
azzamsa wants to merge 1 commit into
rougier:masterfrom
azzamsa:patch-frame-title
Open

fix: frame title still shown#108
azzamsa wants to merge 1 commit into
rougier:masterfrom
azzamsa:patch-frame-title

Conversation

@azzamsa

@azzamsa azzamsa commented Dec 5, 2021

Copy link
Copy Markdown
Contributor

Hi.

(setq frame-title-format nil) and (setq frame-title-format "") doesn't work in my end. However setting it to (setq frame-title-format " ") works.

I think it because "" also evaluates to nil

@azzamsa

azzamsa commented Dec 8, 2021

Copy link
Copy Markdown
Contributor Author

I think we need to set icon-title-format too. As described here:

@rougier

rougier commented Dec 15, 2021

Copy link
Copy Markdown
Owner

Oh, good to know. What is you system (on OSX, I use a patched Emacs to get rid of the title entirely). Does yu PR make the title completely disappear?

@azzamsa

azzamsa commented Dec 15, 2021

Copy link
Copy Markdown
Contributor Author

Yes. It my previous version of Emacs. But Now I need to add one more additional line

;; No hostname in frame title
;; Without setting the `icon-title-format`. The window title will revert
;; back to its original value after loosing its focus.
(setq frame-title-format '("" invocation-name " - " "%b"))
(setq icon-title-format '("" invocation-name " - " "%b"))
❯ sfetch
OS: Debian GNU/Linux 11 (bullseye)
Emacs version: GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-12-07
``

@rougier

rougier commented Dec 15, 2021

Copy link
Copy Markdown
Owner

Oh, Emacs 29 might be a bit too ahead of current (27.2) version. Does you "hack" works on 27.2 as well ?

@azzamsa

azzamsa commented Dec 17, 2021

Copy link
Copy Markdown
Contributor Author

Sorry. I only have GNU Emacs 29.0.50 on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants