From unknown Fri Jun 20 19:55:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#52314 <52314@debbugs.gnu.org> To: bug#52314 <52314@debbugs.gnu.org> Subject: Status: Set message functions Reply-To: bug#52314 <52314@debbugs.gnu.org> Date: Sat, 21 Jun 2025 02:55:24 +0000 retitle 52314 Set message functions reassign 52314 emacs submitter 52314 Juri Linkov severity 52314 wishlist tag 52314 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 05 14:11:54 2021 Received: (at submit) by debbugs.gnu.org; 5 Dec 2021 19:11:54 +0000 Received: from localhost ([127.0.0.1]:59470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtwvS-0002D3-Db for submit@debbugs.gnu.org; Sun, 05 Dec 2021 14:11:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:40064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtwvR-0002Cu-IQ for submit@debbugs.gnu.org; Sun, 05 Dec 2021 14:11:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtwvR-0006VF-Df for bug-gnu-emacs@gnu.org; Sun, 05 Dec 2021 14:11:53 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:56963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtwvP-0004L3-0N for bug-gnu-emacs@gnu.org; Sun, 05 Dec 2021 14:11:53 -0500 Received: (Authenticated sender: juri@linkov.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 4E253FF807 for ; Sun, 5 Dec 2021 19:11:47 +0000 (UTC) From: Juri Linkov To: bug-gnu-emacs@gnu.org Subject: Set message functions Organization: LINKOV.NET Date: Sun, 05 Dec 2021 21:07:42 +0200 Message-ID: <864k7m3m69.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=217.70.183.199; envelope-from=juri@linkov.net; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --=-=-= Content-Type: text/plain Version: 29.0.50 Severity: wishlist Tags: patch To address several requests, there is a patch for Emacs 29 that supports: 1. inhibiting messages selectively like discussed in bug#42865, bug#44629; 2. multi-line accumulated messages like discussed on emacs-devel under subject "Intelligent stacking of messages in the echo area"; 3. combining all them plus minibuffer messages into a pipeline: first inhibit-message can filter out some messages, then the second function can accumulate 10 old messages into a multi-line message, then the third function will display them in the active minibuffer. By default, 'set-message-functions' will be '(set-minibuffer-message)' with the current behavior, but can be customized to '(inhibit-message set-multi-message set-minibuffer-message)' to implement the hook-like list of functions described above: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=set-message-functions.patch diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 0a5fb72774..3eadae88db 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -852,7 +852,51 @@ set-minibuffer-message ;; was handled specially by this function. t)))) -(setq set-message-function 'set-minibuffer-message) +(setq set-message-function 'set-message-functions) + +(defcustom set-message-functions '(set-minibuffer-message) + "List of functions to handle display of echo-area messages. +Each function is called with one argument that is the text of a message. +If a function returns nil, a previous message string is given to the +next function in the list, and if the last function returns nil, the +last message string is displayed in the echo area. +If a function returns a string, the returned string is given to the +next function in the list, and if the last function returns a string, +it's displayed in the echo area. +If a function returns any other non-nil value, no more functions are +called from the list, and no message will be displayed in the echo area." + :type '(choice (const :tag "No special message handling" nil) + (repeat + (choice (function-item :tag "Inhibit some messages" + inhibit-message) + (function-item :tag "Accumulate messages" + set-multi-message) + (function-item :tag "Handle minibuffer" + set-minibuffer-message) + (function :tag "Custom function")))) + :version "29.1") + +(defun set-message-functions (message) + (run-hook-wrapped 'set-message-functions + (lambda (fun) + (when (stringp message) + (let ((ret (funcall fun message))) + (when ret (setq message ret)))) + nil)) + message) + +(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") + +(defun inhibit-message (message) + "Don't display MESSAGE when it matches the regexp `inhibit-message-regexp'. +This function is intended to be added to `set-message-functions'." + (or (and (stringp inhibit-message-regexp) + (string-match-p inhibit-message-regexp message)) + message)) (defun clear-minibuffer-message () "Clear minibuffer message. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 05 20:27:21 2021 Received: (at 52314) by debbugs.gnu.org; 6 Dec 2021 01:27:21 +0000 Received: from localhost ([127.0.0.1]:60078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mu2mm-0000V9-WA for submit@debbugs.gnu.org; Sun, 05 Dec 2021 20:27:21 -0500 Received: from mail-pg1-f169.google.com ([209.85.215.169]:40890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mu2mk-0000Ui-Qz for 52314@debbugs.gnu.org; Sun, 05 Dec 2021 20:27:19 -0500 Received: by mail-pg1-f169.google.com with SMTP id l190so8931963pge.7 for <52314@debbugs.gnu.org>; Sun, 05 Dec 2021 17:27:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=6MqYL6B2Inzl9JkrJQEPcVfncPdorIPeoUFx9M75mMw=; b=6XODmVcXY9RPhh4asOG2IL74Uugh0CTByVNJosvSjIWJjQUJxdqYcCIf+PxNpXAMfJ 7k0Ue0mPnRz9vNOdJxSJ9ZCZB0wv890WXuIP5KopVowcGXPxDYmwYwPQ15Mhj1ICpvQ2 1osAnlfhAsDtK7KabqDTCuqyO47LSH0H+5cSmh7pxoMN7xbf/gZoRAlhrTzOEbsUACcW L8ylCZclinR1XLRG1ggWYeFl3dYpd2z5mcKjGmKwazpi0yuYhEbE6RzkEsNRr4zKhMgW M9OgP0NwZFwXIaHRFTxsjIaMiKF5tBF0RMA4s4XrvSbq7GDY8xWR+OZYEDhMBsZBSWsp EgSg== X-Gm-Message-State: AOAM530Eu/XF1DGosEnQCo5vFd0bsInYZO9U8uPFXY3FGcdSpXsaG5uD uTJpXvwe0Lmj+2kvAOewBy70GTn8sx/XCorWOHPQJt0u X-Google-Smtp-Source: ABdhPJxj8FMTh0AzbQXdgOgB7oqfSZPZ47MUlVkduf7znavVA6gydE6DqtORfS9bpybcymk1bI1l5EBcY7ecf9GeabA= X-Received: by 2002:a62:1a03:0:b0:494:64b5:3e01 with SMTP id a3-20020a621a03000000b0049464b53e01mr33835420pfa.35.1638754032945; Sun, 05 Dec 2021 17:27:12 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 6 Dec 2021 02:27:12 +0100 From: Stefan Kangas In-Reply-To: <864k7m3m69.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 05 Dec 2021 21:07:42 +0200") References: <864k7m3m69.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Date: Mon, 6 Dec 2021 02:27:12 +0100 Message-ID: Subject: Re: bug#52314: Set message functions To: Juri Linkov Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 52314 Cc: 52314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Juri Linkov writes: > To address several requests, there is a patch for Emacs 29 that supports: [snip] Cool! > +(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. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 06 04:39:52 2021 Received: (at 52314) by debbugs.gnu.org; 6 Dec 2021 09:39:52 +0000 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 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 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) From: Juri Linkov To: Stefan Kangas Subject: Re: bug#52314: Set message functions Organization: LINKOV.NET References: <864k7m3m69.fsf@mail.linkov.net> Date: Mon, 06 Dec 2021 11:35:18 +0200 In-Reply-To: (Stefan Kangas's message of "Mon, 6 Dec 2021 02:27:12 +0100") Message-ID: <86mtlexei1.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52314 Cc: 52314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> +(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$") From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 08 10:43:45 2022 Received: (at 52314) by debbugs.gnu.org; 8 Sep 2022 14:43:45 +0000 Received: from localhost ([127.0.0.1]:59827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWIkq-0002xK-UX for submit@debbugs.gnu.org; Thu, 08 Sep 2022 10:43:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWIkp-0002x8-3G for 52314@debbugs.gnu.org; Thu, 08 Sep 2022 10:43:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nkIOTaaDusxLLZEQfPMzFDNKTx9OMvIweh4BOnK3jqE=; b=olhfANmwIb2Zhp3UyjkAGg357/ QLyk5/a2pXQKdlxfb0kZLaW+k2oPNpkIulCeo3o38jsof3sh5dLXtbLHzSaNHWHfNCaaLbBSGBEkf pUSjxuSLGrOeERIlLdKjJpqQpD/13Jo6iHEgpi7n2l7Xh/DsprGAG7JHXE2zMOEyweqA=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oWIkg-0003kL-DN; Thu, 08 Sep 2022 16:43:36 +0200 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#52314: Set message functions In-Reply-To: <864k7m3m69.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 05 Dec 2021 21:07:42 +0200") References: <864k7m3m69.fsf@mail.linkov.net> X-Now-Playing: Blectum From Blechdom's _DeepBone_: "Just Desserts" Date: Thu, 08 Sep 2022 16:43:33 +0200 Message-ID: <8735d2x6y2.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > To address several requests, there is a patch for Emacs 29 that supports: > > 1. inhibiting messages selectively like discussed in bug#42865, bug#44629; > > 2. multi-line accumulated messages like d [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52314 Cc: 52314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov writes: > To address several requests, there is a patch for Emacs 29 that supports: > > 1. inhibiting messages selectively like discussed in bug#42865, bug#44629; > > 2. multi-line accumulated messages like discussed on emacs-devel > under subject "Intelligent stacking of messages in the echo area"; > > 3. combining all them plus minibuffer messages into a pipeline: > first inhibit-message can filter out some messages, then the second > function can accumulate 10 old messages into a multi-line message, > then the third function will display them in the active minibuffer. > > By default, 'set-message-functions' will be '(set-minibuffer-message)' > with the current behavior, but can be customized to > '(inhibit-message set-multi-message set-minibuffer-message)' > to implement the hook-like list of functions described above: Hm... the patch only had the defcustom and some helper functions, so was this just to get feedback on the interface? If so, I think it looks good -- but I'm a bit vague about what set-multi-message would look like. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 11 08:38:53 2022 Received: (at 52314) by debbugs.gnu.org; 11 Nov 2022 13:38:53 +0000 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 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 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) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 11 Nov 2022 05:38:45 -0800 From: Stefan Kangas In-Reply-To: <86mtlexei1.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 06 Dec 2021 11:35:18 +0200") References: <864k7m3m69.fsf@mail.linkov.net> <86mtlexei1.fsf@mail.linkov.net> X-Hashcash: 1:20:221111:52314@debbugs.gnu.org::PCQ6/QIXMDknzB0T:5mJl MIME-Version: 1.0 Date: Fri, 11 Nov 2022 05:38:45 -0800 Message-ID: Subject: Re: bug#52314: Set message functions To: Juri Linkov Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52314 Cc: 52314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 12 13:10:58 2022 Received: (at 52314) by debbugs.gnu.org; 12 Nov 2022 18:10:58 +0000 Received: from localhost ([127.0.0.1]:48962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otuy2-0002zA-Ej for submit@debbugs.gnu.org; Sat, 12 Nov 2022 13:10:58 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otuy0-0002yu-5A for 52314@debbugs.gnu.org; Sat, 12 Nov 2022 13:10:57 -0500 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id D0C3FE0002; Sat, 12 Nov 2022 18:10:46 +0000 (UTC) From: Juri Linkov To: Stefan Kangas Subject: Re: bug#52314: Set message functions In-Reply-To: (Stefan Kangas's message of "Fri, 11 Nov 2022 05:38:45 -0800") Organization: LINKOV.NET References: <864k7m3m69.fsf@mail.linkov.net> <86mtlexei1.fsf@mail.linkov.net> Date: Sat, 12 Nov 2022 19:40:52 +0200 Message-ID: <86h6z4p47f.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52314 Cc: 52314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >>>> +(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. Why not? I have been testing this patch for 1.5 years, and everything works fine. So it's ready for installing on master. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 12 14:41:57 2022 Received: (at 52314) by debbugs.gnu.org; 12 Nov 2022 19:41:57 +0000 Received: from localhost ([127.0.0.1]:49057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otwO4-0007Qi-RC for submit@debbugs.gnu.org; Sat, 12 Nov 2022 14:41:57 -0500 Received: from mail-ot1-f43.google.com ([209.85.210.43]:36490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otwNz-0007QL-Pk for 52314@debbugs.gnu.org; Sat, 12 Nov 2022 14:41:55 -0500 Received: by mail-ot1-f43.google.com with SMTP id l42-20020a9d1b2d000000b0066c6366fbc3so4592619otl.3 for <52314@debbugs.gnu.org>; Sat, 12 Nov 2022 11:41: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=OwqgUkGMIEu5JHv5suqj3rfXbowtGyaGVzTQ3XBKDF0=; b=hyN5VEqkk77FDJ1/bOnqFIOmSi4xqBEaqOl2dAwHgjTmYQjkdru642kycVDuxgKJAp oGxH7yPu9fXke3WVTtxZCyVuejDTGK9DiRHmD9VUGVsKof4QA0Y8zO80YyPfvvQRC5eq y7GfAZRW08u846J+Wt96wu0ANho4EHtypiJSq9nTxHMCce5zWi92CKo/eo14Q3l9jI7+ OSa5hQaL2/5brEebMgu/sKtDBybTrrAcUDeKCuga7+hmrMFNv9gyE7cMQhrq90g49jDs 0P2e2WnUmiX868uZqPMuEJMqNqq6voqwktYWdzRKARiMQV48p+fvKpSi3/A3Sf8q4qvv tdvQ== 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=OwqgUkGMIEu5JHv5suqj3rfXbowtGyaGVzTQ3XBKDF0=; b=7fw/oS61ZyeHB9EjQqBNAkfdyiDrLkkTeZXuBBzU/1OH5P3V1kFg85m/k/IaFLqY9p XuXxgpF1fyhVdZXXu/p+LX5PxTTYgQOKV+xVPrsHf2p4D4LV6zaP1XDOWlaNVMMeRDfI O+zbH7NetO5kKx5M8hs4X3qPkS4ja9D1rNHD6To0xlSMOd7RQrUJJkwNY27K2CPatuDC t4msDeaxVQ2SSAkzKG4ubw/T7iDWavvhZ997OLp8XkxYILjnmJ63sClWOn4IwECtr+Zv sxPD+WMlBZyGt5716azo03FPP6D3qgE8qczCt/hE3Rk0LGbKT6LTL2NeCRTTA/6cMpgW DT+w== X-Gm-Message-State: ANoB5pkMtjVl1TKr/msAL7t5xZ4C1NQcjdjPi+UEmkTR3VyddjevEb6p Siik5ZPbBjsSBw68EFuK9idhYln4Ubcy1iM2pVdhToNo X-Google-Smtp-Source: AA0mqf6Yyzs7+z9tZs/JiBqxQDmOJ0FrmvPQHZrMqSp/QcSgmZqs+Y0gAUK3YNa5emtNLuv9BW4ftmwslZocX01891o= X-Received: by 2002:a9d:6399:0:b0:661:c48b:12db with SMTP id w25-20020a9d6399000000b00661c48b12dbmr3724683otk.105.1668282106160; Sat, 12 Nov 2022 11:41:46 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 12 Nov 2022 11:41:45 -0800 From: Stefan Kangas In-Reply-To: <86h6z4p47f.fsf@mail.linkov.net> References: <864k7m3m69.fsf@mail.linkov.net> <86mtlexei1.fsf@mail.linkov.net> <86h6z4p47f.fsf@mail.linkov.net> X-Hashcash: 1:20:221112:juri@linkov.net::TNxq1DW3ECfQw+qy:8e3L MIME-Version: 1.0 Date: Sat, 12 Nov 2022 11:41:45 -0800 Message-ID: Subject: Re: bug#52314: Set message functions To: Juri Linkov Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52314 Cc: 52314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 52314 + patch thanks Juri Linkov writes: >> I'm removing the patch tag for now, as it seems like this is not yet >> ready for installing on master. > > Why not? I have been testing this patch for 1.5 years, and > everything works fine. So it's ready for installing on master. I thought there was more to do? If I misunderstood, even better. Then you can consider this a reminder to please install this. :-) From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 13 13:59:34 2022 Received: (at 52314) by debbugs.gnu.org; 13 Nov 2022 18:59:34 +0000 Received: from localhost ([127.0.0.1]:48370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouICb-00031G-P3 for submit@debbugs.gnu.org; Sun, 13 Nov 2022 13:59:34 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:36035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouICY-00030x-Cy; Sun, 13 Nov 2022 13:59:32 -0500 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 24390C0004; Sun, 13 Nov 2022 18:59:22 +0000 (UTC) From: Juri Linkov To: Stefan Kangas Subject: Re: bug#52314: Set message functions In-Reply-To: (Stefan Kangas's message of "Sat, 12 Nov 2022 11:41:45 -0800") Organization: LINKOV.NET References: <864k7m3m69.fsf@mail.linkov.net> <86mtlexei1.fsf@mail.linkov.net> <86h6z4p47f.fsf@mail.linkov.net> Date: Sun, 13 Nov 2022 20:58:44 +0200 Message-ID: <86a64u8yvv.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52314 Cc: 52314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 52314 29.0.50 thanks >>> I'm removing the patch tag for now, as it seems like this is not yet >>> ready for installing on master. >> >> Why not? I have been testing this patch for 1.5 years, and >> everything works fine. So it's ready for installing on master. > > I thought there was more to do? If I misunderstood, even better. > > Then you can consider this a reminder to please install this. :-) Sorry, only now I noticed that I forgot to send a newer patch that implemented your suggestion to rename inhibit-message-regexp to inhibit-message-regexps. I have tested it for a long time, so now it's pushed in the commit 9d5fc2c7eb. From unknown Fri Jun 20 19:55:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Dec 2022 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator