all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mitchell Plamann <mplamann@janestreet.com>
Cc: 32922@debbugs.gnu.org
Subject: bug#32922: Echo area flickers when receiving data in network process
Date: Wed, 03 Oct 2018 21:49:56 +0300	[thread overview]
Message-ID: <83bm8a3lwr.fsf@gnu.org> (raw)
In-Reply-To: <CACgDjGufUG9ehb862gYYku=Nc2JoEhUCBfkQb6FMMe8xgUTt4g@mail.gmail.com> (message from Mitchell Plamann on Wed, 3 Oct 2018 13:57:15 -0400)

> 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






  reply	other threads:[~2018-10-03 18:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2019-10-03  1:07 ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bm8a3lwr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=32922@debbugs.gnu.org \
    --cc=mplamann@janestreet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.