Comments (8)
Hmm, this issue is starting to drive me a little loopy.
from poly-org.
Okay, further testing revealed:
Everything works fine even with org-indent-mode
enabled, when I disable evil-mode
. In fact fontification still works if I reenable evil-mode
after loading the buffer with evil-mode
disabled.
from poly-org.
@srnnkls Did you continue using poly-org? I am not an evil user, so it's hard for me to test/devlop on it. I see no reason why evil-mode should interfere with font-lock though.
from poly-org.
Hi, I have this issue while editing a large buffer (159KiB). But I cant reliably reproduce this behavior, often it occurs when I move outside of src block to the header of this block. I was trying to catch errors with toggle-debug-on-errors
with no luck. If I kill the buffer after the fontification has gone with the point inside src block, and reopen it fontification won't work (point is inside src block). But if I leave the point outside of the src block, then fontification works as usual on reopening of the file.
I use org-indent-mode
and evil-mode
too.
from poly-org.
Actually, I was able to reproduce it with this config and emacs 26.3.
(setq load-path
(append '("path/to/polymode-20200411.915/"
"path/to/poly-org-20200316.1315/")
load-path))
(require 'poly-org)
(setq org-src-fontify-natively nil)
;;uncomment to reproduce
;;(setq org-startup-indented t)
and this org file:
* TEMP
#+BEGIN_SRC python
import math
#+END_SRC
When org-indent-mode
is enabled (org-startup-indented
is t), then fontification won't work (e.g. try to comment import math
).
from poly-org.
Same problem. I tried everything but can't figure what causes this behaviour. Does the same trick whatever language : I have an org file mixing emacs-lisp, python and R.
from poly-org.
fyi: the issue is not caused by org-indent but org-src-fontify-natively being disabled.
the fix is: pr42
from poly-org.
fyi: the issue is not caused by org-indent but org-src-fontify-natively being disabled.
the fix is: pr42
org-indent
still breaks font-lock after applying this patch π
from poly-org.
Related Issues (20)
- Poly-org sends entire org file to python HOT 4
- C-c C-c in lisp blocks doesn't work as expected HOT 3
- How to set it up for latex fragments in a org file HOT 4
- Defining polymode for ESS[julia]
- wrong language parsing case HOT 2
- How to disable Variable Pitch Mode HOT 10
- Support for lexical binding HOT 6
- Org properties etc not accessible within blocks HOT 2
- Polymode is triggered in #+Latex_Header org document HOT 3
- Preserve left-/right-margin-width
- Preserve line-spacing HOT 2
- asynchronous export: invalid read syntax "#" HOT 1
- unbound variables when invoking poly-org-mode
- poly-org breaks syntax highlighting HOT 3
- Adding LaTeX delimiters \[...\] and \(...\)
- Collapsed source blocks expand when entering an org source code block with poly-org enabled HOT 2
- Disable poly-org-latex-inner-mode HOT 1
- consult-preview with poly-org don't work
- Set 'polymode-eval-region-function'
- 'org-element-at-pointβ cannot be used in non-Org buffer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poly-org.