Coder Social home page Coder Social logo

Comments (1)

vspinu avatar vspinu commented on July 19, 2024

Thanks Stephen. There are drawbacks to using indirect buffers. This is
one of them. I will try to figure a workaround.

Stephen Eglen on Wed, 12 Mar 2014 07:11:40 -0700 wrote:

Hi Vitalie, I noticed a problem with polymode and RCS; if I check in (C-x v v)
my file when in the markdown/text section of a buffer, the buffer then becomes
read-only (as it should). However, when I move from text to go into a code
chunk, the code buffer is not read-only, and I can continue editing the chunk.
This then causes problems when I checkout the file again from the text buffer.

I can see simpler behaviour when doing the following

emacs

Create a new buffer "b.Rmd" with contents

some text

x = 1

Move to line 1 and do C-x C-q to make buffer read only.

But then when I move within the code chunk, then of course the code chunk is
still editable.


Reply to this email directly or view it on GitHub.

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.