copilot.el icon indicating copy to clipboard operation
copilot.el copied to clipboard

emacs hangs, while dismissing a copilot suggestion

Open yubrshen opened this issue 3 years ago • 1 comments

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.

yubrshen avatar Aug 19 '22 17:08 yubrshen

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

zerolfx avatar Aug 19 '22 19:08 zerolfx

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] avatar Apr 05 '23 01:04 github-actions[bot]

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

github-actions[bot] avatar Apr 10 '23 02:04 github-actions[bot]