From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iMlpITdk02BffgAAgWs5BA (envelope-from ) for ; Wed, 23 Jun 2021 18:41:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oH0QHTdk02AVZwAAbx9fmQ (envelope-from ) for ; Wed, 23 Jun 2021 16:41:27 +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 D2AD917F7E for ; Wed, 23 Jun 2021 18:41:26 +0200 (CEST) Received: from localhost ([::1]:49274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lw5wL-0005ib-6z for larch@yhetil.org; Wed, 23 Jun 2021 12:41:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw5vh-0005iO-0Y for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 12:40:46 -0400 Received: from ciao.gmane.io ([116.202.254.214]:34282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw5vf-0000X4-Iq for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 12:40:44 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lw5vc-00028v-06 for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 18:40:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Maxim Nikulin Subject: Re: Large source block causes org-mode to be unusable Date: Wed, 23 Jun 2021 23:40:31 +0700 Message-ID: References: <87o8by2v1q.fsf@ucl.ac.uk> <8735ta2j2d.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, 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: , 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=1624466487; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=3OkCoqCDZ0V+M0pdaLX38rzJmDfFBr9Ovq08oSchABk=; b=LjNPX5Qpqo6Swb7ST+/6QF9rgEj/TSyA6MXHHeIyDxgcHtM2w3ik/BxBnLMu5rbIcxc3tE mZ4Kt22oDoU6at2o9Nvp1IW32AOItS6zgmIqnWKYE+/LI90iUbKClvygJhAG8yh5PhCD2i zB2T/GqA9vud7Y6ESsEZdBr8tSp34Gx+fGcqbFuO3hmFU/WDg6a6Ln6ZubbTBmwwZrovus iWRQKLNL7YQ/Czh+zEWIAvvKZdV+DQ0n5NAlNeH/ctC/xe0mtDRCdia+RPGxonkGaA7vCo iS3IhXvP/E+itZ9wek3R+L4yp2Q+/aJ3UQ0n5xg9StkXltPdIIA9qJpb7mn55A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624466487; a=rsa-sha256; cv=none; b=H8hRV3VFWIGtR3ijW3fRTK2gdu0uS0Vzw6pNwL+YVa5lh+tDIh0/3k6l8T5WCOUfErJ0CI Og8sYZ+30ADAFyzLdvZjg8XWQx4aQJbSJgWe++DUVK7BUhfd9WN1Yq/7br3ValU3OeHkLh Qg/5b9NADmk1jnIrZfudLIFL9w5K2dYcdHMbjialtD1P9uMZj5x2WS4TB+pYJgmWlkX2nX wA3OgtKcF1w38xvdL740wmicJrvVifuqbmwcK52wYlIeXzDcLA9LxTat6Ogz1zDVPDaj0N +f6lFLUsXRhaNP8dUFSKxUY30a+D563S/V1cbr65Q3nHmZiufXmMjh1KwkNWvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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: -1.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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: D2AD917F7E X-Spam-Score: -1.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: zCvRXbgS22X+ On 22/06/2021 19:32, Léo Ackermann wrote: > > I suggest that special block in LateX export > (https://orgmode.org/manual/Special-blocks-in-LaTeX-export.html) may be > treated differently. Generally I agree with you that #+begin_proof should be a thin wrapper unlike a source code block. However I am not familiar with fontification, so I can not reason if it is feasible. Maybe the code is watching if something like #+end_proof appeared, so block finished. On the other hand my impression was that \begin{proof} environment is intended to emphasize a paragraph or two to separate it from regular text on the same page. My expectation is that 4-page long proof should be formatted as ordinary sections and subsections. If proof environment is still required, maybe it is possible to customize export backend to have proofs as a headings with some property in the source document. E.g. beamer backend converts headings to frames. I have never tried such tricks, so I am unaware how much work is required for such approach.