help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some problems of Emacs on my OS X 10.8.5


From: Jai Dayal
Subject: Re: Some problems of Emacs on my OS X 10.8.5
Date: Sun, 23 Feb 2014 14:28:34 -0500

So the problem with OSX is that the .profile script is not executed when
you login. This is different from GNU Linux distributions which execute
.bashrc when you log in. .profile is only executed when you run a shell. If
you launch emacs from outside the shell, i.e., clicking an icon on your
desktop or via the dock (which I do), .profile isn't loaded.

the environment plist file is what OSX uses to setup it's environment when
you "log in":

~/.MacOSX/environment.plist


Jai



On Sun, Feb 23, 2014 at 1:45 PM, <address@hidden> wrote:

> On Sunday, February 23, 2014 2:55:05 AM UTC-5, Haomin Long wrote:
> > Hello!
> >
> > Recently I use Emacs 24.3 on my OS X 10.8.5.
> >
> > To debug, I installed GNU GDB 7.7  from homebrew.
> >
> > But in Emacs I can't use M-x gdb. It just showed "No such file or
> >
> > directory, gdb" in the minibuffer.
> >
> > I typed "M-! echo $PATH" and it did show the directory that containing
> the
> >
> > GDB program.
> >
> > So I typed "M-! gdb ***". After that it did execute GDB , but the first
> >
> > line of it is "(gdb) quit"!!
> >
> > I searched a lot at Google but I'm not able to solve it.
> >
> > Is it some kind of Bug?
> >
> > THANKS!
> >
> >
> >
> > --
> >
> >
> >
> > *Houman Lung*
> >
> >
> >
> > *Department of Computer Science and Technology, Tsinghua University,
> >
> > Beijing China*
> >
> >
> >
> > *Mobile: (+86)18688148073*
> >
> > *E-mail: address@hidden <address@hidden>*
>
> I believe Emacs uses the variable `exec-path` to find executables, rather
> than the env $PATH from shell.
>
> This [script](https://github.com/purcell/exec-path-from-shell) might
> helps.
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]