Ticket #12115 (closed defect: fixed)
BUG: emacs-app can't see code installed by other elisp packages
| Reported by: | cmc@… | Owned by: | css@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | Port Bugs |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: |
Description
The new emacs-app package installs itself in /Applications/MacPorts/Emacs.app, whereas previous Carbon Emacs installs (such as emacs-devel +carbon) split the Mac OS X application piece off from various support files. Emacs-app doesn't look at the /opt/local/share/emacs directory for other elisp code, so packages such as auctex do not work with emacs-app.
The simple fix appears to be to modify epaths.h at build time to include the /opt/local paths. Alternatively, I would be fine with going back to the way the Carbon Emacs.app was installed in previous Emacs packages.
(Note that it is also possible to modify your load-path in your .emacs file or your EMACSLOADPATH environment variable, either of which works as a temporary workaround. But packaged software should work with other packaged software, so one of the other solutions is needed for a real fix.)

