Symlinking Emacs.app to the $PATH

Tim Visher tim.visher at gmail.com
Thu Nov 13 16:22:00 PST 2008


Hello Everyone,

I'm attempting to make Emacs.app my default installation.  I read
somewhere that one way to do this is to symlink
/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs onto your path.

What I've done so far is to `ln -s
/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs ~/.bin/emacs`
where `~/.bin` is on my $PATH.  Unfortunately, when I run this, I get
the following error:

    Warning: arch-dependent data dir
(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_emacs-app/work/emacs-23.0.0_NS-9.0rc3/nextstep/build/Emacs.app/Contents/MacOS/libexec/emacs/23.0.60/i386-apple-darwin9.5.0/)
does not exist.
    Warning: arch-independent data dir
(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_emacs-app/work/emacs-23.0.0_NS-9.0rc3/nextstep/build/Emacs.app/Contents/Resources/share/emacs/23.0.60/etc/)
does not exist.
    Cannot open load file: encoded-kb

What's even stranger is that if I actually run
`/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs` directly, it
works exactly as I want it to.

Anyway, ideas?  Thanks in advance!

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail


More information about the macports-users mailing list