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#58788: 29.0.50; [PATCH] Respect inhibit-message Date: Sun, 13 Nov 2022 19:39:44 +0200 Organization: LINKOV.NET Message-ID: <86mt8udbl7.fsf@mail.linkov.net> References: <87y1t3aa4m.fsf@dick> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9490"; 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: 58788@debbugs.gnu.org To: dick.r.chiang@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 13 19:05:30 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 1ouHMH-0002Ek-AL for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Nov 2022 19:05:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouHLr-00015Y-QC; Sun, 13 Nov 2022 13:05: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 1ouHLq-00014p-F5 for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 13:05: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 1ouHLq-0002ET-5l for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 13:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ouHLq-000547-0m for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 13:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Nov 2022 18:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58788-submit@debbugs.gnu.org id=B58788.166836266219357 (code B ref 58788); Sun, 13 Nov 2022 18:05:01 +0000 Original-Received: (at 58788) by debbugs.gnu.org; 13 Nov 2022 18:04:22 +0000 Original-Received: from localhost ([127.0.0.1]:52468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouHLB-000527-QU for submit@debbugs.gnu.org; Sun, 13 Nov 2022 13:04:21 -0500 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:33391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouHL6-00051l-0Y; Sun, 13 Nov 2022 13:04:20 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 70A65C0008; Sun, 13 Nov 2022 18:04:07 +0000 (UTC) In-Reply-To: <87y1t3aa4m.fsf@dick> (dick r. chiang's message of "Tue, 25 Oct 2022 17:03:53 -0400") 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:247798 Archived-At: tags 58788 notabug close 58788 29.0.50 quit > (let ((dont \"dont clear me\!\")) \ > (message dont) \ > (let ((inhibit-message t)) \ > (message \"nice try\") \ > (cl-assert (equal (current-message) dont) t)))" (setq clear-message-function (lambda () (when inhibit-message 'dont-clear-message))) Problem solved.