From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#60841: 30.0.50; kill-ring-save pauses despite region being highlighted Date: Sun, 29 Jan 2023 17:40:56 +0200 Message-ID: <83k01573hz.fsf@gnu.org> References: <87h6wrs71h.fsf@gmail.com> <83zgai4peg.fsf@gnu.org> <5583fd58387746ce7ddc@heytings.org> <87cz7dbns0.fsf@gmail.com> <4c2c6cf44ad37e405b06@heytings.org> <878ri0g6ob.fsf@gmail.com> <83pmbc0yxo.fsf@gnu.org> <87y1pzo5dp.fsf@gmail.com> <834jskmhs8.fsf@gnu.org> <87fsc2qjcs.fsf@gmail.com> <833581jtff.fsf@gnu.org> <87lelsga1f.fsf@gmail.com> <83r0vkgj7l.fsf@gnu.org> <87h6wawo2k.fsf@gmail.com> <831qnea5ye.fsf@gnu.org> <87357t2xyh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29080"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, 60841@debbugs.gnu.org, juri@linkov.net To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 29 16:42:16 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 1pM9ou-0007Mc-Iz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Jan 2023 16:42:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pM9oi-0003aU-2o; Sun, 29 Jan 2023 10:42:04 -0500 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 1pM9og-0003a0-4e for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 10:42:02 -0500 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 1pM9of-0006ou-Sg for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 10:42:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pM9of-0008FO-Lw for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 10:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Jan 2023 15:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60841 X-GNU-PR-Package: emacs Original-Received: via spool by 60841-submit@debbugs.gnu.org id=B60841.167500687431641 (code B ref 60841); Sun, 29 Jan 2023 15:42:01 +0000 Original-Received: (at 60841) by debbugs.gnu.org; 29 Jan 2023 15:41:14 +0000 Original-Received: from localhost ([127.0.0.1]:45233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pM9nu-0008EG-9I for submit@debbugs.gnu.org; Sun, 29 Jan 2023 10:41:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pM9ns-0008Dz-FH for 60841@debbugs.gnu.org; Sun, 29 Jan 2023 10:41:13 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pM9nm-0006eP-7a; Sun, 29 Jan 2023 10:41:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=joeRJAopu+BMewDLDwn7stLUk2as7ePlttNl4hYmfMQ=; b=Of96vp5eqCyGYUZEYmCq OErmrhLc/cFM41NQDnhAHsdFe/t4fcU7czxw8zYKfc3dZxMZsedWwiHf3oj0TVBq5ncAdC+VYLT2F ELlUjJKxfCiAhz5x8Sxa8LEwgJnkVC27DBHpfBuoVuSkdNi5bHDj3OFu2AqVytNygwmbpfq1zUT4u yYYS4+sD3EmNzf19aGdkSDEkPAvx88Xjfh7dCNws08IXjYXXkXSbpegqXfxnMfpHxi0Y2BqHDmAj4 BtO8QBNCsLvqTEagSTUk+NhyrlOkrjsRov4G7vLNU2K5ENete1C+tqliDz8diXLdByXoTrDhDShPJ C+kWoO31vEn0OA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pM9nl-00023p-MK; Sun, 29 Jan 2023 10:41:06 -0500 In-Reply-To: <87357t2xyh.fsf@gmail.com> (message from =?UTF-8?Q?K=C3=A9vin?= Le Gouguec on Sun, 29 Jan 2023 15:54:14 +0100) 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:254364 Archived-At: > From: Kévin Le Gouguec > Cc: gregory@heytings.org, 60841@debbugs.gnu.org, Juri Linkov > Date: Sun, 29 Jan 2023 15:54:14 +0100 > > OK, two tentative patches attached, because I don't know which makes for > the better UX: > > ▼ Copy Region Inhibit Blink: > Choice: > (*) region-stands-out-p > Whether the region can be distinguished visually. More > ( ) always > Always inhibit: never blink point and mark. > ( ) ignore > Never inhibit: always blink point and mark. > ( ) Other predicate function.: ignore > State : STANDARD. > Whether we should refrain from blinking the cursor after a copy. ▼ > When this condition holds, ‘kill-ring-save’ will not blink the > cursor between point and mark to denote the copied region. > Groups: Killing > > ⁂ VS ⁂ > > ▼ Copy Region Blink Predicate: > Choice: > (*) region-indistinguishable-p > Whether the current region is not denoted visually. ▼ > This holds when the region is inactive, or when the ‘region’ face > cannot be distinguished from the ‘default’ face. > ( ) always > Always blink point and mark. > ( ) ignore > Never blink point and mark. > ( ) Other predicate function.: ignore > State : STANDARD. > Whether the cursor must be blinked after a copy. ▼ > When this condition holds, and the copied region fits in the > current window, ‘kill-ring-save’ will blink the cursor between > point and mark for ‘copy-region-blink-delay’ seconds. > Groups: Killing I prefer the second one, since inhibit-SOMETHING is slightly harder to grasp, due to the negation. The second paragraph of the NEWS entry shouldn't be there: it tells that we fixed a bug.