GNU bug report logs - #37782
Emacs 27 client adding [I] to the beginning of the buffer

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#37782: closed (Emacs 27 client adding [I] to the beginning of
 the buffer)
Date: Sat, 26 Oct 2019 10:32:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 26 Oct 2019 13:30:54 +0300
with message-id <83k18rvlwh.fsf <at> gnu.org>
and subject line Re: bug#37782: Emacs 27 client adding [I] to the beginning of the buffer
has caused the debbugs.gnu.org bug report #37782,
regarding Emacs 27 client adding [I] to the beginning of the buffer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
37782: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37782
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Carlos Pita <carlosjosepita <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 27 client adding [I] to the beginning of the buffer
Date: Wed, 16 Oct 2019 19:45:12 -0300
I noticed that when running emacs 27 in client/server mode I often
open a file to find out that the string "[I]" (it's an upper-case i,
not a lower-case L) has been added to the beginning of the buffer. I
don't have this problem with 26.3.

Best regards
--
Carlos


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Carlos Pita <carlosjosepita <at> gmail.com>
Cc: 37782-done <at> debbugs.gnu.org
Subject: Re: bug#37782: Emacs 27 client adding [I] to the beginning of the
 buffer
Date: Sat, 26 Oct 2019 13:30:54 +0300
> From: Carlos Pita <carlosjosepita <at> gmail.com>
> Date: Sat, 19 Oct 2019 00:20:05 -0300
> Cc: 37782 <at> debbugs.gnu.org
> 
> The problem with the fix for #5095 is that it's dropping the current
> event, which is a valid char event and not -2. Thus, the first esc
> char sent by the terminal after turning on focus tracking is lost and
> we get `[`, `I` events separately inserted into the buffer afterwards.
> 
> Attached is a patch that replays key as mock input when it's not -2.

Thanks, pushed, and closing the bug.


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.