From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eason Huang Newsgroups: gmane.emacs.bugs Subject: bug#60860: 29.0.60; set save-silently to t can not avoid messages when saving files Date: Sat, 01 Apr 2023 00:22:03 +0800 Message-ID: References: <83mt6i4kmi.fsf@gnu.org> <86cz7e4bz0.fsf@mail.linkov.net> <86a5zsgbwf.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="20869"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 60860@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 31 18:23:21 2023 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 1piHX7-00055g-2P for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Mar 2023 18:23:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piHWr-0005WH-I6; Fri, 31 Mar 2023 12:23:05 -0400 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 1piHWo-0005W3-Ut for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 12:23:04 -0400 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 1piHWo-0004CR-Dg for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 12:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piHWo-0000SK-8x for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 12:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eason Huang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Mar 2023 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60860 X-GNU-PR-Package: emacs Original-Received: via spool by 60860-submit@debbugs.gnu.org id=B60860.16802797411688 (code B ref 60860); Fri, 31 Mar 2023 16:23:02 +0000 Original-Received: (at 60860) by debbugs.gnu.org; 31 Mar 2023 16:22:21 +0000 Original-Received: from localhost ([127.0.0.1]:34329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piHW9-0000R9-5b for submit@debbugs.gnu.org; Fri, 31 Mar 2023 12:22:21 -0400 Original-Received: from out162-62-57-49.mail.qq.com ([162.62.57.49]:53871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piHW7-0000Qs-Jk for 60860@debbugs.gnu.org; Fri, 31 Mar 2023 12:22:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1680279725; bh=ob0xs+984oDkG1WmJCxX2pletg7dUK0AwKT+OqjZ9V4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=A5tIUamamsqezCFaVjhcRCJbJDkiTFVQLQcImNnjmM5qsJeO+32opgyaHlCNOilDl iTVkchDn940UU+WZmYwQeG82V2F9wzSYffgY9I7741vlWZv2VkxRmpH3iOaY68YIHK u0Ih3VJGizPB6N2Zc4vkPfJS09V4CEYerfOBbv14= Original-Received: from macbook ([101.85.8.90]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id 58393CE1; Sat, 01 Apr 2023 00:22:03 +0800 X-QQ-mid: xmsmtpt1680279723t12fq8bpx X-QQ-XMAILINFO: M5WvXNp9ZPrQEYbfL6CJGTGcMPvM7c5Q/VUCmcFY+FH7fsdZyn3SKSm3Qn4WUq xmW+Wht2mb2jgGxxTLQ3413j3FgVXsro7PCaktidSJmeXRz0lsDvFWqtD5Fta6Q7nWLwx0rA//zm NIU04pJrvjrGC2gmGLwW9ZXJyhU+jrd+22L7e2JNgDuwbnQKRpVE7GDzg++JUmtxXyGcpKBbq18n 4Ak40QE8Wy1KxBkxB2pnBTcIAYr9B+4jtc73P9NKO5Fu7W/w1uVySJow8XxGyOD+hiXrL3f1GGrX nEn0eCClSWa+gBZZopwEVRPrX+fJ/umE81vi0QmCPh5BGf7daasqYpZl20TmiJH6gH7XhGtp73kz s3Qz5fEd7uwUQkEgfAhc0F4m8XVJQbENqceIgZ2ifvLbj0kfLKwmPLqkMouUuODpt9aXvLit1pbz S5BTCbMQmksUNZ+g1blqP/aAIhjjLzvpEB/D7nztfuC8t+Gj0iiEf5dO5Zw76Najcc8qc5YAnjNS WrfG868OBTxmoXh5GyUKiZ17bWNgo2OE+rrM7BEvQ7WbeadbT7rQjwxdvkUa/1FW8jawd43jimru cZk8AzfcNsXAYcHoHzQlyX+nvWFYtss6nMR1YdktFx1nlf3FNnocLoQkYKbUcYxLnXGv95PXOjFX VhtFA0dAPsgsyF+YZd+/4LHtf4veuhDScdgieLH+q4f7d+OCGkOmPGRmL25hu4saoHFOx0sDidpt qYwEsHX5YdmiKUGUHUsp0dijmlmtjIovfufEUuoFGVWNrSt41XITYoGkmoSfoePxIhkHqAgqosAd gdwSN2G9P7Aj7J6ERJ6B/a3RB/ycrEWx0xPCi9jP In-Reply-To: <86a5zsgbwf.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 31 Mar 2023 19:03:16 +0300") Original-Message-ID: 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:259006 Juri Linkov writes: >>> To do the same, in Emacs 29 it's possible to add all these strings >>> like "Saving file..." to 'inhibit-message-regexps'. >> >> I tried to set (setq inhibit-message-regexps "^Saving"), but the message >> in acho area still exist when saving file. > > Please also customize 'set-message-functions' so that its first element > is 'inhibit-message'. Also 'inhibit-message-regexps' should be a list. > These settings should disable the message: > > (setq inhibit-message-regexps '("^Saving")) > (setq set-message-functions '(inhibit-message)) > Great, this setting works as expected: ``` (setq inhibit-message-regexps '("^Saving" "^Wrote")) (setq set-message-functions '(inhibit-message)) ``` -- Eason Huang