Comments (6)
I think this is a markdown thing, or org-mode (which ever is responsible for folding). You should be able to reproduce without polimode. Simply do M-x mark-down-mode and see if you can replicate.
I cannot check it right now.
from polymode.
Oh, I wasn't really sure if it was a polymode problem... After I open the file, Emacs starts in (Markdown Rmd Wrap) mode. If I run M-x markdown-mode
, it becomes only (Markdown Wrap). In this case, R chunks are not recognized as such any more, and the R comment simply becomes a "regular" section that I can unfold (and then all text is revealed)... Does that help? Is that something I should forward to Emacs markdown-mode developers? (to be honest, I'm not sure I really understand how polymode, ess and markdown really work together...
Thanks for your quick answer!
Mathieu.
from polymode.
Yes, this is the problem. TAB folding it markdown feature, and the guys
at markdown-mode didn't consider the possibility that # could be a
comment in the code mode. This should be definitely corrected on their
side. I can sort if out in polymode by advicing their code, but this is
not ideal.
Please follow up to them on this and give me the link of the issue so
that I can also follow.
Thanks.
Mathieu Basille [email protected]
on Wed, 11 Sep 2013 19:34:04 -0700 wrote:Oh, I wasn't really sure if it was a polymode problem... After I open the file,
Emacs starts in (Markdown Rmd Wrap) mode. If I run M-x markdown-mode, it becomes
only (Markdown Wrap). In this case, R chunks are not recognized as such any
more, and the R comment simply becomes a "regular" section that I can unfold
(and then all text is revealed)... Does that help? Is that something I should
forward to Emacs markdown-mode developers? (to be honest, I'm not sure I really
understand how polymode, ess and markdown really work together...Thanks for your quick answer!
Mathieu.—
Reply to this email directly or view it on GitHub.
from polymode.
Wow, while I was looking for a contact page or some issue tracking system, I realized that I was actually 2 years behind for Emacs Markdown mode! My version (well, actually current Debian version...) is 1.8.1 from 2011, and markdown-mode 2.0 was released earlier this year... I will thus test first with the current stable and dev versions to see if the problem is still here. I'll let you know.
In the meanwhile, many thanks for your very fast answer! (and sorry again for the noise, it seems that I'm good at that lately...)
Mathieu.
from polymode.
Here is an update to keep track of this problem. Last dev version did not solve the problem. Jason Blevins, author of markdown-mode, is now fully aware of the problem, with a simple reproducible example. It's now on his to-do list, but it may be a while before he actually has time to look at it... Wait and see.
from polymode.
Thanks for the update, Mathew.
from polymode.
Related Issues (20)
- Debugger entered--Lisp error: (void-variable polymode-run-these-before-change-functions-in-other-buffers) HOT 4
- Detecting that I'm in an inner chunk, from a major mode hook HOT 2
- On entering emacs lisp source block, text at top of org file is underlined in yellow/red by flycheck HOT 1
- unable to install manually HOT 2
- Help with a (hopefully) simple polymode?
- Reproducible error: stuck in latex-mode
- Starting polymode with lsp, makes the cursor to jump to the end of buffer HOT 10
- can't find polymode via package-install? HOT 1
- electric-indent-mode
- How to run a function is indirect buffers with the same major mode only?
- Typescript-xml polymode
- Setting mode file local variable to polymode applies itself recursively infinitely until cancelled
- Background Adjustment when Background Unspecified
- polymode creates additional [web] buffer
- Interaction with nix-mode: font-lock broken HOT 4
- Chunks not following automatic Emacs switch to light/dark theme HOT 5
- Polymode, Poly-COMEEGA and COMEEGA (Collaborative Org Mode Enhanced Emacs Generalized Authorship)
- inner mode indentation not works on the first line after head mark
- org-mode links become invisible HOT 3
- Polymode does not work in org-edit-special
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 polymode.