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: Sat, 28 Jan 2023 20:07:21 +0200 Message-ID: <831qnea5ye.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> 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="6631"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, 60841@debbugs.gnu.org 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 Sat Jan 28 19:08:26 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 1pLpco-0001Z0-4Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Jan 2023 19:08:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLpcR-00066m-No; Sat, 28 Jan 2023 13:08:03 -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 1pLpcQ-00066W-NL for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2023 13:08: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 1pLpcQ-0006Ar-F6 for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2023 13:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLpcQ-0006l8-5v for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2023 13:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Jan 2023 18:08:02 +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.167492926125949 (code B ref 60841); Sat, 28 Jan 2023 18:08:02 +0000 Original-Received: (at 60841) by debbugs.gnu.org; 28 Jan 2023 18:07:41 +0000 Original-Received: from localhost ([127.0.0.1]:41487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLpc5-0006kS-2Y for submit@debbugs.gnu.org; Sat, 28 Jan 2023 13:07:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLpc2-0006kC-N7 for 60841@debbugs.gnu.org; Sat, 28 Jan 2023 13:07:39 -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 1pLpbx-00065w-GA; Sat, 28 Jan 2023 13:07:33 -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=H/QN5Rvdw3gU633vlT91Oyh4D2FfhlhSpM8oz/11sSk=; b=eMcJeQp5bk4O5O9Zn2a4 vGjNWHoIK0h18GpPy8nMlDWa0dnxM1tN0z+uyedL9l6KIFfA8eXY8CWKG4YuQg86oBQeKBDxEH5Zg FaAjM92Uar34cD52Ex97ghZkwhR2nBgLfZOLPy0heoRgCbEStmnsO1O7eVM8VSKw1cHE06fuLptPb f6RijJdPZ94o0fq2NvdwNmjADxk6FtAnUd6hnd8yO09jSUJS0hSEkf4lM8AH6/mqbdfPOH1SSBKKK xOoqWfzPC/+3QSP3IpM/TlX3Sm2SK3t8qvd41a0R7AuWHquPXUky5NpT5oxYRuFndaqznyQNuNepe nZMTdIDGrryDtw==; 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 1pLpbw-0007Wx-NU; Sat, 28 Jan 2023 13:07:33 -0500 In-Reply-To: <87h6wawo2k.fsf@gmail.com> (message from =?UTF-8?Q?K=C3=A9vin?= Le Gouguec on Sat, 28 Jan 2023 18:45:07 +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:254311 Archived-At: > From: Kévin Le Gouguec > Cc: gregory@heytings.org, 60841@debbugs.gnu.org > Date: Sat, 28 Jan 2023 18:45:07 +0100 > > diff-mode.el (re. smerge-mode.el) can indeed be fooled into thinking > diff-changed (re. smerge-refined-changed) differs-from-default, if one > "shoots their own foot", for example, setting… > > * :extend t: fixed by this patch ✔️ > * :stipple nil: foot blown with or without the patch 🤷 > * :inherit 'default: foot blown with or without the patch 🤷 > > Problem with :stipple nil and :inherit 'default explained in [1]. > indicate-copied-region will become affected if the current patch goes > in. I wouldn't be bothered by :stipple whose value is nil. Why would someone do such a thing, except when the face is meant to be merged with other faces (which are expected to have non-nil :stipple attributes)? > > Alternatively, we could add a user option to make the swap > > unconditional, because maybe some users would prefer that to splitting > > hair in this case. Then we could stop worrying about all those fine > > differences. > > Should I cook up a user option to unconditionally do the swap before we > apply the attached? Otherwise we may disgruntle trunk users who > actually liked the behaviour I reported in the OP (swapping regardless > of whether region stands out). I guess adding such an option would be a good precaution, indeed.