GNU bug report logs -
#36950
27.0.50; Paste to isearch does not work
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Tue, 6 Aug 2019 22:19:01 UTC
Severity: normal
Tags: fixed
Fixed in version 27.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36950 in the body.
You can then email your comments to 36950 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36950
; Package
emacs
.
(Tue, 06 Aug 2019 22:19:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Juri Linkov <juri <at> linkov.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 06 Aug 2019 22:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This is continuation of the closed bug#18727.
The xterm paste facility needs to be rewritten
to be like the GUI paste, so pasting to isearch
doesn't hang.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36950
; Package
emacs
.
(Fri, 13 Dec 2019 00:04:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 36950 <at> debbugs.gnu.org (full text, mbox):
> This is continuation of the closed bug#18727.
This needs to be fixed before the release. I provided the following patch
that fixes the problem, and don't know what else is needed.
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 7c22e6ad97..1705b050b5 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2508,10 +2508,12 @@ isearch-mouse-2
(declare-function xterm--pasted-text "term/xterm" ())
-(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))))
(defun isearch-yank-internal (jumpform)
"Pull the text from point to the point reached by JUMPFORM.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36950
; Package
emacs
.
(Fri, 13 Dec 2019 07:28:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 36950 <at> debbugs.gnu.org (full text, mbox):
> From: Juri Linkov <juri <at> linkov.net>
> Date: Fri, 13 Dec 2019 01:58:30 +0200
>
> > This is continuation of the closed bug#18727.
>
> This needs to be fixed before the release. I provided the following patch
> that fixes the problem, and don't know what else is needed.
You said there that this is somewhat ugly, and that a different
implementation would be cleaner. Can you please elaborate?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36950
; Package
emacs
.
(Sat, 14 Dec 2019 23:37:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 36950 <at> debbugs.gnu.org (full text, mbox):
>> > This is continuation of the closed bug#18727.
>>
>> This needs to be fixed before the release. I provided the following patch
>> that fixes the problem, and don't know what else is needed.
>
> You said there that this is somewhat ugly, and that a different
> implementation would be cleaner. Can you please elaborate?
Those are your words, not mine. In bug#18727 you said:
That's somewhat ugly, IMO. We should try making the xterm paste
facility play by the rules, like the GUI paste functionality does.
I don't know what you meant.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36950
; Package
emacs
.
(Sun, 15 Dec 2019 15:29:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 36950 <at> debbugs.gnu.org (full text, mbox):
> From: Juri Linkov <juri <at> linkov.net>
> Cc: 36950 <at> debbugs.gnu.org
> Date: Sun, 15 Dec 2019 01:18:05 +0200
>
> >> > This is continuation of the closed bug#18727.
> >>
> >> This needs to be fixed before the release. I provided the following patch
> >> that fixes the problem, and don't know what else is needed.
> >
> > You said there that this is somewhat ugly, and that a different
> > implementation would be cleaner. Can you please elaborate?
>
> Those are your words, not mine.
Oops, you are right, sorry.
So please go ahead and install this.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36950
; Package
emacs
.
(Mon, 16 Dec 2019 22:53:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 36950 <at> debbugs.gnu.org (full text, mbox):
tags 36950 fixed
close 36950 27.0.50
quit
>> >> > This is continuation of the closed bug#18727.
>> >>
>> >> This needs to be fixed before the release. I provided the following patch
>> >> that fixes the problem, and don't know what else is needed.
>> >
>> > You said there that this is somewhat ugly, and that a different
>> > implementation would be cleaner. Can you please elaborate?
>>
>> Those are your words, not mine.
>
> Oops, you are right, sorry.
>
> So please go ahead and install this.
Done.
Added tag(s) fixed.
Request was from
Juri Linkov <juri <at> linkov.net>
to
control <at> debbugs.gnu.org
.
(Mon, 16 Dec 2019 22:53:05 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 27.0.50, send any further explanations to
36950 <at> debbugs.gnu.org and Juri Linkov <juri <at> linkov.net>
Request was from
Juri Linkov <juri <at> linkov.net>
to
control <at> debbugs.gnu.org
.
(Mon, 16 Dec 2019 22:53:05 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 14 Jan 2020 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 103 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.