[MacPorts] #56801: Incorrect path when opening emacs through the emacs.app application icon
MacPorts
noreply at macports.org
Thu Jul 12 15:07:34 UTC 2018
#56801: Incorrect path when opening emacs through the emacs.app application icon
------------------------+----------------------
Reporter: amicitas | Owner: drkp
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Resolution: | Keywords:
Port: emacs-app |
------------------------+----------------------
Description changed by mf2k:
Old description:
> 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).
New description:
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#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list