From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#52314: Set message functions Date: Mon, 06 Dec 2021 11:35:18 +0200 Organization: LINKOV.NET Message-ID: <86mtlexei1.fsf@mail.linkov.net> References: <864k7m3m69.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13560"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 52314@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 06 10:41:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muAUl-0003LO-BU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Dec 2021 10:41:15 +0100 Original-Received: from localhost ([::1]:58342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muAUk-00030T-Bd for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Dec 2021 04:41:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muATb-0001Qo-Km for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2021 04:40:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muATb-00005D-DS for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2021 04:40:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1muATb-00069M-Ab for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2021 04:40:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Dec 2021 09:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52314 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52314-submit@debbugs.gnu.org id=B52314.163878359223592 (code B ref 52314); Mon, 06 Dec 2021 09:40:03 +0000 Original-Received: (at 52314) by debbugs.gnu.org; 6 Dec 2021 09:39:52 +0000 Original-Received: from localhost ([127.0.0.1]:60560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muATP-00068Q-TQ for submit@debbugs.gnu.org; Mon, 06 Dec 2021 04:39:52 -0500 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:59883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muATO-00067p-IG for 52314@debbugs.gnu.org; Mon, 06 Dec 2021 04:39:51 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id A756F20009; Mon, 6 Dec 2021 09:39:43 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Mon, 6 Dec 2021 02:27:12 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:221735 Archived-At: >> +(defcustom inhibit-message-regexp nil >> + "Regexp to inhibit messages by the function `inhibit-message'." >> + :type '(choice (const :tag "Don't inhibit messages" nil) >> + (regexp :tag "Inhibit messages that match regexp")) >> + :version "29.1") > > How about making this optionally support a list as well? That would > make it slightly easier to customize with `M-x customize', I think, > especially once you start racking up many ignored messages. Thanks, good idea, will add it in the next version of the patch. Also this will help to add more regexps easier with e.g.: (add-to-list 'inhibit-message-regexps "^Mark set$")