From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom Date: Fri, 21 Aug 2020 13:28:48 +0200 Message-ID: <87364g8cgf.fsf@gnus.org> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25397"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42865@debbugs.gnu.org, Sean Whitton To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 21 13:47:39 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 1k95WE-0006Ui-UD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Aug 2020 13:47:38 +0200 Original-Received: from localhost ([::1]:53410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k95WD-0003Bk-Vq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Aug 2020 07:47:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k95FD-0004sR-3s for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2020 07:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k95FC-00018M-P9 for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2020 07:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k95FC-0003Gq-LL for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2020 07:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Aug 2020 11:30:02 +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.159800934312454 (code B ref 42865); Fri, 21 Aug 2020 11:30:02 +0000 Original-Received: (at 42865) by debbugs.gnu.org; 21 Aug 2020 11:29:03 +0000 Original-Received: from localhost ([127.0.0.1]:45157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k95EF-0003En-3r for submit@debbugs.gnu.org; Fri, 21 Aug 2020 07:29:03 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:41244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k95ED-0003EI-IV for 42865@debbugs.gnu.org; Fri, 21 Aug 2020 07:29:02 -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:In-Reply-To:Date: References: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=pmZAmy6uUZuC5oTJMIs8E2sQiuJz4DFVUTy1zLQyIW0=; b=Tz57Mlj4S7LbL82Ma64ubiXTYn 1HfPvSIJQZUdv5jM5WdLn+LGxoCQq9tSs9IakX45rwntycNBXfONCF9Goq5bHqctmuVV2J9Gt7MG0 vRJ+X3p54ZFRRwUBuBvO8vbEQR55D3Fz9Ya4NRsTJ3qfSivWo9D7QDKI7Qon7LVoasFk=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k95E2-0002xA-0u; Fri, 21 Aug 2020 13:28:55 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXt49Tws6X3YVj/ //9yIEcRAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QIFQsDKup1aqwAAAE+SURBVCjPnZLBasMwDIbl 4oyuJwfiwnJfoX0KBZoedlIgDltOOaxj61P0tHM7KPQBktL6KScrTe6bwcaf/UeRfhngn0M5hyOU AHbYR+GS7pCMCx8GvVU4qFhU0qBSDlWv46OIHKwFWGy7tzKT73kuSOWIPbjXxpKABjh/lDNCwzAF db7oTUkBnlaT5khZQiF26o+HE1otMPcXrBC14dyh8C1xObpoGTJXkFkbVV0lgSXE68RubgIpzHUS vfQww0eyLh0gYkfuMMl5T6sAOT4TF2h3AeJrhcEsH0KbbWbYFPoJPzWzIkalslzA3nSo2DShOLPc BtgLLHwnVh7CWnifcdYghnwLTHt/a3+zCJ9KTIx3vj65dwkJD/bLseNGYIKJrfbNvZEEkcu7sXOR q9uh2ayox3ZbqWEYzv3l2fwCz29Ia1iemN0AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDgtMjFU MTE6MDM6NDErMDA6MDD2+vyfAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA4LTIxVDExOjAzOjQx KzAwOjAwh6dEIwAAAABJRU5ErkJggg== X-Now-Playing: Renaldo and the Loaf's _Songs for Swinging Larvae & Songs from the Surgery_: "Henri Lies" In-Reply-To: <87o8n5ifr6.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 21 Aug 2020 02:19:09 +0300") 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:185838 Archived-At: Juri Linkov writes: > This looks like the existing function 'user-error' that > doesn't enter the debugger when 'debug-on-error' is t. > Does the name 'user-message' make more sense? Yeah, that makes sense. > But the problem is that it would be a huge endeavor > to replace all 'message' calls with a new function call. Well, we wouldn't want to do that -- we'd only replace the ones that somebody thinks outputs a superfluous message. > So maybe a better route is to add a list of ignored messages like > 'debug-ignored-errors' contains a list of regexps that match messages > to ignore. > > Then this will disable display of the copy-region message: > > (add-to-list 'ignored-messages "^Saved text") I'm not in favour of that -- different code can output the same message, and it may be superfluous only from a specific function. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no