The "size exceeds 'copilot-max-char'" warning message pops up whenever a large buffer is opened and there was no easy way to suppress it. I believe the idiomatic way of doing this is to use display-warning function with type argument (e.g. '(copilot copilot-exceeds-max-char)), so that user can choose to suppress this warning by adding the type to warning-suppress-types
The "size exceeds 'copilot-max-char'" warning message pops up whenever a large buffer is opened and there was no easy way to suppress it. I believe the idiomatic way of doing this is to use
display-warning
function withtype
argument (e.g.'(copilot copilot-exceeds-max-char)
), so that user can choose to suppress this warning by adding the type towarning-suppress-types