I've got a couple of issues that crop up when doing this, but first a bit of background:
I'm new to the OSX world.
I've got TextMate, which is nice and GUI, but I prefer Emacs for writing C.
I use plain old GNU Emacs. I have a .emacs file that is shared across several machines, configuring a whole big pile of extensions. I mention this last because it means that tricks like this one to
switch the meta key to option instead of tab don't work everywhere. Which, in fact, leads to the first part of my issues: I need to have a way to have platform-specific
sections in my .emacs file so that I can have Mac-only code in there.
Secondly, if I expect to use this editor at all, I need to be able to launch it from the command line. Using symlinks into the .app/contents/MacOS directory doesn't work, as applications launched by symlink cannot find their resources, but it also seems counter to the idea of relocatable apps to add the internal structure of my bundle to my shell path. Is there a way around this? I usually run emacs-server and emacsclient, and right now I'm using the emacs build highlighted on Apple's page
here. I'm open to other builds, though -- there's a Cocoa emacs build hosted on Sourceforge that I'm willing to try. Whatever one has a simple way to integrate it with the command line, that's all I ask.
In addition, any other issues that might plague me as an emacs user on OSX?
posted by majick at 9:11 AM on October 1, 2006