Windowed emacs in X11

Dear Apple Discussions,

I noticed that the built in emacs does not open up a new window in X11 - instead it runs in the terminal.
However if I start an emacs session on a remote computer X11 will give me a new window.

Any thoughts as to why this is?

Thanks

Posted on Jul 20, 2005 10:02 AM

Reply
19 replies

Sep 10, 2005 8:55 PM in response to Bill Scott

Xwindows applications can iconify but to my knowledge they don't do the OS 9 window shade thing.


Window shade? You mean, where it collapses to a shape the size of the title bar only?

It depends on the window manager. Some do, some don't. At work I use Afterstep; it does. Apple's window manager doesn't; they went with the "send it to the Dock" idea instead.

Sep 13, 2005 4:35 PM in response to Bertrand Biritz

I had a similar issue with an user I was supporting (our IT
does not "support" Macs, and has minimal experience, but as the Unix guy I got to support this user).

The user was complaining about differences between xterm and
default terminal. One difference was emacs would start in
separate window on one (I think xterm) and in non-windowed mode in other. Setting $DISPLAY in terminal did not change
situation.

I could not figure out differences re where the two were getting default paths, etc (I think one was running tcsh and the other just csh, no idea why) so eventually just added to .cshrc a line explicitly adding any dirs occuring only in one term app's path (figuring dups in path are relatively harmless, and assuming order should matter little). At that point neither would open a new window.

Anyway, I can't explain above or the following, but by aliasing emacs to something like /Applications/Emacs/.../Emacs
(forget the exact path, but there was an Emacs with capital
E file in directory one or two above the one with the emacs
executable found by 'which' command), the command would
always open X emacs window.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Windowed emacs in X11

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.