all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "João Távora" <joaotavora@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: master d9b5f618baa 2/4: Eglot: introduce eglot-events-buffer-config
Date: Wed, 27 Dec 2023 18:46:42 +0200	[thread overview]
Message-ID: <83le9f8ufh.fsf@gnu.org> (raw)

> +(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.



             reply	other threads:[~2023-12-27 16:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-27 16:46 Eli Zaretskii [this message]
2023-12-27 17:07 ` master d9b5f618baa 2/4: Eglot: introduce eglot-events-buffer-config 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83le9f8ufh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=joaotavora@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.