From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom Date: Wed, 19 Aug 2020 09:32:52 -0700 Message-ID: <87mu2q7g0b.fsf@iris.silentflame.com> References: <87lfihi0w5.fsf@iris.silentflame.com> <87mu2sm5vu.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3963"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42865@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 19 18:34:10 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 1k8R2Q-0000vK-0f for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Aug 2020 18:34:10 +0200 Original-Received: from localhost ([::1]:44150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8R2O-0003fq-Sc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Aug 2020 12:34:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8R2I-0003fi-L9 for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 12:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8R2I-0001Is-Bg for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 12:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8R2I-0000UZ-89 for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 12:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Aug 2020 16:34: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.15978547841826 (code B ref 42865); Wed, 19 Aug 2020 16:34:02 +0000 Original-Received: (at 42865) by debbugs.gnu.org; 19 Aug 2020 16:33:04 +0000 Original-Received: from localhost ([127.0.0.1]:40823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8R1M-0000TO-4i for submit@debbugs.gnu.org; Wed, 19 Aug 2020 12:33:04 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:37097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8R1K-0000St-7I for 42865@debbugs.gnu.org; Wed, 19 Aug 2020 12:33:03 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EB5765C00D9; Wed, 19 Aug 2020 12:32:56 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 19 Aug 2020 12:32:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=6f0WTZkNT35mC80wW7t0nULD08 iHaAHucn8Unf2ma04=; b=i1I8lwUrAdj2P7vsV/IzmjVD3qibl9/MsvUcPnwiXM Oi8DRKXssrpata1P80/gMf82KBzWdRaHLR9rM5BRrkjjnE7TQdEM3EVlk/jollNI sqYO+rl1ReZ0F1V9screHq/9uVQ2ZpXeh/gr+2s737I7hgsFYd+TTkgn9l//kwZ5 YWHn9L+4yjRhHvLmdgI/GRVG6Zx/KxuKrZ6gNyHnBeooBi2HXlGdwAel2ST9bhIB SZfDhoL0eXMj2vZieTSI0B0b8z9Wdwxna2W4+JqOeXnRyB2IiMgkEK/rMS/UQ4YA C2s1YzOsLSynzRf9ygSpzw4dYM7O0FL15+4BvL2H64IQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=6f0WTZ kNT35mC80wW7t0nULD08iHaAHucn8Unf2ma04=; b=XB7JnLkn26+RcCPSV2/gyv U2OFPd/BRnGWdZGfuqnpXyaSsMWS6MRIRB2IGZ6qELhd89jt1PnHUu/j9Nt6fmuc DZlQImd608sCvBlEx010lMZ8wxGu6qhKvFT0mlveY1mmhEBgC8f0D1t7hZLQbcGz 3m999rNt3EkE26HzI7DxOgl4yizCQiuMdfd8FCdlUhO1Bgru+5yHBRt6gLvN7VpN tnqKHy9W273ZEaF+j4ySrqF+Gdw7k3KXXBtYhulkqhIwJFHWDhAode/wWuz0gWrf xjrs+yuVqsLRw913bm0I1xe2Y6tZ5u2Mua8fTA3fRptGGipRN6OQEfsdktJzOGgQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddtkedgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfggtgesthdtredttddttdenucfhrhhomhepufgvrghnucgh hhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqeenuc ggtffrrghtthgvrhhnpeegtddvheegfffhffdvfeefhffgjefflefhteevffffkeetgfdt jedtiedvtdevheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: In-Reply-To: <87mu2sm5vu.fsf@gnus.org> 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:185632 Archived-At: Hello Lars, On Tue 18 Aug 2020 at 03:37PM +02, Lars Ingebrigtsen wrote: > Sean Whitton writes: > >> +(defcustom copy-region-quietly nil >> + "Whether the copying of an inactive region is indicated visually. >> +If nil, behave as per the documentation of `indicate-copied-region'. >> +`no-swap' means inhibit briefly swapping point and mark. >> +`no-message' means inhibit displaying a message. >> +Any other value means inhibit both swapping and message-displaying." >> + :type '(choice :tag "Copy region quietly" >> + (const :tag "Default behavior" nil) >> + (const :tag "Don't swap point and mark" no-swap) >> + (const :tag "Don't display a message" no-message) >> + (const >> + :tag >> + "Don't swap point and mark or display a message" >> + t)) >> + :group 'killing) > > Thanks for the patch. > > The change looks reasonable to me, but I'm not quite sure of how useful > this is. Does many people want to tweak the behaviour of this command > to this extent? > > Perhaps somebody else on the bug tracker has opinions here. I just want to turn off the cursor blinking, but I thought I ought to try to come up with a slightly more general solution just in case someone wants it. Currently I have (fset 'indicate-copied-region #'ignore) in my init file but this is not a great way to customise something like this, hence my patch. It certainly seems plausible to me that others would want to turn off the cursor blinking, but I'm not sure about how many people care about the message. If you think it would be better I could come up with a simpler patch which only turns off blinking. -- Sean Whitton