homebrew-emacs-plus: Update breaks app appearance

With the option to turn off the frame title bars gone we have to resort to specifying it in the init.el where it gets loaded AFTER the app has already launched, not at launch. This would be sort of acceptable if it would work at all but after some searching this part of Emacs 26 was never finished. All it does is turn off the title bar, leaving a bigass gap on the screen top area. Also this doesn’t seem to be documented as people find this stuff out by accident it seems.

Also I tried to fix it by stepping back one version and got this error message.

brew search emacs-plus
==> Searching local taps...
d12frosted/emacs-plus/emacs-plus ✔
==> Searching taps on GitHub...
==> Searching blacklisted, migrated and deleted formulae...

Is there some special trick to step back to working versions?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 35 (18 by maintainers)

Most upvoted comments

@mclearc not at all similar. This just darkens the title bar and sets the text to white somewhen after the application has already launched. This just skins the window. --with-no-title-bars removed them.

@d12frosted the workaround you’re noting in the caveats to get the exact same behaviour, doesn’t yield a similar result. It just darkens the title bar and leaves the text black.

The behaviour that --with-no-title-bars brought was exactly that. No title bars. The frame started right below the menubar and either filled the entire screen or just left stuff of windows that wasn’t necessary for Emacs.

@frankjonen Ok, possibly that was a bad decision to remove this option. Sorry for that. I will look into it ASAP, but I doubt that it’ll happen before the weekends.

If someone wants to step in, you know, PRs are WARMLY welcome! 😸

@benjamin-rood --with-no-titlebar should work now on Mojave HEAD. Note that building on Mojave without HEAD is not supported yet.

Please try without --with-no-titlebar. I will take a look why this one fails.

It’s a well-meaning setting (and one that I had commented on before). Unfortunately it leaves you with a gap where the title bar used to be and no way to grab on to the window to scale it up vertically. Probably could do it with an AppleScript (example on my Pastebin) but I have no idea how to trigger it from the init.el / spacemacs.el setup.

Using normal installation.

In Emacs Preferences I’ve searched high and low for anything remotely resembling title bar related stuff. Absolutely nothing.