Giter Club home page Giter Club logo

Comments (8)

iamwilhelm avatar iamwilhelm commented on May 23, 2024

I think the culprit was flymake. I was able to turn it off by commenting out the entire section initializing flymake in the ruby section. Is there a switch to turn it off without commenting out the code?

from emacs-starter-kit.

iamwilhelm avatar iamwilhelm commented on May 23, 2024

Well, I spoke too soon. It's not the flymake. It still happens. Is there a way to selectively turn on and off different modules in emacs? And how do you see what modules have been installed? That way, I can keep the emacs open, and when it happens, start experimenting with what module causes it.

It doesn't seem to happen until I have emacs opened for a while, and mostly when I alt-tab windows. I see the message "not safe backward word" and "not safe forward word" in the messages when it pauses. I wasn't able to google the phrase and have it come up with anything. Any suggestions?

from emacs-starter-kit.

pjaspers avatar pjaspers commented on May 23, 2024

The culprit is the nxhtml/eruby mode, if you use just nxhtml there isn't a problem.

from emacs-starter-kit.

mguterl avatar mguterl commented on May 23, 2024

I think this is the same issue which proposes a solution: http://github.com/technomancy/emacs-starter-kit/issues#issue/20

from emacs-starter-kit.

pjaspers avatar pjaspers commented on May 23, 2024

No I tried that and it still stutters, I've switched to rhtml-mode and now editing views is worry-free again.

from emacs-starter-kit.

mguterl avatar mguterl commented on May 23, 2024

@pjaspers - I'm using Emacs 23.1 from http://emacsformacosx.com/, I replaced my ~/.emacs.d/elpa-to-submit/nxhtml directory with the contents of the zip from http://ourcomments.org/Emacs/DL/elisp/nxhtml/zip/nxhtml-2.05-091202.zip

I also ran M-x recompile-init but I'm not sure that actually does anything to help this process.

After this, my emacs hasn't stuttered after a couple hours of editing in nxhtml/eruby mode.

from emacs-starter-kit.

iamwilhelm avatar iamwilhelm commented on May 23, 2024

How did you end up picking nxhtml-2.05-091202? I replaced my nxhtml directory with nxhtml-beta 2.07-100201-11_51_32, and it didn't seem to work. I ended up switching to haml, bypassing this problem.

from emacs-starter-kit.

mguterl avatar mguterl commented on May 23, 2024

That was linked off of the downloads page.

I was editing some Rails views again today and it was stuttering again, sigh... So this still really isn't fixed.

from emacs-starter-kit.

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.