emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: "I.S." <inquisitive.scientist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is it possible to do literate programming without org-babel?
Date: Fri, 03 Dec 2010 14:25:49 +0000	[thread overview]
Message-ID: <87bp53q6fm.fsf@ucl.ac.uk> (raw)
In-Reply-To: <4CF8EC16.40500@gmail.com> (I. S.'s message of "Fri, 03 Dec 2010 08:09:42 -0500")

"I.S." <inquisitive.scientist@gmail.com> writes:

> Dear Experts,
>
> I think org-babel is great and use it when I can. But on larger
> projects where some people are not emacs users, it may not be feasible
> for the master file to be an org-mode file.
>
> Do you have any suggestions on using literate programming techniques
> when the source code must be in a .py file?
>
> One thing I have tried is switching to org-mode when I want to write
> comments, create links, etc. and do that in org-mode and then switch
> back to python mode. This actually works reasonably well but it's
> annoying to switch modess.
>
> Any better ideas?

This probably is not going to help you but I have the same problem.

What I do, *when* the project is one in which I am the main lead, is to
keep using org mode, without switching modes, but when I need to share
something with my collaborator, I *tangle* all the code and send him
both the code and the org document.  This means that he can run the
code.  However, the code has no comments in it...

Of course, incorporating any changes my collaborator makes back into the
org document is annoying but manageable.
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.169.g0d0e)

  reply	other threads:[~2010-12-03 14:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 13:09 Is it possible to do literate programming without org-babel? I.S.
2010-12-03 14:25 ` Eric S Fraga [this message]
2010-12-03 14:33   ` Eric Schulte
2010-12-03 15:18     ` Eric S Fraga
2010-12-03 14:42   ` Pierre de Buyl

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=87bp53q6fm.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=inquisitive.scientist@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).