From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Jensen Subject: Src block fontification when scrolled off window Date: Tue, 14 Jan 2020 07:21:24 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40613) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irO0i-0003SJ-Kg for emacs-orgmode@gnu.org; Tue, 14 Jan 2020 10:21:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irO0h-0003HN-LA for emacs-orgmode@gnu.org; Tue, 14 Jan 2020 10:21:40 -0500 Received: from mail-yw1-xc2d.google.com ([2607:f8b0:4864:20::c2d]:45044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irO0f-0003A8-1C for emacs-orgmode@gnu.org; Tue, 14 Jan 2020 10:21:38 -0500 Received: by mail-yw1-xc2d.google.com with SMTP id t141so9274180ywc.11 for ; Tue, 14 Jan 2020 07:21:36 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi, In one of my org files, I will occasionally see src blocks lose their formatting. Specifically, if I switch to editing the src block, or I first open an org file that is expanded to a section with a src block, if the beginning #+begin_src is scrolled above the window, but part of the block itself is still visible, the src block will be fontified as if it were regular text in org. I have org-src-fontify-natively. If I scroll up so that #+begin_src is in view, it fontifies as expected. Is this expected behavior? Is there a way to increase the lookback amount? Thanks, Aaron