unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master d9b5f618baa 2/4: Eglot: introduce eglot-events-buffer-config
@ 2023-12-27 16:46 Eli Zaretskii
  2023-12-27 17:07 ` João Távora
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2023-12-27 16:46 UTC (permalink / raw)
  To: João Távora; +Cc: emacs-devel

> +(defcustom eglot-events-buffer-config
> +  (list :size (or (bound-and-true-p eglot-events-buffer-size) 2000000)
> +        :format 'full)
> +  "Configure the Eglot events buffer.
> +
> +Value is a plist accepting the keys `:size', which controls the
> +size in characters of the buffer (0 disables, nil means
> +infinite), and `:format', which controls the shape of each log
> +entry (`full' includes the original JSON, `lisp' uses
> +pretty-printed Lisp).
> +
> +For changes on this variable to take effect, you need to restart
> +the LSP connection.  That can be done by `eglot-reconnect'."

Since changing this defcustom needs some code to be run in order to
make the changes effective, I wonder whether this defcustom could use
:set to run that code automatically?

Thanks.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-27 19:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-27 16:46 master d9b5f618baa 2/4: Eglot: introduce eglot-events-buffer-config Eli Zaretskii
2023-12-27 17:07 ` João Távora
2023-12-27 17:29   ` Eli Zaretskii
2023-12-27 17:38     ` João Távora
2023-12-27 18:51       ` Eli Zaretskii
2023-12-27 19:05         ` João Távora

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).