I've never tried to build an x11-based version of emacs for MacOS; I usually just build the NextStep version from the FSF distribution and use native MacOS windows.

Having said that, I'm not sure about brew, but I don't think that macports defaults to building a version of emacs that supports x11. It appears that you need to specify that variant explicitly.

When using macports, did you try

    port install --enforce-variants emacs+x11

or perhaps

    port install --enforce-variants emacs+x11+gtk

On my MacOS 10.10.5 system macports lists these variants:

% port variants emacs
emacs has the variants:
   dbus: Builds emacs with D-Bus support
   gtk: Builds emacs as an X11 program with GTK+2 widgets
     * requires x11
   imagemagick: Use ImageMagick
     * requires x11
   motif: Builds emacs as an X11 program with Motif widgets
     * requires x11
   universal: Build for multiple architectures
   x11: Builds emacs as a X11 program with Lucid widgets

Mike

On Mon, 27 Mar 2017, Timothy Harvey wrote:

Folks,
When I start emacs, it always starts in that same xterm rather than in its own 
(X11) window.

I'm running Mac OS 10.12.3 on a 2016 MacBook Pro, XQuartz 2.7.9.

I've compiled multiple versions of Emacs (22, 23, 25, and 26), and they all act the same. 
 I've tried using both macports and brew, although neither seems to like the 
"with-x" command line flag, but both compile it up just fine.

When in emacs, I type meta-x emacs-version, and I get the following:

GNU Emacs 25.1.1 (x86_64-apple-darwin16.4.0) of 2017-03-24

...I suspect that I've got an X setting incorrect, but I'm stumped; please let 
me know if there's any other info I need to provide.

Thanks very much,
Tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to