unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32922: Echo area flickers when receiving data in network process
@ 2018-10-03 17:57 Mitchell Plamann
  2018-10-03 18:49 ` Eli Zaretskii
  2019-10-03  1:07 ` Stefan Kangas
  0 siblings, 2 replies; 3+ messages in thread
From: Mitchell Plamann @ 2018-10-03 17:57 UTC (permalink / raw)
  To: 32922

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 913 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#32922: Echo area flickers when receiving data in network process
  2018-10-03 17:57 bug#32922: Echo area flickers when receiving data in network process Mitchell Plamann
@ 2018-10-03 18:49 ` Eli Zaretskii
  2019-10-03  1:07 ` Stefan Kangas
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2018-10-03 18:49 UTC (permalink / raw)
  To: Mitchell Plamann; +Cc: 32922

> From: Mitchell Plamann <mplamann@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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#32922: Echo area flickers when receiving data in network process
  2018-10-03 17:57 bug#32922: Echo area flickers when receiving data in network process Mitchell Plamann
  2018-10-03 18:49 ` Eli Zaretskii
@ 2019-10-03  1:07 ` Stefan Kangas
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2019-10-03  1:07 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 32922, Mitchell Plamann

tags 32922 + notabug
close 32922

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Mitchell Plamann <mplamann@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-03  1:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-03 17:57 bug#32922: Echo area flickers when receiving data in network process Mitchell Plamann
2018-10-03 18:49 ` Eli Zaretskii
2019-10-03  1:07 ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).