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

Slowness and sluggishness when editing inside a Theorem/Lemma/Proof environment #460

Closed
guraltsev opened this issue Dec 24, 2022 · 7 comments
Milestone

Comments

@guraltsev
Copy link

This is a bug report that follows up on the discussion on the forum

I am comparing the latest release of TeXmacs (2.1.1) to the latest release of Mogan (1.1.1). I am working on windows 10.

Mogan is sluggish and much slower than TeXmacs even with empty/one single line files when editing inside environments (Theorem/Lemma/Proof etc).

I tried creating a new, completely empty default file. If I press and hold down the s key on an empty line it fills in with one character appearing at a time in quick succession. This works the same on TeXmacs and on Mogan.

Things change drastically if I am inside any environment. I create a Lemma and put myself inside and again press the s key. Here is where the problem happens.

If I do this with TeXmacs it is as snappy as outside the environment. However, in Mogan things slow down drastically. The editor lags and displays the s letters in batches of 4-6 lettes at a time with hiccups after each batch.

I would be glad to help debug this any way I can.

@guraltsev
Copy link
Author

The release I got from here does not have the sluggishness described above!

@da-liii
Copy link
Contributor

da-liii commented Jan 1, 2023

@da-liii da-liii added this to the v1.1.2 milestone Jan 1, 2023
@guraltsev
Copy link
Author

In the specific situation I described there no lag anymore. I will open other reports if I find slowdowns w.r.t. Texmacs. Thank you!

@GiulioCocconi
Copy link

It's slower in section titles too

@guraltsev
Copy link
Author

I think this was already the case with TeXmacs even before. I opened this bug because the speed in the environments was a regression w.r.t TeXmacs. However, you are right. Have you tried lists? Is there a slowdown there, too?

@GiulioCocconi
Copy link

GiulioCocconi commented Jan 7, 2023 via email

@mgubi
Copy link
Contributor

mgubi commented Jan 7, 2023

@darcy-shen was the problem related to my patch to s7? It would be useful to know.

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

No branches or pull requests

4 participants