Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Install and use an Aqua Emacs editor UNIX
First download Emacs on Aqua from SourceForge. I'd recommend getting the source and building (easy -> download, untar and cd into the directory and do a ./configure, make, make install. YMMV, try the prebuilt one first, and drop into the Applications folder (I had to build from source on a 10.1.2 TiBook).

Then, this is the cool part. In your shell profile, set an alias to:
emacs='/Applications/ --insert'
Now type emacs myfilename on a command line and it will start it up like an Xemacs session :-) woohoo. Good news is that JDE also works fine with Emacs on Aqua.

- Winton (an old fashioned Unix for coding and Mac for Everything else kindofguy!)

[Editor's note: I tried building from source, and although the application compiled fine, it quit unexpectedly on launch, so I was unable to test the alias portion of the tip. I've been using Carbon Emacs which seems to work fine.]
  • Currently 3.67 / 5
  You rated: 5 / 5 (3 votes cast)

Install and use an Aqua Emacs editor | 7 comments | Create New Account
Click here to return to the 'Install and use an Aqua Emacs editor' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Unexpected quits in Emacs.
Authored by: tim_bissell on Jan 19, '02 04:17:07PM

Emacs has some file paths hardwired in it, so you must install in
as /Applications/, otherwise you will get unexpected exits.
You can get away with symbolic links of your root filesystem is UFS,
I'm not sure about HFS.
If you want some error output, run emacs from the command line.

[ Reply to This | # ]
GUI emacs options
Authored by: ngb on Jan 22, '02 12:46:05AM
If you've already got XFree86 and XDarwin running, I think the best Emacs option is Xemacs. Of course it takes up a lot of overhead if Emacs is all you're running. I've tried Carbon Emacs and Emacs on Aqua, and preferred Emacs on Aqua. Too bad Alpha hasn't been ported to X yet.

[ Reply to This | # ]
Is there a way to...
Authored by: ajr on Jan 27, '02 05:46:27PM

have this open files from other servers. I know when running linux, if I ssh to another server and then "emacs <filename> &" it will open emacs within my system. Is there any way to do this with this program?? I work off of a lot of linux boxes, and this would help immensly!

[ Reply to This | # ]
Is there a way to...
Authored by: packy on Jan 29, '02 11:21:39AM
Simplicity itself. Run XDarwin (at, and from an xterm window type:
Once you're there, check to see if your $DISPLAY variable is set:
If you get a blank line, define your display to be your OSX box (I'm using a bash syntax here, your milage may vary):
export DISPLAY
Voila! Now, when you do anything that creates an X window, the X window will appear on your Mac! All that's happening is the remote linux system is using your Mac to display the emacs session it's running. All the real work is being done on the remote linux box.

[ Reply to This | # ]
alias syntax problem
Authored by: sjthomas on Feb 05, '02 12:45:48PM

I have compiled my Aqua-Emacs files and I can run it if I double-click on it from the Mac OS X finder, but the tip for the alias isn't working. I suspect a simple shell syntax problem but I am a Terminal newbie and can't figure out how to fix it. Help?

I have the following line in my .tcshrc file:
alias emacs '/Applications/ --insert'

When I type emacs at the command line I get the following:
emacs: Option `--insert' requires an argument


[ Reply to This | # ]
alias syntax problem
Authored by: ether on Jul 19, '02 04:52:16PM

if you leave the "--insert" off it will work, but you
will have to open files inside emacs. If you leave it
there, you have to say "emacs FILENAME" for some (not
necessarily existing) filename.

[ Reply to This | # ]
Aqua Emacs works fine in Applications folder
Authored by: on Dec 14, '02 07:07:31PM

I just installed it in MacOS X Version 10.2.1 fine. It just needs to be placed in the Applications folder.

Benjamin Russell

[ Reply to This | # ]