emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Grant Rettke <gcr@wisdomandwonder.com>
To: Kevin Foley <kfoley15@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Babel Edit Code Whole Session Context
Date: Sun, 24 Jun 2018 11:10:04 -0500	[thread overview]
Message-ID: <CAAjq1mf9pmytku2fAc7pdGEifVrEqQBNE1hOd3w=p8XDCuNWfw@mail.gmail.com> (raw)
In-Reply-To: <CAF96XX3=B7UvHZJv=p=AuqJs84fx17dC=pQZny7v++4g2BvSbA@mail.gmail.com>

Hi Kevin,

On Sun, Jun 24, 2018 at 9:50 AM, Kevin Foley <kfoley15@gmail.com> 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.

  reply	other threads:[~2018-06-24 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-24 14:50 Babel Edit Code Whole Session Context Kevin Foley
2018-06-24 16:10 ` Grant Rettke [this message]
2018-06-24 19:46   ` Kevin Foley

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='CAAjq1mf9pmytku2fAc7pdGEifVrEqQBNE1hOd3w=p8XDCuNWfw@mail.gmail.com' \
    --to=gcr@wisdomandwonder.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kfoley15@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 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).