GNU bug report logs -
#49253
27.2; Emacs non-responsive when pasting into terminal-mode
Previous Next
Reported by: Matt Bisson <bisson.m <at> gmail.com>
Date: Mon, 28 Jun 2021 15:23:02 UTC
Severity: normal
Found in version 27.2
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #77 received at 49253-done <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 11 Dec 2023 14:13:24 -0800
> From: Jared Finder <jared <at> finder.org>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, larsi <at> gnus.org, 49253 <at> debbugs.gnu.org
>
> On 2023-12-11 08:10, Matt Bisson wrote:
> > TL;DR: It works!
>
> Thank you for the testing!
>
> Eli, I think the fully correct definition for term--xterm-paste is the
> following, which has additional error checking:
>
> (defun term--xterm-paste (event)
> "Insert the text pasted in an XTerm bracketed paste operation."
> (interactive "e")
> (unless (eq (car-safe event) 'xterm-paste)
> (error "term--xterm-paste must be found to xterm-paste event"))
> (let ((str (nth 1 event)))
> (unless (stringp str)
> (error "term--xterm-paste provided event does not contain paste
> text"))
> (term-send-raw-string str)))
Thanks, installed on the emacs-29 branch, and closing the bug.
This bug report was last modified 1 year and 151 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.