From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 05 18:20:36 2013 Received: (at submit) by debbugs.gnu.org; 5 Mar 2013 23:20:36 +0000 Received: from localhost ([127.0.0.1]:33231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UD19v-0000Wr-CZ for submit@debbugs.gnu.org; Tue, 05 Mar 2013 18:20:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40903) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UD19s-0000Wf-Bt for submit@debbugs.gnu.org; Tue, 05 Mar 2013 18:20:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UD19N-0001Em-La for submit@debbugs.gnu.org; Tue, 05 Mar 2013 18:20:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-104.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD19N-0001Dx-HE for submit@debbugs.gnu.org; Tue, 05 Mar 2013 18:20:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD19L-0001Wa-PB for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 18:20:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UD19J-0001AG-QJ for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 18:19:59 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:39395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD19J-00019p-JO for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 18:19:57 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r25NJsK2010377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 5 Mar 2013 23:19:55 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r25NJswa010372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Mar 2013 23:19:54 GMT Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r25NJs4f017605 for ; Tue, 5 Mar 2013 17:19:54 -0600 Received: from dradamslap1 (/10.159.175.49) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 05 Mar 2013 15:19:54 -0800 From: "Drew Adams" To: Subject: 24.3.50; `mouse-secondary-save-then-kill' should not affect the kill ring (+ regression) Date: Tue, 5 Mar 2013 15:19:52 -0800 Message-ID: <65E5B3EECB024BECBFE64DDE1C8CCFF7@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac4Z9/BgytFwvWv9Q+SCp3mwPPHkQg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Prior to Emacs 24, if you clicked `M-mouse-3' without first clicking `M-mouse-1' you got a "Wrong buffer" error msg informing you that the secondary selection was not in this buffer. That was consistent and reasonable behavior. Starting with Emacs 24, if you do that Emacs moves the secondary selection to the current buffer, from point to the clicked position. 1. It could be argued that this is a regression, especially as: a. This user-visible behavior change is not noted in the NEWS, AFAICT. b. Point has nothing to do with the secondary selection, whereas it is always at one end of the region. c. Now the user is no longer informed that s?he is in the wrong buffer. I.e., s?he is not told that there is no secondary selection in the current buffer. If s?he has already defined the secondary selection in a different buffer, and, e.g., s?he thinks s?he is in that buffer, s?he will lose that selection and instead re-create the secondary selection in the current buffer. This change in behavior is arguably a bad thing, not a good thing. 2. Be that as it may, if this behavior is to remain, there is nevertheless the following bug, the main purpose of this report: In this case (no start of secondary selection in current buffer, so using point as the start position), the code mistakenly does this, in addition to doing what it needs to do to establish the secondary selection: (kill-ring-save (point) click-pt) That code is a vestige, presumably. In any case, it has no business being there. Setting the secondary selection should not in any way affect the `kill-ring'. The secondary selection is entirely separate from the region and the kill ring. This sexp should be removed. In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600) of 2013-02-25 on ODIEONE Bzr revision: 111879 yamaoka@jpl.org-20130225224731-cv9gznq5nqf3ei7g Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib' From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 14:04:04 2020 Received: (at 13884) by debbugs.gnu.org; 6 Dec 2020 19:04:04 +0000 Received: from localhost ([127.0.0.1]:51266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klzKG-00063c-Bm for submit@debbugs.gnu.org; Sun, 06 Dec 2020 14:04:04 -0500 Received: from quimby.gnus.org ([95.216.78.240]:56350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klzKF-000635-1L for 13884@debbugs.gnu.org; Sun, 06 Dec 2020 14:04:03 -0500 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=N2N8tVSRuorRJMnMk4z9jTl/XpCXMJwwbYMVULVlWhI=; b=p1/13fJuS46iwuM+kQD9muz/yA xIueCfXufbt2sduCvQIYxhDwAJ9cMokA53D6575Mu9DU4TfzRP3ryr0CRpxBQcFXcegzvafOqA+wO Aw4c9zFmw1t+ZKAosfqsYgidxzEqgnwzFfFAgfAXg92ikxx6HXVI9i0/Fdmd+TkDFii8=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klzK6-00076g-5y; Sun, 06 Dec 2020 20:03:56 +0100 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#13884: 24.3.50; `mouse-secondary-save-then-kill' should not affect the kill ring (+ regression) References: <65E5B3EECB024BECBFE64DDE1C8CCFF7@us.oracle.com> X-Now-Playing: Sylvain Chauveau's _Life Without Machines_: "....en........." Date: Sun, 06 Dec 2020 20:03:52 +0100 In-Reply-To: <65E5B3EECB024BECBFE64DDE1C8CCFF7@us.oracle.com> (Drew Adams's message of "Tue, 5 Mar 2013 15:19:52 -0800") Message-ID: <87wnxurc2v.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "Drew Adams" writes: > Prior to Emacs 24, if you clicked `M-mouse-3' without first clicking > `M-mouse-1' you got a "Wrong buffer" error msg informing you that the > secondary selection was not in this buffer. That was co [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13884 Cc: 13884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Drew Adams" writes: > Prior to Emacs 24, if you clicked `M-mouse-3' without first clicking > `M-mouse-1' you got a "Wrong buffer" error msg informing you that the > secondary selection was not in this buffer. That was consistent and > reasonable behavior. > > Starting with Emacs 24, if you do that Emacs moves the secondary > selection to the current buffer, from point to the clicked position. > > 1. It could be argued that this is a regression, especially as: (I think it's too late to change how this works at this point.) > 2. Be that as it may, if this behavior is to remain, there is > nevertheless the following bug, the main purpose of this report: In this > case (no start of secondary selection in current buffer, so using point > as the start position), the code mistakenly does this, in addition to > doing what it needs to do to establish the secondary selection: > > (kill-ring-save (point) click-pt) > > That code is a vestige, presumably. In any case, it has no business > being there. Setting the secondary selection should not in any way > affect the `kill-ring'. The secondary selection is entirely separate > from the region and the kill ring. This sexp should be removed. The doc string says: ---- Set the secondary selection and save it to the kill ring. ---- So this is presumably intended behaviour. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 14:04:10 2020 Received: (at control) by debbugs.gnu.org; 6 Dec 2020 19:04:10 +0000 Received: from localhost ([127.0.0.1]:51269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klzKL-00063y-KK for submit@debbugs.gnu.org; Sun, 06 Dec 2020 14:04:09 -0500 Received: from quimby.gnus.org ([95.216.78.240]:56366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klzKK-00063V-53 for control@debbugs.gnu.org; Sun, 06 Dec 2020 14:04:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HwTrNqdywpyqjg5DNKpA3h4KM0y79lhIUxSivwmE99k=; b=N1gXabfYOlzaqZ5t9M+l7a+AbW y9N21VVKqmTl8+5PJpRnjE2vDXNheKO3f0IeXJY885QpVP5CwbGUfzwscpmrWcuPnskBM+gDh4623 XvXtJjlUOsncSJFYtiPOF8GNXSu6QqFmK3D2Q+OX7q5uXiixn9boVTRpXZ++xnT+bYb4=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klzKC-00076n-Hu for control@debbugs.gnu.org; Sun, 06 Dec 2020 20:04:02 +0100 Date: Sun, 06 Dec 2020 20:03:59 +0100 Message-Id: <87v9derc2o.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #13884 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 13884 notabug close 13884 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 13884 notabug close 13884 quit From unknown Sun Jun 22 17:16:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 04 Jan 2021 12:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator