Coder Social home page Coder Social logo

Comments (9)

vspinu avatar vspinu commented on July 1, 2024

That's peculiar. Will check this out.

from polymode.

naruchan avatar naruchan commented on July 1, 2024

Thanks, let me know if I can provide more info. If helpful at all, it was looking for:

/a_directory_six_levels_up/DESCRIPTION

So basically,
../../../../../../DESCRIPTION

from polymode.

vspinu avatar vspinu commented on July 1, 2024

Yes. Very helpful. It's probably ESS/R issue then. Thanks.

On 18 September 2014 10:18, naruchan [email protected] wrote:

Thanks, let me know if I can provide more info. If helpful at all, it was
looking for:

/a_directory_six_levels_up/DESCRIPTION

So basically,
../../../../../../DESCRIPTION


Reply to this email directly or view it on GitHub
#39 (comment).

from polymode.

naruchan avatar naruchan commented on July 1, 2024

Interesting. It only happens specifically when polymode is enabled. If it's an ESS/R issue, I'd think it still has something to do with how something is interacting with polymode and jit-lock-function. Any pointers for where I could start looking into this?

from polymode.

vspinu avatar vspinu commented on July 1, 2024

Any pointers for where I could start looking into this?

The only place where DESCRIPTION is looked up is in ess-developer-mode but it should be irrelevant when the developer mode is off. So I am puzzled.

from polymode.

naruchan avatar naruchan commented on July 1, 2024

That was actually super helpful. I finally figured it out. It seems like the root cause is an ESS default setting to check whether or not a file is inside an R package when you visit it. It does this to enable developer mode if it thinks it's in a package. In this case, the initial check was causing the issue.

Setting ess-developer-activate-in-package to nil fixes it.

Thanks!

from polymode.

vspinu avatar vspinu commented on July 1, 2024

I should fix this either in polymode or on ESS side. So let's keep this open for time being. Thanks for your helpful insights.

from polymode.

naruchan avatar naruchan commented on July 1, 2024

Ah okay. Reopening. I did notice today that that same error message of not being able to find the DESCRIPTION file actually happens when opening a regular R file as well (without Polymode). It's just that normally, that hasn't had any noticeable effect so I'd never realized. With Polymode enabled though, jit-lock-function goes crazy.

from polymode.

vspinu avatar vspinu commented on July 1, 2024

I am closing this as non polymode issue. It has been fixed long time ago on ESS side and some more optimization and re-factoring is happening for the new release of eSS.

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.