emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jakanakaevangeli@chiru.no
To: emacs-orgmode@gnu.org
Subject: Bug: org-tangle writes region for every single block [9.4.4 (9.4.4-elpa @ /home/miha/.config/emacs/elpa/org-20201222/)]
Date: Mon, 28 Dec 2020 13:06:18 +0100	[thread overview]
Message-ID: <87im8mw2x1.fsf@miha-pc> (raw)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See


Your bug report will be posted to the Org mailing list.

Tangling a file with a lot of src blocks can get quite slow because
write-region is called for each individual src block.

On my machine it takes 8 seconds to tangle a file with 160 blocks of the
same language. Tangling the file over tramp would probably take about 5

Perhaps it would be more optimal to only save each file at the end
of src block extraction.

Emacs  : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3)
 of 2020-08-28
Package: Org mode version 9.4.4 (9.4.4-elpa @ /home/miha/.config/emacs/elpa/org-20201222/)

             reply	other threads:[~2020-12-28 13:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 12:06 jakanakaevangeli [this message]
2021-11-23 12:37 ` Bug: org-tangle writes region for every single block [9.4.4 (9.4.4-elpa @ /home/miha/.config/emacs/elpa/org-20201222/)] Ihor Radchenko
2021-11-25 22:07   ` jakanakaevangeli
2021-11-26  0:09     ` Ihor Radchenko

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:

  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=87im8mw2x1.fsf@miha-pc \
    --to=jakanakaevangeli@chiru.no \
    --cc=emacs-orgmode@gnu.org \


* 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


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).