[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
source blocks mangled when edited
From: |
Michael Gauland |
Subject: |
source blocks mangled when edited |
Date: |
Mon, 31 May 2021 15:39:54 +1200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 |
I've stared having trouble editing source blocks. When I use C-c ' to
edit block, the editing behaves as expected, but when I C-c ' to return
to the main org file, the code is altered in strange ways. I've had
trouble coming up with a really small example, but the attached file
seems to consistently demonstrate the problem, even when running emacs
without my settings.
The file has two identical source blocks. The first generally behaves
fine, though some lines get extra indentation.
The second suffers more serious distortions. For example, the first line
changes from "digraph G {" to "aph G {".
I've seen this with other types of code as well (at least SQL and json),
so it's not specific to dot.
I'm running emacs 26.1 on Debian 10.9, with org build from git.
I'm not even sure how to start tracking this down. Any help would be
greatly appreciated!
Kind regards,
Mike Gauland
bug.org
Description: Text document
- source blocks mangled when edited,
Michael Gauland <=