all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Mastro <john.b.mastro@gmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Cc: Mike <mastali.mehrdad@gmail.com>
Subject: Re: gdb emacs no such file or directory gdb
Date: Wed, 22 Oct 2014 10:25:04 -0700	[thread overview]
Message-ID: <CAOj2CQSoeKbY06AqfkK9=BzEXP101d_mMDiZ+QpOCJZhgGY38Q@mail.gmail.com> (raw)
In-Reply-To: <e40df910-977f-4eb7-a90a-b2376da5a962@googlegroups.com>

Hi Mike,

Mike <mastali.mehrdad@gmail.com> wrote:
> Hello
>
> I found the ~/.emacs file and edit it by adding the following line into it:
> "(setenv "PATH" "/usr/local/bin:$PATH" t)"
> since my gdb is located in /usr/local/bin
>
> but when I run the emacs it gives me following error:
> "Warning (initialization): An error occurred while loading `/Users/mike/.emacs':

I tried evaluating the forms you posted and didn't have any errors, so
I'm not sure what's going on.

Try copying them into normal Emacs Lisp file (like ~/init-test.el) and
commenting them out in your init file. The restart Emacs, open the other
file you put them in, and evaluate each form one by one. To do that, put
your cursor right after the form and type C-x C-e (for
`eval-last-sexp'). Hopefully this will tell you which form is causing a
problem.

-- 
john



  parent reply	other threads:[~2014-10-22 17:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-21  0:12 gdb emacs no such file or directory gdb Mike
2014-10-21  6:44 ` Suvayu Ali
     [not found] ` <mailman.11612.1413873879.1147.help-gnu-emacs@gnu.org>
2014-10-21 13:34   ` Mike
2014-10-21 16:15     ` Suvayu Ali
     [not found]     ` <mailman.11649.1413908125.1147.help-gnu-emacs@gnu.org>
2014-10-21 19:24       ` Mike
2014-10-21 19:38         ` Jacob Gerlach
     [not found]         ` <mailman.11666.1413920348.1147.help-gnu-emacs@gnu.org>
2014-10-21 19:47           ` Mike
2014-10-22 12:55             ` Mike
2014-10-22 17:25         ` John Mastro [this message]
2014-10-22 17:29           ` John Mastro
2014-10-22 22:07 ` Mike
2014-10-22 23:05   ` John Mastro
2014-10-24  1:05 ` Mike
  -- strict thread matches above, loose matches on Subject: below --
2014-01-16  4:38 Rob Kinsey
2014-01-16 12:34 ` Tim Visher
2014-01-16 19:51 ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOj2CQSoeKbY06AqfkK9=BzEXP101d_mMDiZ+QpOCJZhgGY38Q@mail.gmail.com' \
    --to=john.b.mastro@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mastali.mehrdad@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.