Comments (6)
Thanks for the report. I'll try to see to it over the weekend.
Meanwhile, could you write your versions of emacs & lua-mode?
UPD: reproduced it, will see what I can do.
from lua-mode.
Emacs 24.1.1
Lua-mode is "current development mode snapshot" https://github.com/immerrr/lua-mode/zipball/master
Thanks, I looked into figuring out what was going on, but I couldn't figure out how to get emacs to stop and give me a backtrace. Best of luck!
Thanks,
Cory
from lua-mode.
Given how fast the input processing time increases, I'd say it's O(N!) caused by a poorly written regexp.
from lua-mode.
This looks like the offender: https://github.com/immerrr/lua-mode/blob/master/lua-mode.el#L434
You can comment this regexp out for now for a quick fix, but I haven't yet figured out how to fix that properly.
from lua-mode.
Sorry about two commits, I was too hasty to push the changes, didn't pay attention to commit message. Please, try, if the fix works for you.
It's fascinating for how long had this regexp lived given how bad it was :)
from lua-mode.
Awesome, thanks for the fix! I confirmed it is fixed.
from lua-mode.
Related Issues (20)
- 'local a =' makes '=' in warning face HOT 3
- Manually installation never working for emacs 27.0.90 HOT 3
- Please tag a new release HOT 4
- No highlighting in comment. HOT 5
- Very slow performance when inserting newlines HOT 5
- No license in the repository HOT 1
- sending whole buffer (lua-send-buffer) cause error
- Add an option to indent with tabs HOT 2
- unindenting 'end' without hitting RET HOT 2
- Indent lines of closers accroding to the first closer instead of the last closer HOT 3
- lua-send-buffer, unfinished string error HOT 1
- Extremely slow font-locking on lines with lots of dot operators HOT 1
- Extremely slow indentation inside tables HOT 3
- init-tryout ist distributed as part of the MELPA package
- Really bad performance while edit big lua table. HOT 3
- Support luacheck via Flymake HOT 1
- Indenting and new lines and other things I don't understand
- Indenting suggestion HOT 1
- Is there an option to highlight table keys?
- "Indenting region..."
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 lua-mode.