Bryan Emrys wrote:
/usr/local/bin is also in /etc/paths

if I echo $PATH, I get

/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

How are you echoing path, starting up a terminal, or within
Emacs M-x shell?

What if you try M-x getenv <RET> PATH <RET> in Emacs?



Thanks,

Bryan

On Thu, Jan 20, 2011 at 1:33 PM, Bryan Emrys <bryan.em...@gmail.com <mailto:bryan.em...@gmail.com>> wrote:

    Eric,

    .profile has:
    # MacPorts Installer addition on 2009-04-08_at_20:48:37: adding an
    appropriate PATH variable for use with MacPorts.
    export PATH=/opt/local/bin:/opt/local/sbin:$PATH
    # Finished adapting your PATH environment variable for use with
    MacPorts.



    On Thu, Jan 20, 2011 at 1:28 PM, Erik Iverson <er...@ccbr.umn.edu
    <mailto:er...@ccbr.umn.edu>> wrote:



        Bryan Emrys wrote:

            Hi,

            Now getting an error message: /bin/bash: dot: command not found

            Hmm. Pathname issue?


        Absolutely.



            On the mac, dot is in /opt/local/bin/dot
            My .emacs file has: (setq load-path (cons "/opt/local/bin"
            load-path))


        That won't add anything to your shell's path, it's just where Emacs
        looks for code to load.


            I can certainly just open a terminal window and run dot from
            the command line.


        Can you grep your shell startup files and find out which one adds
        /opt/local/bin to the path?




_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to