From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#52314: Set message functions Date: Fri, 11 Nov 2022 05:38:45 -0800 Message-ID: References: <864k7m3m69.fsf@mail.linkov.net> <86mtlexei1.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="838"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52314@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 11 14:39:26 2022 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 1otUFg-000AQt-Ma for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Nov 2022 14:39:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otUFL-0004fz-HI; Fri, 11 Nov 2022 08:39:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otUFK-0004fF-3T for bug-gnu-emacs@gnu.org; Fri, 11 Nov 2022 08:39:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otUFJ-0006Ma-QN for bug-gnu-emacs@gnu.org; Fri, 11 Nov 2022 08:39:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otUFJ-0005KZ-LS for bug-gnu-emacs@gnu.org; Fri, 11 Nov 2022 08:39:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Nov 2022 13:39:01 +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.166817393320468 (code B ref 52314); Fri, 11 Nov 2022 13:39:01 +0000 Original-Received: (at 52314) by debbugs.gnu.org; 11 Nov 2022 13:38:53 +0000 Original-Received: from localhost ([127.0.0.1]:45372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otUFB-0005K3-09 for submit@debbugs.gnu.org; Fri, 11 Nov 2022 08:38:53 -0500 Original-Received: from mail-oi1-f176.google.com ([209.85.167.176]:41911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otUF9-0005Jk-MF for 52314@debbugs.gnu.org; Fri, 11 Nov 2022 08:38:52 -0500 Original-Received: by mail-oi1-f176.google.com with SMTP id l127so4918468oia.8 for <52314@debbugs.gnu.org>; Fri, 11 Nov 2022 05:38:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=JremR6IqJMY7B4nwtpbBh0qlN63KSk/70HO3mEt5MLU=; b=l/WzIUiB9D65aXrUztucqYka1BN8Y4/90fwq84wNRttrJomTI6z4KfjYNpuc09UEn/ 9x4Y7wxI6jaooP9CxOZbCDP8CROkFmQxj4E5uZ7AaTvOSuFhb8FuD4/pWMU3fxhCfF6U nJK2b9kaUBicAQiByetyHCgY8rfsgmqRghLSAGIcopSI+gJh5pBGWp1u4LFHY1oce9Sz c8lzXTDKm3GrjIcVFYnFAc4n//klLg7VwZv9wL2+hqSllWg9K0gmstBIFmxlTse2uEKz GA6o1FF5f1v36GsNhopFKzigm6nU4QK3YrOGh1cjwF5Jdpa8mQxD93775Qe89dljol9+ yZcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JremR6IqJMY7B4nwtpbBh0qlN63KSk/70HO3mEt5MLU=; b=dbCQdrZv0NfpF9brtokf9cdcLM8io9R3DszFJNINPF3Oy04sYAhXqg6XF3xAv36N3l F511t6sgCYrHDAVsqnU3A4F3nuRLG9hxihmS7zrbMrFKuEBeDwZzGnak/hOjkkiv97xs ZuKwoF3mG6uwhroMZrGQ+o/6M2lL3GaMmC35ispu9P8ezMEI+bfVvl7luVvmbE9erY7g cmS+xWvJbuFBi7YGfv3BKH0BnUFtOvND5R5haScA95VICSig2pS8m0pTIGi/n/ZJyXee f8NPIUxkVgkA+zOGh5AekqmW+Ouw6aGzfs6J7M9k/OPhtMtp6VL0fBW5L/YeQ1FxKEEt khBQ== X-Gm-Message-State: ANoB5pmtPaQo/nwXleo5GuDpkFcrpdofTRWKbaR2l9gSPC5Iw1wgYZIE S3eCXomrY75DFapspkfe1G2WSDlz1mvShsKJYyv6XRsB X-Google-Smtp-Source: AA0mqf4Ln5iChOUzHwLgKwFPNqsBRcmlk3NmK16duyWtOhXN1Vg5mPedl5JdWvdXlnVlrND9pMSp1D6NI2NJ86LPZu0= X-Received: by 2002:a54:4889:0:b0:359:dc32:4f9e with SMTP id r9-20020a544889000000b00359dc324f9emr724690oic.92.1668173926038; Fri, 11 Nov 2022 05:38:46 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 11 Nov 2022 05:38:45 -0800 In-Reply-To: <86mtlexei1.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 06 Dec 2021 11:35:18 +0200") X-Hashcash: 1:20:221111:52314@debbugs.gnu.org::PCQ6/QIXMDknzB0T:5mJl 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247592 Archived-At: tags 52314 - patch thanks Juri Linkov writes: >>> +(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$") I'm removing the patch tag for now, as it seems like this is not yet ready for installing on master.