GNU bug report logs - #32922
Echo area flickers when receiving data in network process

Previous Next

Package: emacs;

Reported by: Mitchell Plamann <mplamann <at> janestreet.com>

Date: Wed, 3 Oct 2018 18:35:01 UTC

Severity: normal

Tags: notabug

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32922 in the body.
You can then email your comments to 32922 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32922; Package emacs. (Wed, 03 Oct 2018 18:35:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mitchell Plamann <mplamann <at> janestreet.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 03 Oct 2018 18:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mitchell Plamann <mplamann <at> janestreet.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Echo area flickers when receiving data in network process
Date: Wed, 3 Oct 2018 13:57:15 -0400
[Message part 1 (text/plain, inline)]
Steps to reproduce:
  - Open "emacs -Q"
  - Eval (make-network-process :name "foo" :server t :service 8080 :family
'ipv4)
  - Press "C-x 5". After a few seconds, the echo area will display "C-x 5-".
  - In another terminal, run "yes | nc localhost 8080"
  - The "5-" in the echo area will begin to flicker.

I've tested this in emacs 25.3 and 26.1.

As far as I've been able to tell, the data coming in to the network process
triggers [read_key_sequence] in [keyboard.c] to replay the "C-x 5"
sequence. As part of this replay, it outputs "C-x", then "C-x 5", then "C-x
5-" to the echo area, which causes the "5-" to look like it is flickering.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32922; Package emacs. (Wed, 03 Oct 2018 18:51:02 GMT) Full text and rfc822 format available.

Message #8 received at 32922 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mitchell Plamann <mplamann <at> janestreet.com>
Cc: 32922 <at> debbugs.gnu.org
Subject: Re: bug#32922: Echo area flickers when receiving data in network
 process
Date: Wed, 03 Oct 2018 21:49:56 +0300
> From: Mitchell Plamann <mplamann <at> janestreet.com>
> Date: Wed, 3 Oct 2018 13:57:15 -0400
> 
> Steps to reproduce:
>   - Open "emacs -Q"
>   - Eval (make-network-process :name "foo" :server t :service 8080 :family 'ipv4)
>   - Press "C-x 5". After a few seconds, the echo area will display "C-x 5-".
>   - In another terminal, run "yes | nc localhost 8080"
>   - The "5-" in the echo area will begin to flicker.
> 
> I've tested this in emacs 25.3 and 26.1.
> 
> As far as I've been able to tell, the data coming in to the network process triggers [read_key_sequence] in
> [keyboard.c] to replay the "C-x 5" sequence. As part of this replay, it outputs "C-x", then "C-x 5", then "C-x 5-"
> to the echo area, which causes the "5-" to look like it is flickering.

This is deliberate, the code is explicitly written to replay the key
sequence.  For more about this, see

  http://lists.gnu.org/archive/html/emacs-devel/2018-09/msg00906.html





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32922; Package emacs. (Thu, 03 Oct 2019 01:08:01 GMT) Full text and rfc822 format available.

Message #11 received at 32922 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32922 <at> debbugs.gnu.org, Mitchell Plamann <mplamann <at> janestreet.com>
Subject: Re: bug#32922: Echo area flickers when receiving data in network
 process
Date: Thu, 3 Oct 2019 03:07:30 +0200
tags 32922 + notabug
close 32922

Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Mitchell Plamann <mplamann <at> janestreet.com>
>> Date: Wed, 3 Oct 2018 13:57:15 -0400
>>
>> Steps to reproduce:
>>   - Open "emacs -Q"
>>   - Eval (make-network-process :name "foo" :server t :service 8080 :family 'ipv4)
>>   - Press "C-x 5". After a few seconds, the echo area will display "C-x 5-".
>>   - In another terminal, run "yes | nc localhost 8080"
>>   - The "5-" in the echo area will begin to flicker.
>>
>> I've tested this in emacs 25.3 and 26.1.
>>
>> As far as I've been able to tell, the data coming in to the network process triggers [read_key_sequence] in
>> [keyboard.c] to replay the "C-x 5" sequence. As part of this replay, it outputs "C-x", then "C-x 5", then "C-x 5-"
>> to the echo area, which causes the "5-" to look like it is flickering.
>
> This is deliberate, the code is explicitly written to replay the key
> sequence.  For more about this, see
>
>   http://lists.gnu.org/archive/html/emacs-devel/2018-09/msg00906.html

Since this is intended behaviour, I'm closing this as notabug.

Best regards,
Stefan Kangas




Added tag(s) notabug. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Thu, 03 Oct 2019 01:08:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 32922 <at> debbugs.gnu.org and Mitchell Plamann <mplamann <at> janestreet.com> Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Thu, 03 Oct 2019 01:08:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 31 Oct 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.