Maybe, for gfm-view-mode, but in general I think I should just stop
using read-only-mode, and set buffer-read-only instead.

João

On Sat, Nov 14, 2020 at 2:46 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: "Basil L. Contovounesios" <contovob@tcd.ie>
> Cc: 44629@debbugs.gnu.orgjoaotavora@gmail.com
> Date: Sat, 14 Nov 2020 12:26:28 +0000
>
> The only clean approaches off the top of my head are:
>
> a) inhibit these messages in one way or another around calls to
>    gfm-view-mode/read-only-mode in eglot/jsonrpc;

Bind inhibit-message to non-nil around the calls to these?


--
João Távora