From: Glenn Morris <rgm@gnu.org>
To: Mohammed Sadiq <sadiq@sadiqpk.org>
Cc: 25844@debbugs.gnu.org
Subject: bug#25844: 26.0.50; gdb doesn't respect '$INSIDE_EMACS' shell variables
Date: Wed, 22 Feb 2017 21:44:41 -0500 [thread overview]
Message-ID: <gm60k1zkva.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87poi9fya9.fsf@rose> (Mohammed Sadiq's message of "Thu, 23 Feb 2017 07:45:10 +0530")
Mohammed Sadiq wrote:
> M-x gdb doesn't seem to respect variables set with '$INSIDE_EMACS'
>
> Ie, my bashrc has some variables set as:
> if [ '$INSIDE_EMACS' ]
> foo='FOO'
> bar='BAR'
> fi
>
> And when I run M-x gdb, it seems not to work.
When Emacs runs a debugger, it does not use a shell to do so,
so your .bashrc isn't consulted. In general external processes that
Emacs starts don't go via a shell unless they really need to.
I don't think this is an Emacs bug.
prev parent reply other threads:[~2017-02-23 2:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-23 2:15 bug#25844: 26.0.50; gdb doesn't respect '$INSIDE_EMACS' shell variables Mohammed Sadiq
2017-02-23 2:44 ` Glenn Morris [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gm60k1zkva.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=25844@debbugs.gnu.org \
--cc=sadiq@sadiqpk.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).