From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#23007: 24.5; buggy interactive search with middle click Date: Mon, 29 May 2017 21:44:40 -0700 (PDT) Message-ID: References: <87a8m13gba.fsf@zira.vinc17.org> <871sr7h1xy.fsf@gmail.com> <87inkj43q9.fsf@users.sourceforge.net> <8760gjqcwh.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1496119515 5767 195.159.176.226 (30 May 2017 04:45:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 May 2017 04:45:15 +0000 (UTC) Cc: Vincent Lefevre , 23007@debbugs.gnu.org To: Alex , npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 30 06:45:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFZ1p-0001JV-9A for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 May 2017 06:45:09 +0200 Original-Received: from localhost ([::1]:51427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFZ1u-0007ax-E7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 May 2017 00:45:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFZ1m-0007aS-5q for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 00:45:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFZ1i-0007a2-W2 for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 00:45:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41355) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFZ1i-0007Zx-SD for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 00:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFZ1i-0004ue-IP for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 00:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 May 2017 04:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23007 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 23007-submit@debbugs.gnu.org id=B23007.149611949718858 (code B ref 23007); Tue, 30 May 2017 04:45:02 +0000 Original-Received: (at 23007) by debbugs.gnu.org; 30 May 2017 04:44:57 +0000 Original-Received: from localhost ([127.0.0.1]:44032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFZ1b-0004u5-T2 for submit@debbugs.gnu.org; Tue, 30 May 2017 00:44:57 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:22425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFZ1Z-0004tr-Qz for 23007@debbugs.gnu.org; Tue, 30 May 2017 00:44:54 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v4U4ijoF005812 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 30 May 2017 04:44:46 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v4U4ijIr014858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 30 May 2017 04:44:45 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v4U4ifsc000390; Tue, 30 May 2017 04:44:42 GMT In-Reply-To: <8760gjqcwh.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6767.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133036 Archived-At: > PS: I don't immediately see a reason to check for the (mark) in the > condition. I tested by deactivating the mark explicitly, and setting > mark-even-if-inactive to nil in the window, but it still worked > correctly. You probably don't need it. Sorry if I confused things, again. [I use it because my code needs to work also in older Emacs versions. So it first calls `gui-set-selection' to set the primary selection on the region (when there is a mark). And it `deactivates-mark' before then calling `isearch-yank-x-selection'.]