From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tyler Smith Subject: Re: run bash sessions without config files Date: Thu, 03 Aug 2017 16:31:34 -0400 Message-ID: <1501792294.3632450.1062453360.313973F7@webmail.messagingengine.com> References: <1501689196.1375659.1060951736.32EAA9C0@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddMmR-00018Y-UQ for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 16:31:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddMmO-0008D6-DQ for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 16:31:39 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:49043) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ddMmO-0008B8-5m for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 16:31:36 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8044D208B1 for ; Thu, 3 Aug 2017 16:31:34 -0400 (EDT) In-Reply-To: <1501689196.1375659.1060951736.32EAA9C0@webmail.messagingengine.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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