GNU bug report logs - #44629
28.0.50; Eglot noisy with gfm-view-mode and view-read-only

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Sat, 14 Nov 2020 10:59:02 UTC

Severity: minor

Tags: fixed, patch

Found in version 28.0.50

Fixed in version 28.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "Basil L. Contovounesios" <contovob <at> tcd.ie>, joaotavora <at> gmail.com, 44629 <at> debbugs.gnu.org
Subject: bug#44629: 28.0.50; Eglot noisy with gfm-view-mode and view-read-only
Date: Sun, 15 Nov 2020 22:27:21 +0200
> Can what you want be achieved by setting set-message-function to
> something suitable?

Inhibiting messages selectively was discussed in bug#42865
where I forgot that this is indeed easily implementable
with the help of set-message-function, e.g.:

  (defcustom inhibit-message-regexp "^View mode: type"
    "Regexp to inhibit messages."
    :type 'regexp)

  (defun inhibit-message-function (message)
    (string-match-p inhibit-message-regexp message))

  (setq set-message-function 'inhibit-message-function)




This bug report was last modified 4 years and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.