emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Src block fontification when scrolled off window
Date: Tue, 14 Jan 2020 07:21:24 -0800	[thread overview]
Message-ID: <CAHyO48zca_DEXTkwtaOGi0t23=VmKjG1Bhf6fG3TJoVOMLWwTQ@mail.gmail.com> (raw)


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?



             reply	other threads:[~2020-01-14 15:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-14 15:21 Aaron Jensen [this message]
2020-01-14 16:20 ` Src block fontification when scrolled off window Fraga, Eric
2020-01-20 22:04   ` Aaron Jensen

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='CAHyO48zca_DEXTkwtaOGi0t23=VmKjG1Bhf6fG3TJoVOMLWwTQ@mail.gmail.com' \
    --to=aaronjensen@gmail.com \
    --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).