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

sclang-command-process-filter weirdness, possibly related to many open buffers? #59

Open
ahihi opened this issue Jul 26, 2024 · 0 comments

Comments

@ahihi
Copy link

ahihi commented Jul 26, 2024

today i noticed that my scel autocompletion was not working right, because sclang-symbol-table was always ending up as nil after sclang-start. this behavior persisted even after restarting Emacs. whenever this happened, sclang-command-process-previous would contain a very long string with a partial symbol table plus some other command results at the end, so it seemed like something was going wrong in sclang-command-process-filter. despite my best debugging efforts, i could not figure out how exactly this happens.

i did however notice that scel always informs SC about all open sclang buffers, which at this point i had a lot of (500+ buffers overall, possibly 100+ sclang). on a hunch i decided to trim my buffer list down to just a handful, and sure enough, now sclang-start seems to work normally again.

sorry for the rather vague report. i need to set up some automation to open lots of buffers and see if i can find a breaking point...

also, this may well be the root cause of #57

Emacs 28.2, SC 3.13.0, macOS 10.14

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

No branches or pull requests

1 participant