copilot-emacs / copilot.el

An unofficial Copilot plugin for Emacs.
MIT License
1.79k stars 126 forks source link

emacs hangs, while dismissing a copilot suggestion #51

Closed yubrshen closed 1 year ago

yubrshen commented 2 years ago

I guess this might be related to copilot.el,, as the emacs would hang, at least twice when I press ESC to reject the suggestions from the copilot. Since the emacs hanged, I have no means to further investigate.

Please let me know how I can investigate further if it's related to copilot.el

I disabled the copilot by M-x copilot-mode for the same buffer/file. At the same file location, I no longer see the problem.

zerolfx commented 2 years ago

To dismiss a suggestion, you can use the copilot-clear-overlay command, or just keep typing.

For the freeze problem, you can use built-in profiling:

  1. start the profiler
  2. try something and freeze Emacs
  3. press C-g multiple times
  4. stop the profiler and check the report
github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 5 days with no activity.