From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#23007: 24.5; buggy interactive search with middle click Date: Mon, 29 May 2017 20:53:24 -0400 Message-ID: <87d1ar412z.fsf@users.sourceforge.net> References: <87a8m13gba.fsf@zira.vinc17.org> <871sr7h1xy.fsf@gmail.com> <87inkj43q9.fsf@users.sourceforge.net> <3858231a-8ba1-47a7-a4fa-f516ea1eba22@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1496105531 15327 195.159.176.226 (30 May 2017 00:52:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 May 2017 00:52:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: Vincent Lefevre , Alex , 23007@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 30 02:52:07 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 1dFVOJ-0003pU-5C for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 May 2017 02:52:07 +0200 Original-Received: from localhost ([::1]:51024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFVOO-0003hC-Ky for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 May 2017 20:52:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFVOH-0003fM-GA for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 20:52:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFVOE-00053Z-Cp for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 20:52:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFVOE-00053U-7u for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 20:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFVOD-00086u-V8 for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 20:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 May 2017 00:52:01 +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.149610551531164 (code B ref 23007); Tue, 30 May 2017 00:52:01 +0000 Original-Received: (at 23007) by debbugs.gnu.org; 30 May 2017 00:51:55 +0000 Original-Received: from localhost ([127.0.0.1]:43968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFVO7-00086a-A7 for submit@debbugs.gnu.org; Mon, 29 May 2017 20:51:55 -0400 Original-Received: from mail-io0-f196.google.com ([209.85.223.196]:33723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFVO5-00086N-H0 for 23007@debbugs.gnu.org; Mon, 29 May 2017 20:51:53 -0400 Original-Received: by mail-io0-f196.google.com with SMTP id m4so7981666ioe.0 for <23007@debbugs.gnu.org>; Mon, 29 May 2017 17:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=dnuvAFEen0LOkxrn9oBOqwBp+S7ovKp6VR44GDAMWpw=; b=LjhPi4dTObWD9+5/qnbNWER/z2U9hRuKZkgCqETljPnz9MofJCuw0PuxUetlSMvBy2 4X4ajORerw1rY7dmeliKXowPQxDALMYQVmo9u4ka/GD6fm3fA0n+HlmT57UYKpxkW7sr aOb3NXdRvYYxExHKBZA/KN0w99E7bNWIzkxcilO4j321xWZ1r/bXBKugxwBOIkTTgYkR xKqw2V/n0ePyebrz3OaoGMydXmhDV1x4AVI1w+8MJSc50amyM732iP8gdAm7p3R0YQxo s/0D+8d9dcRcwIkkWS4GuyMw+Dq87643bVWUOU6F6B28ypcUhTO+06ZQ7mplLO/GfU0l OL0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=dnuvAFEen0LOkxrn9oBOqwBp+S7ovKp6VR44GDAMWpw=; b=ILUr2gd/PuI9u5/Auy03bQt/XqJFgbjS4tB6MJbx+Gjfom6Vh1+uIGWNonY5nnY8Yg jW8Iit9Kys0qRgpjRQYnBFvSTDaFOMpiY0d2uV5SmnPzjio40/X05qcpHqhspB5fU9Bd ciTDueulfJoFtRmaIArodPhqadNSaz9q0DQyP9PWxcxJ0Q3FLTDextgPaygihXwYKxL2 fWN7h6vCX1xkbNMJI2KSKkSDnqJmldrcHKhY3wTV5oPOw+RHkC/uhGOaNRENd81I40kz vYJR/aBG9kr50jcb5xn916JP+RTiWzI+dAxsymobTnI1S31BW6BbgPJCvyz6HlOmS2oK Zpcg== X-Gm-Message-State: AODbwcCmVXJsFQQrkT+ApPaCPoXdyPLNzVKE1vnVfJ6cE3K8/27x78wS HkYoH5OWJADGdg== X-Received: by 10.107.34.208 with SMTP id i199mr15606789ioi.210.1496105507556; Mon, 29 May 2017 17:51:47 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id f15sm4806920ioi.58.2017.05.29.17.51.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 May 2017 17:51:46 -0700 (PDT) In-Reply-To: <3858231a-8ba1-47a7-a4fa-f516ea1eba22@default> (Drew Adams's message of "Mon, 29 May 2017 17:41:43 -0700 (PDT)") 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:133028 Archived-At: Drew Adams writes: >> > + (let ((overriding-terminal-local-map nil)) >> > + (setq binding (key-binding (this-command-keys-vector) t))) >> >> IMO, it would be better style to do something like >> >> (let ((binding (let ((overriding-terminal-local-map nil)) >> (key-binding (this-command-keys-vector) t)))) >> ...) > > (let* ((overriding-terminal-local-map nil) > (binding (key-binding (this-command-keys-vector) t))) > ...) Check https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23007#8, we need to avoid binding `overriding-terminal-local-map' in "...".