Homebrew-emacs-plus: Strange things in Mojave

Created on 29 Nov 2018  Â·  17Comments  Â·  Source: d12frosted/homebrew-emacs-plus

I'm not sure if this is emacs-plus related or it's simply Mojave breaks cocoa Emacs (in --devel and --head).

For some reason when I tried installing formula with --devel or --with-pdumper --HEAD - gui emacs won't display anything. It looks like it's working (not freezing), but there's nothing - just completely blank frame. Creating new frame doesn't fix that.
Installing with just --HEAD worked, but that for some reason completely screws my theme customizations, I don't know maybe they've changed how color customization work.

Anyone else seeing similar problems?

Most helpful comment

@agzam apparently, pdumper was merged to master, so I am opening this on Mojave. You can try it already :) It still building on my machine, but everything should be fine.

BTW, I've also opened x11 option for Mojave :) It's good to live in the year 2019!

All 17 comments

Hey,

It's a known issue on Mojave. It's partially fixed on master (--HEAD). But pdumper is not supported on Mojave right meow.

@d12frosted it is sad that pdumper doesn't work. I just received a new machine at work with Mojave and have no way to revert. Would you be so kind to ping me here whenever you or someone else gets it to work properly? Fundamentally I want xwidgets and pdumper - those things are cool.

Sure I will ping you. AFAIK, it is still not working.

Mojave release did break a lot of stuff in the Emacs land :(

Pdumper branch was merged to master https://www.reddit.com/r/emacs/comments/aglmzu/portable_dumper_landed_in_master. However, it still not working in Mojave. Just fyi

That's neat that it was merged :100:

Does it work now?

nope... I don't think it does. Not on my machine at least

Is this why --head seems to install Emacs version 26.1? When I run the following:

brew install emacs-plus --without-spacemax-icon --head --with-mailutils --with-dbus --with-ctags

And I open Emacs and run emacs-version, I get:

GNU Emacs 26.1 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-03-04

@parhamdoustdar that's because you have typos in your options list:

  1. It should be --HEAD instead of --head. This is why you don't get the latest version.
  2. It should be --without-spacemacs-icon instead of --without-spacemax-icon. That's why you don't get the default Emacs icon.

Thanks a lot for the answer! Yes, all mistakes on my side.

On Tue, Mar 5, 2019 at 6:03 AM Boris Buliga notifications@github.com
wrote:

@parhamdoustdar https://github.com/parhamdoustdar that's because you
have typos in your options list:

  1. It should be --HEAD instead of --head. This is why you don't get
    the latest version.
  2. It should be --without-spacemacs-icon instead of
    --without-spacemax-icon. That's why you don't get the default Emacs
    icon.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/d12frosted/homebrew-emacs-plus/issues/108#issuecomment-469538808,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVhG34jxJK4ldGno-4R_Gqy08D7Tcr_ks5vTfqGgaJpZM4Y5FZI
.

Just upgraded to Mojave and I have same issue described by OP launching Emacs.app that was built with --HEAD on High Sierra:

brew info emacs-plus
d12frosted/emacs-plus/emacs-plus: stable 26.1 (bottled), devel 26.1-rc1, HEAD
GNU Emacs text editor
https://www.gnu.org/software/emacs/
/usr/local/Cellar/emacs-plus/HEAD-d958487 (3,981 files, 128MB) *
  Built from source on 2018-10-09 at 23:26:24 with: --with-ctags --with-x11 --with-pdumper --with-mailutils
From: https://github.com/d12frosted/homebrew-emacs-plus/blob/master/Formula/emacs-plus.rb
==> Dependencies
Build: pkg-config ✔
Recommended: little-cms2 ✔, gnutls ✔, librsvg ✔, imagemagick@6 ✔
Optional: dbus ✘, mailutils ✔, jansson ✔
==> Requirements
Optional: x11 ✔

On terminal emacs -nw is working fine.

Trying to reinstall I get:

brew reinstall emacs-plus --HEAD  --with-spacemacs-icon
...
Error: invalid option: --HEAD

Edit:
Disregard the last, this works:

 brew uninstall emacs-plus  && brew install emacs-plus --HEAD  --with-spacemacs-icon

Just checking in to say that pdumper seems to be working for me, I didn't set the flag when building.

I can chime in with @foltrask that I built with pdumper on 10.14.4 and it seems to be working for me

Does that mean that --with-pdumper can be re-enabled for Mojave? Will it work?

Don't know. Needs to be tested. I'll try to check this out today.

@agzam apparently, pdumper was merged to master, so I am opening this on Mojave. You can try it already :) It still building on my machine, but everything should be fine.

BTW, I've also opened x11 option for Mojave :) It's good to live in the year 2019!

I am a slowpoke. If pdumper was merged to master that actually means that I can remove this part:

url "https://github.com/emacs-mirror/emacs.git", :branch => "pdumper"

Ok, here is a PR: https://github.com/d12frosted/homebrew-emacs-plus/pull/165

Anyways, closing this issue as for now Mojave is not an issue. Right? :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thomasheartman picture thomasheartman  Â·  5Comments

brabalan picture brabalan  Â·  3Comments

glepnir picture glepnir  Â·  6Comments

Blaisorblade picture Blaisorblade  Â·  6Comments

rudedogg picture rudedogg  Â·  7Comments