Coder Social home page Coder Social logo

Comments (6)

vspinu avatar vspinu commented on July 19, 2024

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.

basille avatar basille commented on July 19, 2024

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.

vspinu avatar vspinu commented on July 19, 2024

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.

basille avatar basille commented on July 19, 2024

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.

basille avatar basille commented on July 19, 2024

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.

vspinu avatar vspinu commented on July 19, 2024

Thanks for the update, Mathew.

from polymode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.