-
Notifications
You must be signed in to change notification settings - Fork 25
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
Doesn't handle multiple emacs processes being open #10
Comments
This is strange because keyfreq is already prepared to work with multiple emacs processes running in parallel (sometime I commonly do on Windows). Maybe the problem is when a lot of multiples instances are running. How many instances are you using? I suspect that the problem is in |
I haven't been using this since I reported this issue for this reason, but as I recall two instances were enough. |
Hmm, so I'm not sure how to debug this. I have started seeing the issue again. It comes up during autosave. Is there a way to conditionally enable debug on quit only for that one message? |
I have faced the same issue and I had three instances open. In fact, enabling keyfreq package did not allow my emacs to quit with C-x C-c. Searching, I found that deleting the keyfreq stat files helped. There were two: one in home with suffix .lock, and the other was the stats file in ~/.emacs.d. Unfortunately I am not certain which file was the culprit. The parens were balanced in the stats file, whereas the .lock file was empty. I have the same problem on another system. I will check that as well later today. |
This problem is still happening in some situations. |
Sorry again, but it looks that this issue isn't 100% fixed. I've asked to the Emacs mailing list about this: |
I have play around and it seems a classical multi-threading issue ? Let two instances of Emacs, E1 and E2. And basically, when saving the scenario is:
What I do not understand is: in the function I have not found the option to tell to Emacs: try to write Is it possible ? |
I regularly use multiple emacs processes (in different terminal tabs), and this causes emacs to constantly complain about the keyfreq file being locked.
The text was updated successfully, but these errors were encountered: