-
Notifications
You must be signed in to change notification settings - Fork 111
Error in process filter selecting deleted buffer #171
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
Comments
Could you post more details? Some actual error-messages? Maybe some sample-code or a screenshot? It will certainly help making it easier to track down the source of this error, and coming up with a possible fix. |
Here is a GIF that explains the problem. I am on Both Let me know if you need anything else. |
Thanks for the reply. That's much clearer. The GIF is really helpful. I'll be off for vacation in around... 4 minutes, so I won't have time to look into this until I'm back, but at least I think I can say this looks more than sufficient to dig deeper into this, once I (or someone else) do have time do so. @lddubeau: can you help out in the meantime? |
can you enable logging and post the request/response from the tsserver for that particular action |
@josteink Unlikely. My personal standard for issue reports is to include a MCVE/SSCCE or equivalent. (The screenshot posted earlier does not rise to the required level.) I strive to include a MCVE in all the issue reports I submit, and I expect the same from people who submit reports to projects I am involved with. |
Fair enough just checking |
After further research My project structure is
At this point jump to definition works normally, most of the definitions I jump to are in I have a gulp task which create two folders and symlinks to node_modules Folder structure after I ran the gulp task with two new folders
This is when I get the following error as shown in the I tried adding I tried adding logging but I don't see any logs generated so this may not be compiler issue. Its just inconsistently how jump to definition is working (super slow some times normal some times), I am experiencing this only in this new project, and I never saw the message |
@longitude The above is an example jump request/response between emacs and tsserver. If you provide the logs, it could help us narrow down the problem. Otherwise, it's difficult to figure out whether the slowness is caused by emacs or tsserver btw, if you follow the readme the logs would be written to |
Ok got it, here is the log
Two more logs
I notice a pattern every alternate jump to definition is slow. |
Thanks, looks like the problem is in emacs side. Can you provide the stacktrace of the error run |
Here it is
Another one
|
can you try master and see if it fixes the problem? Do you have any plugin that automatically kills the buffer when you switch buffer or jump back? Still not sure why the requested buffer is not alive when the response from the tsserver is processed. Seems like a buffer is issuing command but gets killed before the response arrives. |
Thanks for your help I noticed an error with my project setup and fixed my tsconfig, tried your latest build it works. The actual problem I ran into is my typescript didn't compile my project after running gulp task which created additional folders into my project. I think this should be gracefully handle on emacs side, The error I got when compiling typescript is the exact same one as microsoft/TypeScript#17036 |
I noticed this error when using tide jump to definition, the file I am trying to jump to is in node_modules. Not sure if node_modules is exempt from search.
The text was updated successfully, but these errors were encountered: