From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6Pk1GtT50GCaWgAAgWs5BA (envelope-from ) for ; Mon, 21 Jun 2021 22:43:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iNLuFdT50GDxIgAA1q6Kng (envelope-from ) for ; Mon, 21 Jun 2021 20:43:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 86203F790 for ; Mon, 21 Jun 2021 22:42:59 +0200 (CEST) Received: from localhost ([::1]:51274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvQl0-0001Zk-Az for larch@yhetil.org; Mon, 21 Jun 2021 16:42:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvQk7-0001Xu-Ro for emacs-orgmode@gnu.org; Mon, 21 Jun 2021 16:42:05 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:45967) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvQk2-0006n3-2s for emacs-orgmode@gnu.org; Mon, 21 Jun 2021 16:42:02 -0400 Received: by mail-wm1-x32e.google.com with SMTP id j21-20020a05600c1c15b02901dde2accccbso841562wms.4 for ; Mon, 21 Jun 2021 13:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bMcE+miyMFEdlwerfVmD1JoUj/mg1po8DESlFyyDXfk=; b=sdwpRcUNVE7jj8um4vfGKuNlQ2qdkqqu1z/oAoE4lXmrnQFI/973d+1KPbVb0UZX7P gnJgLBoJAJ4K1qF3cM8I3QUtsS8pxoyFsb66agsoe/IB1xZFCCNiAT6xBKC03If4q/YW p1JyC4jb2pDMyfNm5PumnSuyWGERa9BkqALo/ouviJA1qzyemx1mu8Q8S6vLc5W73D+w MkNx8gieQ624/sA+Gkx8VSSjjwLATCqLgRyeRHJgIpPfjG6iNF4r/g1IBK6gaZfVmMdz bLw5Q6XrhkG1BWMA0prdTyFYTsyrajQmrH+vlKXoiI0biXeIpdX2kOBPGgwsk4cftQUA DQ4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bMcE+miyMFEdlwerfVmD1JoUj/mg1po8DESlFyyDXfk=; b=Y00sqpy5y11COL+j/HK8O52NLCMP3q951A/v2yj4KqU04ugpeLrP0ZaervQIMIrPF1 L1upRuRbhcaDAcHIl35QkK7RDALLVHaosqXrdoCO4rm4TtaIvMEM2HSo6aaG41v208B3 8GXRXihuCuaI6fbzVzx3jgFwmuvoYbluQ3URTRkjL8WywKatz2JwS7N6XDw3kH3C3ePc jA4JCMmaf3hf9wVJnpKQM/O2pTdNhS1xCBxh4646BXTl4sPxxrmyiIH1EnGyC1JVYMzl 5SzKup1o5tux+OQaDC64DOra+qT+DufVMbO8h+aIH7gjMWsR+MxqleR+bZh/eWt9/2Mz MwnA== X-Gm-Message-State: AOAM532NM205Jf4MIMrx8M/OfnmZgEEqUX/hvEjIRGuMzMb5YSbnmD7D 4SwvJDz+S9MeN1hoHoxvVwx8QNB6ZV4ZZUvmdZo= X-Google-Smtp-Source: ABdhPJxUgQIfl+hWVgdwoeacJA7935KXEKkCLn1bF/74DCxHIcL4komn5KEi+xhYN78MZmPiEz733TRpevgNx8An4j8= X-Received: by 2002:a1c:9d89:: with SMTP id g131mr170304wme.45.1624308115674; Mon, 21 Jun 2021 13:41:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tom Gillespie Date: Mon, 21 Jun 2021 13:41:44 -0700 Message-ID: Subject: Re: Large source block causes org-mode to be unusable To: John Hendy Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=tgbugs@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode , =?UTF-8?Q?L=C3=A9o_Ackermann?= , John Kitchin Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624308179; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bMcE+miyMFEdlwerfVmD1JoUj/mg1po8DESlFyyDXfk=; b=MOBkU7zlT31c9oCSL1OvGiG8XCRIpgzrj9yNAS7zMuNABH3VZC4yK+jRYdizZCN0krAwUD cnSIUNbd3JtHZPwqMfDbtH1YzzdfPlsCbG4M5MV4daFKyJaMvzZf9tiMXZFeAK6+1ON8dg l4Fvbp09jmkcbxgd+c0aKhdwPFdc6KYHxGXOQRuGqzqNbsT+Xkpcu/UD2XLdF+SDe4b57F aKxAkmj2kIUM7Kgz3XtSK+v6+UfxlkHkg2+iFDaV9S+ru1jFDxR91HkNNq+6RHY62KZSzN 7xYGwzziRZaKapy5OtRnYtuswuuFYLWBPOu4GPE8wHS9KFILocEsBJWHSEz2aw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624308179; a=rsa-sha256; cv=none; b=CAbvSKFqFMor1UxZKD9wlwWCUyvjnAND6SEUccnkAJa3Ip1HErdk4ZAUUejGMgAPeMuVLk vm+RTbxRImfSlQiP2MRRpj6Wo1XoXog3mumWcbjcPPVZ/dsHJDNZmZyUzJ5s6nM3RKz+4Z heqQBcispjK5xcYast2Eyqi39Un/4TXTaGqmtDcpspCRe4PjOVUw36jU5hWcNYtBcYYevq ZtDTTwAGmC+8HG2MxCmX4RDdcULf/czRl3MNKpDVppxoVJt6okH77U9b7XXcJAVeocO1q3 M6645DQkf0MD4H7bHl1WnZKbND4gFUyedlcUN4rsgriCo8rn6A25X3vXJhDTwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=sdwpRcUN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=sdwpRcUN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 86203F790 X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: NLkKmpEnS2yn > That said, I think keeping 2000 lines of source code inside an > org src block is neither a standard use case nor a reasonable idea. I would say that it certainly is a standard use case for people who want to keep everything in a single file (e.g. to simplify reproducibility and avoid the mess of trying to distribute multiple files to non-technical users). #+INCLUDE is not a substitute if you are going to be tangling files, breaks many workflows, and as a result should rarely be recommended as a solution when src blocks are involved. Org should definitely be able to handle this case because there is no reason why performance should be any worse than having a 2000 line file in another buffer. Org babel has many basic interactivity performance pitfalls that need to be investigated. I personally have many workarounds for bad emacs performance degradations related to code executing in the event loop because I need to get on with the task at hand, but they need to be fixed, not dismissed.