Subject: bug#44629: 28.0.50; Eglot noisy with gfm-view-mode and view-read-only

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 29 Nov 2020 11:36:32 +0100

"Basil L. Contovounesios" <[email-masked]> writes:

> How's the attached patch for view.el and jsonrpc.el?

[...]

> By default, entering view-mode echoes a usage message.  This is
> particularly helpful with non-nil view-read-only, to notify the user
> that view-mode has been enabled.  It is less useful and more spammy,
> however, if view-mode is (possibly inadvertently) entered from some
> non-interactive code running in the background, such as when a major
> mode is enabled in a temporary buffer for text formatting
> purposes (bug#44629).

I've only skimmed the code, but this makes sense to me.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no