GNU bug report logs -
#37782
Emacs 27 client adding [I] to the beginning of the buffer
Previous Next
Reported by: Carlos Pita <carlosjosepita <at> gmail.com>
Date: Wed, 16 Oct 2019 22:46:02 UTC
Severity: normal
Tags: fixed, patch
Merged with 38132
Found in version 27.0.50
Fixed in version 27.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #18 received at 37782 <at> debbugs.gnu.org (full text, mbox):
> From: Carlos Pita <carlosjosepita <at> gmail.com>
> Date: Wed, 16 Oct 2019 23:33:50 -0300
>
> > If it turns out to be a problem in emacs I will report it again.
>
> Ok, it turned out to be a problem in emacs :).
>
> A minimal configuration to reproduce it would be: (load-theme 'wombat).
>
> Then launch `emacs --daemon` and finally `emacsclient -t`.
>
> Btw, it only happens in the terminal.
Most probably comes from escape sequences Emacs sends to the terminal
to detect support of advanced features. This particular one seems to
come from detecting focus-in support, see xterm.el:
;; These translation functions actually call the focus handlers
;; internally and return an empty sequence, causing us to go on to
;; read the next event.
(define-key map "\e[I" #'xterm-translate-focus-in)
(define-key map "\e[O" #'xterm-translate-focus-out)
Please debug to find out why that particular theme causes this
failure.
Thanks.
This bug report was last modified 5 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.