Opened 6 years ago

Last modified 4 years ago

#56801 closed defect

Incorrect path when opening emacs through the emacs.app application icon — at Version 2

Reported by: amicitas Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc:
Port: emacs-app

Description (last modified by mf2k (Frank Schima))

emacs-app @26.1_3

When opening Emacs through the /Applications/MacPorts/Emacs.app, the PATH environment is incorrect. Rather than using the macports path, the default system path is used.

If I run Emacs from a terminal window by typing the command /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs, the path environment is ok.

Expected:

M-! which ssh -> /opt/local/bin/ssh

Actual:

M-! which ssh -> /usr/bin/ssh

This problem does not exist in emacs-app @25.3_0; after activating that older issue the paths is correct. The problem exists in both @26.1_2 and @26.1_3 (other versions not tested).

Change History (2)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Owner: set to drkp
Status: newassigned

In the future, please use WikiFormatting and add the port maintainer(s) to Cc (port info --maintainers emacs-app), if any.

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.