Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions copilot.el
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ Username and password are optional."
:options '((:host string) (:port integer) (:username string) (:password string))
:group 'copilot)

(defcustom copilot-log-max 1000
"Max size of events buffer. 0 disables, nil means infinite."
(defcustom copilot-log-max 0
"Max size of events buffer. 0 disables, nil means infinite.
Enabling event logging may slightly affect performance."
:group 'copilot
:type 'integer)

Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ But I decided to allow them to coexist, allowing you to choose a better one at a
## Reporting Bugs

+ Make sure you have restarted your Emacs (and rebuild the plugin if necessary) after updating the plugin.
+ Please paste related logs in the `*copilot events*` and `*copilot stderr*` buffer.
+ Please enable event logging by customize `copilot-log-max` (to e.g. 1000), then paste related logs in the `*copilot events*` and `*copilot stderr*` buffer.
+ If an exception is thrown, please also paste the stack trace (use `M-x toggle-debug-on-error` to enable stack trace).

## Roadmap
Expand Down