Homebrew-emacs-plus: Blank Screen

Created on 19 Sep 2018  路  24Comments  路  Source: d12frosted/homebrew-emacs-plus

Hello, I'm having rather strange problem while trying to emacs-plus. it gives me total blank screen
System - Mojave

I've tried both version 25/26 and it get's me the same results. I use spacemacs

thanks

other

Most helpful comment

Merged. Please use --HEAD option for installing emacs-plus on macOS Mojave.

Thanks everyone who reported this issue and everyone who helped to find a workaround. 鉂わ笍

All 24 comments

Hi @Kwask94 ,

Sounds bad. I don't have Mojave on any of my computers yet, so I can't test it right away. Just a hint - try using --HEAD option during installation. Maybe there are fixes for new OS.

FWIW - Same problem for me. OSX Mojave.

Hit same problem on fresh install of Mojave. Tried reinstalling with --HEAD and issue unfortunately persists.

I get messages that some people are using emacs-plus on Mojave without any problems.

Based on their experience, I have a suggestion.

  1. Install the latest Xcode and command line tools.
  2. Then reinstall emacs-plus (release version should be ok).

Hope these can help:

I added these two patches to emacs-plus.rb and the issue got fixed:

    patch do
      url "https://github.com/emacs-mirror/emacs/compare/scratch/ns-drawing.patch"
      sha256 "95aad40f90b3750858c700152d46d5bf5062f12c76d77dd838998c86301fdcb8"
    end

    patch do
      url "http://emacs.1067599.n8.nabble.com/attachment/465838/0/0001-Fix-crash-on-flush-to-display-bug-32812.patch"
    end

The issue persists after installing the latest Xcode and command line tools.

Adding the patches

  patch do
      url "https://github.com/emacs-mirror/emacs/compare/scratch/ns-drawing.patch"
      sha256 "95aad40f90b3750858c700152d46d5bf5062f12c76d77dd838998c86301fdcb8"
  end

  patch do
      url "http://emacs.1067599.n8.nabble.com/attachment/465838/0/0001-Fix-crash-on-flush-to-display-bug-32812.patch"
  end

As dsdshcym mentions and then installing with --HEAD seems to have fixed the problem for me.

@fbkarsdorp thank you for checking. It's sad that it didn't work.

@dsdshcym nice! thank you very much! I will add these to formula.

@ChrisBuchholz thanks for checking it! Does it work without HEAD?

@ChrisBuchholz got my answer - doesn't work on release version.

FYI, I have a PR with this change. Will update readme and info message to help Mojave users.

Merged. Please use --HEAD option for installing emacs-plus on macOS Mojave.

Thanks everyone who reported this issue and everyone who helped to find a workaround. 鉂わ笍

There's another patch to fix a deprecation warning: https://lists.gnu.org/archive/html/emacs-devel/2018-09/msg00934.html

@aaronjensen looks good and not as big 馃樃

Would be nice if someone could check that this only patch works well on Mojave (instead two we've added yesterday).

@d12frosted that one is only the second part (the first part is here, which is what I incorrectly assumed was applied here already: https://lists.gnu.org/archive/html/emacs-devel/2018-09/msg00931.html)

I tried to apply those two patches to --HEAD and they didn't apply. It's possible that I did something wrong or that they're intended for emacs-26. Either way, what's there now works fine for now and we can probably wait until the official patches are applied to the emacs-26 branch (and then merged to master)

@aaronjensen I see. Thank you very much for checking this out 馃樃

I agree, let's wait for the official fixes.

FYI, fix was back-ported to release version and as a bonus - bottle for Mojave is available.

馃暫 There are still some render bugs, but it is usable.

http://lists.gnu.org/archive/html/bug-gnu-emacs/2018-10/msg00084.html

@aaronjensen thanks for linking it here.

P. S. I haven't faced this issue yet.

Facing the same rendering issue as @aaronjensen, sometimes it just renders a blank screen.
I'm on Mojave, installed emacs-plus with brew install emacs-plus --with-no-titlebar --without-spacemacs-icon --with-modern-icon --HEAD

The linked thread on bug gnu emacs is really long and it's still ongoing. Alan and Aaron are both working on finding the solution. Once they come with a solution, I think it will be pushed to master, so you'll get it automatically on HEAD. We'll see about 26.x later on.

been having the same blank screen problem when i installed emacs-plus with some options, eg

brew install emacs-plus --without-spacemacs-icon

if i just install emacs-plus with

brew install emacs-plus

everything runs smoothly on macOS Mojave (10.14.1).

hope this can help!

I still hit the issue after running plain old,

brew install emacs-plus

I see the following in the console on startup,

2019-01-18 21:11:57.577 Emacs[85077:4527086] Failed to initialize color list unarchiver: Error Domain=NSCocoaErrorDomain Code=4864 "* -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver" UserInfo={NSDebugDescription=* -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver}

I on macOS 10.14.2 with Xcode 10.1 (10B61).

Edit: Console output seems unrelated, see https://stackoverflow.com/questions/52521587/emacs-error-when-i-call-it-in-the-terminal.

I ended up just installing the emacs cask for now. I'll try again once this package is all caught up.

I had an old computer with Mojave and emacs-plus worked fine on it. When upgrading to a new computer this issue occurred and I've switched to emacs-mac for the time being (which I do have some problems with) until this issue is dealt with.

Was this page helpful?
0 / 5 - 0 ratings