From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Foley Subject: Re: Babel Edit Code Whole Session Context Date: Sun, 24 Jun 2018 15:46:13 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000273c8056f6886c5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXAy9-00041V-Fb for emacs-orgmode@gnu.org; Sun, 24 Jun 2018 15:46:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXAy8-0001WX-H0 for emacs-orgmode@gnu.org; Sun, 24 Jun 2018 15:46:41 -0400 Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:34621) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXAy8-0001WD-8Z for emacs-orgmode@gnu.org; Sun, 24 Jun 2018 15:46:40 -0400 Received: by mail-oi0-x22c.google.com with SMTP id i205-v6so10558556oib.1 for ; Sun, 24 Jun 2018 12:46:40 -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: gcr@wisdomandwonder.com Cc: emacs-orgmode@gnu.org --0000000000000273c8056f6886c5 Content-Type: text/plain; charset="UTF-8" Hi Grant, > 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. No problem, I appreciate all discussion on the matter. > 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 I'm thinking of trying to implement something similar. My solution would be to place all code from blocks of the same session into the edit buffer and then narrow to only the section from the current code block. Then all features should work seamlessly. I'm not quite sure the best approach to do this but I'm going to start poking around in the source code to see if it's feasible. If anyone has a solution that's already available or any feedback on my proposed approach I'd greatly appreciate it. -- Thanks, Kevin Foley --0000000000000273c8056f6886c5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Grant,

> I hear you and think I understand what= you say. I also know it can be
> irritating wh= en
> somebody answers a slightly different ques= tion question you asked. If
> you humor me,
> I'm about to do that.
<= span style=3D"background-color:rgb(255,255,255);text-decoration-style:initi= al;text-decoration-color:initial;float:none;display:inline">
No problem, I appreciate all discussion on the matter.
> I don't know how to do what you ask. However, I h= ave something to do
> that I would be
> pretty ha= ppy.

> 1. Set the default headers args to noweb= :tangle
> 2. Develop blocks normally, without Company.
<= div>> 3. When I am ready to work on the whole codebase with company, tan= gle
>=C2=A0 =C2=A0 =C2=A0to a file.
> 4. Go to th= at file. Leverage Company and make changes. When you are
> don= e detangle.
> 5. Iterate

I'= m thinking of trying to implement something similar.=C2=A0 My solution woul= d be to place all code from blocks of the same session into the edit buffer= and then narrow to only the section from the current code block.=C2=A0 The= n all features should work seamlessly.=C2=A0 I'm not quite sure the bes= t approach to do this but I'm going to start poking around in the sourc= e code to see if it's feasible.

If anyone has = a solution that's already available or any feedback on my proposed appr= oach I'd greatly appreciate it.

--
Thanks,
Kevin Foley
--0000000000000273c8056f6886c5--