Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

De-denting and lag #30

Closed
droptablestar opened this issue Sep 29, 2015 · 9 comments
Closed

De-denting and lag #30

droptablestar opened this issue Sep 29, 2015 · 9 comments
Labels
Milestone

Comments

@droptablestar
Copy link

There are 2 issues I've noticed on Emacs 24.5.1 OS X 10.10.5.

Take the file:

test

* item 1
  1. When I hit enter at the end of the "item 1" line this will be de-dented to the beginning of the next line.
  2. I have a markdown file with about 2300 lines and entering data into this file is pretty laggy.
@vyp
Copy link

vyp commented Sep 29, 2015

I guess the first issue may be related to #28?

@droptablestar
Copy link
Author

Yes, this is the same issue. Sorry I missed that.

@jrblevin
Copy link
Owner

Sorry for the slow response. Indeed, item 1 is a duplicate but I'm leaving this open as a reminder for item 2. I also experience some lag when editing large files. I am working to make parsing for font-locking more efficient, which I think is the root cause.

@jrblevin
Copy link
Owner

When you have time, please give the latest version a try with regards to item 2 (lag). Recent changes allow syntactic identification of code and pre blocks. I think the previous search-based approach to this may have been part of the problem.

@droptablestar
Copy link
Author

Downloaded the newest version and lag still seems to be present.

josh

On Dec 16, 2015, at 07:55, Jason Blevins notifications@github.com wrote:

When you have time, please give the latest version a try with regards to item 2 (lag). Recent changes allow syntactic identification of code and pre blocks. I think the previous search-based approach to this may have been part of the problem.


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

@jrblevin
Copy link
Owner

OK, thanks for checking. I will keep investigating the lag issue. The indentation issue seems to be fixed now at least!

@jrblevin
Copy link
Owner

Let's try once more. I just pushed commit acf7c5e which I think should essentially eliminate the lag when typing. For me, this makes any lag almost imperceptible in a 5000+ line file, but if it doesn't fix things for you let me know.

You may also want to see the related discussion in #44.

@jrblevin jrblevin added the bug label Dec 19, 2015
@jrblevin jrblevin modified the milestone: v2.1 Dec 19, 2015
@droptablestar
Copy link
Author

Looks like it’s working perfectly. Thanks!

josh

On Dec 18, 2015, at 22:34, Jason Blevins notifications@github.com wrote:

Let's try once more. I just pushed commit acf7c5e acf7c5e which I think should essentially eliminate the lag when typing. For me, this makes any lag almost imperceptible in a 5000+ line file, but if it doesn't fix things for you let me know.

You may also want to see the related discussion in #44 #44.


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

@jrblevin
Copy link
Owner

Excellent! Thanks again for this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants