From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#18727: 25.0.50; Paste to isearch-repeat-forward does not work Date: Wed, 07 Aug 2019 01:19:40 +0300 Organization: LINKOV.NET Message-ID: <87o912q6mb.fsf@mail.linkov.net> References: <87zhkqfamz.fsf@mouse.gnus.org> <878ss8yf58.fsf@mail.linkov.net> <83lfw7d2fr.fsf@gnu.org> <87tvavxwy9.fsf@mail.linkov.net> <83d0hjc9e5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="250963"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 18727@debbugs.gnu.org, berts@amazon.com, larsi@gnus.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 07 00:21:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hv7pN-00139C-8q for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Aug 2019 00:21:09 +0200 Original-Received: from localhost ([::1]:36528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hv7pM-00084P-BC for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Aug 2019 18:21:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50783) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hv7pH-00084J-Kk for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 18:21:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hv7pG-0000pt-OY for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 18:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hv7pG-0000pi-Kz for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 18:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hv7pG-0000Ih-G6 for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 18:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Aug 2019 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 18727-submit@debbugs.gnu.org id=B18727.15651300081054 (code B ref 18727); Tue, 06 Aug 2019 22:21:02 +0000 Original-Received: (at 18727) by debbugs.gnu.org; 6 Aug 2019 22:20:08 +0000 Original-Received: from localhost ([127.0.0.1]:37954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv7oN-0000Gv-UB for submit@debbugs.gnu.org; Tue, 06 Aug 2019 18:20:08 -0400 Original-Received: from camel.birch.relay.mailchannels.net ([23.83.209.29]:57823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv7oM-0000Gk-He for 18727@debbugs.gnu.org; Tue, 06 Aug 2019 18:20:07 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 85C7A6A1D43; Tue, 6 Aug 2019 22:20:05 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a95.g.dreamhost.com (100-96-88-250.trex.outbound.svc.cluster.local [100.96.88.250]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 085CF6A0AED; Tue, 6 Aug 2019 22:20:05 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a95.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Tue, 06 Aug 2019 22:20:05 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Bored-Vacuous: 59d965be6dd2d01c_1565130005322_373550050 X-MC-Loop-Signature: 1565130005322:3588424889 X-MC-Ingress-Time: 1565130005321 Original-Received: from pdx1-sub0-mail-a95.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a95.g.dreamhost.com (Postfix) with ESMTP id AC300816CD; Tue, 6 Aug 2019 15:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=gJgvVtFfT5a1dtbSCc0GWUYEYjI=; b= XES2ehjv6c13sIVJOBu+RMfQ0xp2TO/Zu6YyQfb+SzhNTB8ioFKuY7alcs1Yugdl ag1UztHrLDkGShiZaXTKu5qlNnTYT5r6YCWnEjzs+ygGtHJnjHUr4lEUn3Fv2ZOJ dqSmcdg801RWGBgS61myAoljrYpOY7wLVt5PzUHrlHY= Original-Received: from mail.jurta.org (m91-129-103-91.cust.tele2.ee [91.129.103.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a95.g.dreamhost.com (Postfix) with ESMTPSA id 8055681533; Tue, 6 Aug 2019 15:20:01 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a95 In-Reply-To: <83d0hjc9e5.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 06 Aug 2019 05:31:14 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrudduuddgtdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrdeludenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdeluddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedv 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: 209.51.188.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:164698 Archived-At: >> -(defun isearch-xterm-paste () >> +(defun isearch-xterm-paste (event) >> "Pull terminal paste into search string." >> - (interactive) >> - (isearch-yank-string (xterm--pasted-text))) >> + (interactive "e") >> + (when (eq (car-safe event) 'xterm-paste) >> + (let ((pasted-text (nth 1 event))) >> + (isearch-yank-string pasted-text)))) > > That's somewhat ugly, IMO. We should try making the xterm paste > facility play by the rules, like the GUI paste functionality does. Since this bug report was already closed, and there is no quick fix, I created a new bug report bug#36950.