From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aLrIBSDn0GDKOAAAgWs5BA (envelope-from ) for ; Mon, 21 Jun 2021 21:23:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0J1eASDn0GABeAAAbx9fmQ (envelope-from ) for ; Mon, 21 Jun 2021 19:23:12 +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 4DD8714FFD for ; Mon, 21 Jun 2021 21:23:11 +0200 (CEST) Received: from localhost ([::1]:38490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvPVm-00017o-Cg for larch@yhetil.org; Mon, 21 Jun 2021 15:23:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvPVO-00017b-8t for emacs-orgmode@gnu.org; Mon, 21 Jun 2021 15:22:46 -0400 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:43919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvPVM-0006YR-8I for emacs-orgmode@gnu.org; Mon, 21 Jun 2021 15:22:46 -0400 Received: by mail-qk1-x72e.google.com with SMTP id j62so33300644qke.10 for ; Mon, 21 Jun 2021 12:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:references:user-agent:from:to:cc:subject:in-reply-to :message-id:date:mime-version:content-transfer-encoding; bh=07EkRN14YJz4uZqX734hHHGLVVrt8LqU8Q55ap59kqU=; b=Bjskx5wMGkjXCHvC/imKLCVLx+PjMA6b+tcS9ThIwXKAg0ACwsLv/IObH5iuSFAtjD u/l004kTa5koNaNQkw0uNzzhixj54YLBvL8aJ9Jk7lQNKhJq9dsHuAZj4i4CXFXSbfOA nFft+Twia2ND+bIzv/3cal0cn5feSkUVg+DS1qtJaiN58mVmjtoG1IF0YajZ7J2lHPrt f8q43q25j626WNwQaVUXyFEsvR61xoBBVyv+oWSXGr2dscOIT3cJAB4kwKaqAgmzH3gG 54xins7ZdhMIEghQtYBRpXIXNIriYwK0qdPYd+Pxm2j+yB3YEKLCraEaKYKEwKjVe1Bj OlNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version:content-transfer-encoding; bh=07EkRN14YJz4uZqX734hHHGLVVrt8LqU8Q55ap59kqU=; b=B4keUDbXvD0usnU6f40dxCoMv/qcfeHLEz9qx8ZNjyFDafGdvIOMrycYye3btoURLi RAP5ed/wInoC7GOghRWCxodW5o0wvHH2CQHIl1+XFMnjY9lygAqv0uS2BWRghR/dR1mH WsOlVLT4/nuOUzaOQo25OCGGUVi5Jjm9o/4p8v5d+oJWHUhh+oCoG1g/FeFUiAWY22rJ sRXxay1biPQegnt4+IyLC+4Zbm18ub+OP/pPbPQSeLez9O4QeB11zUr1JPnsQfvzbYzJ H72Awx14NlzjCZuc7SzsCbmuZ2S7JF+VT8Um0RQZQnlfSL2D+a1zRicJGqWprAcwfI9/ AIZA== X-Gm-Message-State: AOAM533twqpUYlvL/pRvJuBjdgjSq3yPgBu2LySdqI/JtzAwcB7/XfOS rP80/EkthgX8VkYvXJ5XlAc+5HDRuUAPCg== X-Google-Smtp-Source: ABdhPJwXM/kw626jd/UJbs7uNBPXAnCnSBXEUZuufzpV7BBDT/J+z2gwKAufe/6BK5yl7tpB31cnqg== X-Received: by 2002:a05:620a:4085:: with SMTP id f5mr210918qko.446.1624303361895; Mon, 21 Jun 2021 12:22:41 -0700 (PDT) Received: from Johns-iMac.local ([2601:547:901:82e0:30e6:9acd:4d8e:88d8]) by smtp.gmail.com with ESMTPSA id v194sm10527418qkb.94.2021.06.21.12.22.41 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Jun 2021 12:22:41 -0700 (PDT) References: User-agent: mu4e 1.4.15; emacs 27.1 From: John Kitchin To: =?utf-8?Q?L=C3=A9o?= Ackermann Subject: Re: Large source block causes org-mode to be unusable In-reply-to: Message-ID: Date: Mon, 21 Jun 2021 15:22:40 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::72e; envelope-from=johnrkitchin@gmail.com; helo=mail-qk1-x72e.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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@gnu.org 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=1624303391; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=07EkRN14YJz4uZqX734hHHGLVVrt8LqU8Q55ap59kqU=; b=UsYlJ+IWJGzFK4u8vC15PQyAAz6/8/w2On8Mz+fEUV089Ig1SJ7+Ra/2mWSNfObSXqfnWo 3U25eS//WivdMz6wYLd8dw9+btGgeKP81e7GA67nbhqvF0b27KLIqaIib60bFuChs5P7pX 0TIBlEN7tfSN5cX9Dvc2pB3ex+LPyJmbAj20sC8MDPv8qNLlpMPjkff4TYHLxQwcaYHUFe scBXVghshfI/QCBfl6r2gcCBK4K851ebiYFg8jAbeek7dlsE6ABOPqX7i/5UT2OPA79OSc Zs0yUdho9prEL0KvjZI72Q4gUq2ENlmNimI/WKDpumsoBEq/Ig+BMhaLT3PsHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624303391; a=rsa-sha256; cv=none; b=or374EnEYbk/kLuVDYY7lE8n9VX6MXoo/u2C9VhyQj2ElqaeJ7qSN0gHnwq0keG1BC1JVa +eoaW7yUG3yvBNo5PoaLTMfvUCYyFC1LAUozQ+p4H8opWR1kZURTX713XqD/EktQ1AgNVt 8rmRtCDRoU3cOifApej3iNET69EY60XQuKI5aEnw8OiV4QxLtS4NW6hlYLd6dtduBf/Ycb ZU3+AH3zJ726mjeXZ2ocga8BFx4G4ioujmkR8qtUij8cyAmcGcqrSkOnlRaQNBdFP3xtgN 14TXK5mg/gIc4AqIII8kNqQZk3184BKIppABn0Bng/i9FxhArL9eCeEcl8yByQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Bjskx5wM; 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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Bjskx5wM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=andrew.cmu.edu (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: 4DD8714FFD X-Spam-Score: -1.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: abSu7cXbFUbf A quick and dirty way to fix this might be an include file, i.e. move the block out of your manuscript file into a separate org file, and then just include it. L=C3=A9o Ackermann writes: > Dear all, > > I am working in an org-file of reasonable size (<2000 lines): my first > paper written in org-mode. Everything fine (and fast) until I started to > add `#+BEGIN_proof / #+END_proof` within my .org to make my .pdf export > prettier. This caused the editing of the proofs to be very slow: navigati= on > within the proof is fast but adding/removing any char takes around 4s per > char. > It seems that the fontify function is responsible for that (see > screenshot). As far as I understand, this function tries to fontify the > whole block as soon as a single char is modified. In my case, it then tri= es > to fontify a whole proof (~4 pages in my .pdf, with many LaTeX formulas) > several times per second... > > Is there a way to make this fontify function to act "around my cursor" ? > > Best, > Leo -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu Pronouns: he/him/his