[MacPorts] #56801: Incorrect path when opening emacs through the emacs.app application icon

MacPorts noreply at macports.org
Thu Jul 12 12:56:31 UTC 2018


#56801: Incorrect path when opening emacs through the emacs.app application icon
----------------------+-----------------------
 Reporter:  amicitas  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.5.3
 Keywords:            |       Port:  emacs-app
----------------------+-----------------------
 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).

-- 
Ticket URL: <https://trac.macports.org/ticket/56801>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list