bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18727: 25.0.50; Paste to isearch-repeat-forward does not work


From: Juri Linkov
Subject: bug#18727: 25.0.50; Paste to isearch-repeat-forward does not work
Date: Wed, 07 Aug 2019 01:19:40 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> -(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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]