emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] term/rxvt: Enable bracketed paste mode


From: Stefan Monnier
Subject: Re: [PATCH] term/rxvt: Enable bracketed paste mode
Date: Tue, 03 Mar 2020 15:22:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> rxvt-unicode uses the same escape sequences as xterm so just re-use
> the xterm function to enable it.
>
> The xterm-rxvt-function-map keymap already has
>
>     (define-key map "\e[200~" [xterm-paste])
>
> so we're already handling the paste sequence and only need to enable it.

I don't have rxvt to test, but the patch looks good.  What I wonder if
whether it would make sense to use even more of `terminal-init-xterm` in
rxvt.el.
E.g. focus-tracking, frame-title?

I also see that terminal-init-xterm tries to detect when it's been
accidentally called in rxvt, and in that case it still keeps most of
terminal-init-xterm intact.  Apparently, this is right for
bracketed-paste, but what about the rest?


        Stefan




reply via email to

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