emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "András Major" <andras.g.major@gmail.com>
To: emacs-orgmode@gnu.org
Subject: automatic tangle
Date: Wed, 11 Jan 2012 15:36:32 +0100	[thread overview]
Message-ID: <CALPHr6xmwSoGt_BxNNkGXyzeDbPcf2bYB=UR_nBD5RQ_hiiYfw@mail.gmail.com> (raw)

Hi fellows,

I've just discovered that I'm missing a feature in org-mode.  These
days I write much of my code in an Org buffer and tangle it into a set
of source files.  Currently, I follow a rather cumbersome procedure
when making changes to the code:

1. I change the Org file using the C-cC-c keystroke within the code
   block I want to edit.

2. After editing, I press C-cc-c again to return to the main buffer.

3. I save the buffer.

4. I tangle the buffer using C-cC-vt.

5. For further editing, I press C-cC-c again.

I know that 3. is optional, but this still leaves me with four steps
instead of (ideally) just one.

What I would like to have is a way of reducing all this to just one
key command.  Would it make sense to introduce such a command that
simply tangles the entire buffer, including the changes made in the
language-specific buffer, but leaving that buffer open for editing?
If it's a reasonably small change, could anyone introduce it?  (I
don't have time to delve into the depths of org-mode.)

Cheers,

  András

             reply	other threads:[~2012-01-11 14:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11 14:36 András Major [this message]
2012-01-11 15:18 ` automatic tangle Sebastien Vauban
2012-01-11 22:39 ` Eric S Fraga
  -- strict thread matches above, loose matches on Subject: below --
2012-01-11 19:21 András Major
2012-01-11 20:37 ` Sebastien Vauban
2012-01-14 17:41 ` Eric Schulte
2012-01-17  8:06   ` András Major
2012-01-20 17:54     ` Eric Schulte

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='CALPHr6xmwSoGt_BxNNkGXyzeDbPcf2bYB=UR_nBD5RQ_hiiYfw@mail.gmail.com' \
    --to=andras.g.major@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).