emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tyler Smith <tyler@plantarum.ca>
To: emacs-orgmode@gnu.org
Subject: Re: run bash sessions without config files
Date: Thu, 03 Aug 2017 16:31:34 -0400	[thread overview]
Message-ID: <1501792294.3632450.1062453360.313973F7@webmail.messagingengine.com> (raw)
In-Reply-To: <1501689196.1375659.1060951736.32EAA9C0@webmail.messagingengine.com>

On Wed, Aug 2, 2017, at 11:53 AM, Tyler Smith wrote:
> 
> Is it possible to configure org-babel to ignore any customization files,
> such as .emacs.d/init_bash.el and .bashrc?
> 

After some digging around, it looks like this isn't possible.
~org-babel~ starts shell sessions via the standard function ~(shell)~.
Loading ~init_bash.el~ is hard-coded into this function, so there's no
user-visible way to direct Emacs not to read it for org-mode code
blocks, while still using it in other contexts. 

Best,

Tyler

  reply	other threads:[~2017-08-03 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 15:53 run bash sessions without config files Tyler Smith
2017-08-03 20:31 ` Tyler Smith [this message]
2017-08-03 22:09   ` Adam Porter

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.orgmode.org/

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

  git send-email \
    --in-reply-to=1501792294.3632450.1062453360.313973F7@webmail.messagingengine.com \
    --to=tyler@plantarum.ca \
    --cc=emacs-orgmode@gnu.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/org-mode.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).