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#42865: 28.0.50; Add new 'copy-region-quietly' defcustom Date: Thu, 27 Aug 2020 22:08:23 +0300 Organization: LINKOV.NET Message-ID: <87tuwnoqjc.fsf@mail.linkov.net> References: <87lfihi0w5.fsf@iris.silentflame.com> <87mu2sm5vu.fsf@gnus.org> <875z9fe3l9.fsf@mail.linkov.net> <87eeo37x1f.fsf@gnus.org> <87a6yqc874.fsf@mail.linkov.net> <87blj5xyi0.fsf@gnus.org> <87o8n5ifr6.fsf@mail.linkov.net> <87364g8cgf.fsf@gnus.org> <87h7stnvaa.fsf@mail.linkov.net> <87eenwchk2.fsf@gnus.org> <87wo1nsyv7.fsf@mail.linkov.net> <87r1ruvab4.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="25480"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Lars Ingebrigtsen , 42865@debbugs.gnu.org, Sean Whitton To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 27 21:10:11 2020 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 1kBNHm-0006Ts-DB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Aug 2020 21:10:10 +0200 Original-Received: from localhost ([::1]:47244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBNHl-0007jC-FL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Aug 2020 15:10:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBNHe-0007ir-G5 for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 15:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBNHe-00071w-6Y for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 15:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kBNHd-0003J8-Uv for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 15:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 19:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42865 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 42865-submit@debbugs.gnu.org id=B42865.159855539012692 (code B ref 42865); Thu, 27 Aug 2020 19:10:01 +0000 Original-Received: (at 42865) by debbugs.gnu.org; 27 Aug 2020 19:09:50 +0000 Original-Received: from localhost ([127.0.0.1]:44073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBNHR-0003Ie-VM for submit@debbugs.gnu.org; Thu, 27 Aug 2020 15:09:50 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:54223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBNHP-0003IP-2l for 42865@debbugs.gnu.org; Thu, 27 Aug 2020 15:09:48 -0400 Original-Received: from mail.gandi.net (m91-129-102-47.cust.tele2.ee [91.129.102.47]) (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id D748A240003; Thu, 27 Aug 2020 19:09:37 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Tue, 25 Aug 2020 17:36:16 -0700") 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" Xref: news.gmane.io gmane.emacs.bugs:186561 Archived-At: >> The message text changes not often. But the symbol approach is much worse >> because it takes the freedom from users - in case of symbols the developers >> decide whether to allow the users to inhibit messages or not. When developers >> allow to inhibit some messages by adding a new symbol to the message function, >> then it takes many years until the users can start using new symbols to >> inhibit messages after the next release. > > I think you convinced me, thanks. I still think people will shoot > themselves in the foot, but OTOH we are hardly strangers to that. > > Let's hear what others have to say. I'm allowed to have more than one opinion? Since most 'message' calls use FORMAT-STRING with ARGS, then like gettext translates FORMAT-STRING, inhibit-message could also check FORMAT-STRING, instead of matching a regexp on the formatted string. So for example just check if "Saved text until \"%s\"", was added to a user-defined list, and inhibit the message.