From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: Babel Edit Code Whole Session Context Date: Sun, 24 Jun 2018 11:10:04 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fX7aZ-0007CJ-D5 for emacs-orgmode@gnu.org; Sun, 24 Jun 2018 12:10:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fX7aY-00027F-Il for emacs-orgmode@gnu.org; Sun, 24 Jun 2018 12:10:07 -0400 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:45426) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fX7aY-00026x-Bb for emacs-orgmode@gnu.org; Sun, 24 Jun 2018 12:10:06 -0400 Received: by mail-lf0-x235.google.com with SMTP id m13-v6so2049452lfb.12 for ; Sun, 24 Jun 2018 09:10:06 -0700 (PDT) In-Reply-To: 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: Kevin Foley Cc: Org-mode Hi Kevin, On Sun, Jun 24, 2018 at 9:50 AM, Kevin Foley wrote: > Is there anyway to edit a source code block with the context of all other > source code blocks in the same session? Specifically when working with > Python I'd like features like company to be able to use the rest of the code > in the session. I hear you and think I understand what you say. I also know it can be irritating when somebody answers a slightly different question question you asked. If you humor me, I'm about to do that. I don't know how to do what you ask. However, I have something to do that I would be pretty happy. 1. Set the default headers args to noweb :tangle 2. Develop blocks normally, without Company. 3. When I am ready to work on the whole codebase with company, tangle to a file. 4. Go to that file. Leverage Company and make changes. When you are done detangle. 5. Iterate That way you can get what you need albeit not how you wanted it to work.