abingham / emacs-ycmd

Emacs client for ycmd, the code completion system.
MIT License
384 stars 46 forks source link

Is there a way to clean *ycmd-server* buffer? #459

Open moyotar opened 6 years ago

abingham commented 6 years ago

There's none right now, but I suppose we could add one. Is this just to make it easier to read? Or are you worried about it getting too big?

moyotar commented 6 years ago

Sorry for late response. For me, there are benefits for both of the results that you mentioned. I read it rarely if ycmd works finely.

abingham commented 6 years ago

In it's simplest formulation, this function would essentially be an alias for erase-buffer. Do you have an idea of when we should be clearing out the buffer? E.g. when it reaches a certain size, or after a certain amount of time? The hard part of this is not the function itself, but the policy around when it's called.

moyotar commented 6 years ago

I agree. How about to offer the two ways to make it alternative? I think it will satisfy most of us.

abingham commented 6 years ago

Sounds good to me.