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: Fri, 31 Mar 2023 23:30:48 +0800 Message-ID: References: <83mt6i4kmi.fsf@gnu.org> <86cz7e4bz0.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="19636"; 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 17:37:23 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 1piGod-0004sX-56 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Mar 2023 17:37:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piGoO-0005FN-Jb; Fri, 31 Mar 2023 11:37:08 -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 1piGoJ-0005Ez-03 for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 11:37:03 -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 1piGoI-00025L-LW for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 11:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piGoH-0007Yw-Sq for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 11:37:01 -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 15:37:01 +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.168027697829014 (code B ref 60860); Fri, 31 Mar 2023 15:37:01 +0000 Original-Received: (at 60860) by debbugs.gnu.org; 31 Mar 2023 15:36:18 +0000 Original-Received: from localhost ([127.0.0.1]:34298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGna-0007Xu-2m for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:36:18 -0400 Original-Received: from out203-205-221-235.mail.qq.com ([203.205.221.235]:39768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGnU-0007XX-It for 60860@debbugs.gnu.org; Fri, 31 Mar 2023 11:36:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1680276654; bh=1kEfBiuAz5IW3UitkFZY+6zcTtlC+MwqHOF4l/6VVoo=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=m/Lgb8947gf2NWx/JfFu24GiDNeZrApsVxJv5owPH4fr2FO1T5Y3Q39J8PQPGQh8J OEZyGCxwAQPPKOGBCytBk7wWk+1Vz1DCoHK0bFT95qPTB83Z/D/LRQ2RGPUj2VNTse hmMEP5ZmgUz2QoYF3Ot8SaZRBrEur9bVhicKU51s= Original-Received: from macbook ([101.85.8.90]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id 7B5246D4; Fri, 31 Mar 2023 23:30:53 +0800 X-QQ-mid: xmsmtpt1680276653tip5b8v3f X-QQ-XMAILINFO: NGS5xw3DVfAMJpBdOgsQQPptrgIWDf22B8YbHSVHFrH/Do+Dz9sp3UKVhQPcfk pARZgEcUOljcevSK/CHiYBTaw4Pg2pGYgsk3NgaEBvFWhZuq45IGZItm54L5iWzagg2mzkxM+UpV puzbqxdxdN67jKwSyPf7m04eruGy0p4TgY8kI9YvmugkUeOAMoAklxTxtzLIomN9T3aowR7kqjuF TfG2jWV++XOP/I6kYzrTkz0bXBhYWSUa88a+Pg/H8OrK0OLxakslGe1yMY+5V7HjLPoMY72exFaX xeO+QcWbrVN0T5kejdFFNe1is+083MYBR1yApVf0YZ+aebCwZtIWOoirj/jBnERWug5SJ9STvXnp Jd8UU/xueAJgUoOpN07oF10vkwXYuvQkQTNt+18zbJoh1q8E1dAhYg04tiqfuRD9blq5LhFQoPVt Z/P3Ba+d/F+P2kVoPXtAZoCzFM9AB/PKozA4zoBgGUm/KiiahYwcCdbOjunlB1NGpGcHnq3zc7V8 ixUvnGFhLSINbXY2V2L0DOytb1HT8OKlj1fkizcZwuDPUyOhcZP8vn11U11grHqzOI62B3Xt2SZ+ 4tehMTtyVyIZ2wVClRQEQGWM2lVST23YsQ583isxXnNjoftLvkB2rRhQfaSclCEYt8t54PCWVat2 ogM/88/IFlSegNYE+8ShWZq4cDcURbM5HeNpbAa+OmObGfhDfoaj+u4jhz/8SmdkYDrX2dnodMrG VrTRw5oFeKwt8hCPwyifSXFRRytt7MOFth5XzscHdWbpe4ov8zNBJtBttEhKVz7LeZPQ5Dn1Y8qI B0mE9/4+5g5hejMUDy+e2eN9bxog1NPftSuQb4Bx In-Reply-To: <86cz7e4bz0.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 16 Jan 2023 19:37:39 +0200") 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:259001 Juri Linkov writes: >>> I tried to set save-silently to t, but the saving file message will >>> still show on echo area, but it disappear immediately. >>> >>> Steps to reproduce: >>> >>> 1. emacs -Q to launch Emacs >>> 2. eval (setq save-silently t) >>> 3. C-x, C-f open any file and edit the file >>> 4. C-x, C-s save the file >>> Now you will see the message showing in the echo area in a short time >> >> This is macOS specific, I think, due to differences in how redisplay >> works on darwin. I don't see this on GNU/Linux and on MS-Windows. So >> it looks like the implementation does what it's supposed to do, and >> unless someone has ideas how to improve the result on macOS, I think >> we should close this bug as wontfix. > > To do the same, in Emacs 29 it's possible to add all these strings > like "Saving file..." to 'inhibit-message-regexps'. > Hi Juri, Thanks for your advice. I tried to set (setq inhibit-message-regexps "^Saving"), but the message in acho area still exist when saving file. @Eli, I aslo tried Emacs 28.2, (setq save-silently t) works as expected. -- Eason Huang