From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mitchell Plamann Newsgroups: gmane.emacs.bugs Subject: bug#32922: Echo area flickers when receiving data in network process Date: Wed, 3 Oct 2018 13:57:15 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006dd179057756c506" X-Trace: blaine.gmane.org 1538591681 13802 195.159.176.226 (3 Oct 2018 18:34:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Oct 2018 18:34:41 +0000 (UTC) To: 32922@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 03 20:34:37 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7lyn-0003UJ-2N for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Oct 2018 20:34:37 +0200 Original-Received: from localhost ([::1]:51794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7m0t-0006eN-8t for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Oct 2018 14:36:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7m0j-0006Zd-Ox for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 14:36:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7lzC-0003NK-LL for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 14:35:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59927) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7lzC-0003Ms-6o for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 14:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g7lzB-00013r-Ve for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 14:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mitchell Plamann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Oct 2018 18:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15385916674016 (code B ref -1); Wed, 03 Oct 2018 18:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Oct 2018 18:34:27 +0000 Original-Received: from localhost ([127.0.0.1]:35949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7lyc-00012g-EJ for submit@debbugs.gnu.org; Wed, 03 Oct 2018 14:34:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7lP6-0006Zs-FU for submit@debbugs.gnu.org; Wed, 03 Oct 2018 13:57:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7lP0-0006Zw-HU for submit@debbugs.gnu.org; Wed, 03 Oct 2018 13:57:39 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43876) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g7lP0-0006Zc-D7 for submit@debbugs.gnu.org; Wed, 03 Oct 2018 13:57:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7lOz-0005WW-KD for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 13:57:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7lOu-0006Wr-Il for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 13:57:37 -0400 Original-Received: from mxout1.mail.janestreet.com ([38.105.200.78]:33201) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g7lOu-0006UD-By for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 13:57:32 -0400 X-JS-Received: from [30.32.81.38] (helo=igm-qpr-mailcore1) by mxout1.mail.janestreet.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1g7lOq-0002pB-O8 for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 13:57:28 -0400 X-JS-Flow: external X-JS-Received: by igm-qpr-mailcore1 with ocaml/mailcore/main_production (f91d90057430) (envelope-from ) id BbtQMI-SsZjgA-Wf; 2018-10-03 13:57:28.727370-04:00 X-JS-Scanner-attachment: No attachments X-JS-Scanner-esets: Not scanned (internal mail) Original-Received: from mail-lf1-f71.google.com ([209.85.167.71]) by mxgoog1.mail.janestreet.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1g7lOq-0000V7-Is for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 13:57:28 -0400 Original-Received: by mail-lf1-f71.google.com with SMTP id f137-v6so1155574lff.6 for ; Wed, 03 Oct 2018 10:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=8Xw9IDPo4g61SiSi3zfaAQHtdkolRxiUCrWXGtInj4k=; b=TTq7nUwBT9AOB1lqLffdkLtij8Y4Q9aQleMDq9X/ex+sy09vLFyMocfMZyC0niScug 4EhfSEOlYtksDe9KKzm+rpVNMuNnCkyq3pbUPqhiOCimlNS22kQvQZIQ2AWIje8TJi9o lnIsSRZyI/nhiq7JTZbgV1wR9xyoaExSE7bSM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8Xw9IDPo4g61SiSi3zfaAQHtdkolRxiUCrWXGtInj4k=; b=i2MKW4SCWPZJVTrIWwRRkR0Id21T8KEtZmjQGa/DV/THNsrGlRiKPJU3IT1eVIi2e6 jAYNMAvEyvOqhpB4Bo2FZ1DRraMALwZ6ypaLLuqxc49UhMEb3USybaM5JA2UbnMZS99s HqURDR1xNHBh//WFgtvEIVFXNJ9NnE/iBQRIwFBh5t3PMx7b0YA2k/ntCdTNi6p3x79R LEaoNd1UZlAI9X/Fl+q8BsM8T2Qpi4LktV7O2hcx5OtGXUXWZhiwC1qAxOrfVT1AUpxW QJazzloxL+I67kWIuZQSt76ovQEQP1Rimher4xEO43aa+373E8jdRKjA4HptvgWujrli +3qA== X-Gm-Message-State: ABuFfojHejTWSbbbhF27ycmApOfpsRHCZCJOvEeP6iK1OiaLP2+V5U/q EEp+XXjh1TZVVr93IDXBRkzcI9K85K6ppSSLXffNlLiEgbwWFyZqVmjJ9H2pE4cVoBRxmdW58Fz tYz12mt95/5/54kVUIT+vXEEpZ75Ktw== X-Received: by 2002:a2e:591d:: with SMTP id n29-v6mr1857645ljb.70.1538589447125; Wed, 03 Oct 2018 10:57:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV61sqdOvdVYoL+kCaGoxCPJwb3ft+sY3duJx1Ep7soXUxoZ+SdrL2eYvfVw12isqpdNFprDCA1T3+Mhbd78ZROI= X-Received: by 2002:a2e:591d:: with SMTP id n29-v6mr1857629ljb.70.1538589446745; Wed, 03 Oct 2018 10:57:26 -0700 (PDT) X-JS-Exim-Data-Received: 2018-10-03 13:57:28-0400 X-JS-Processed-by: mailcore X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 03 Oct 2018 14:34:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150916 Archived-At: --0000000000006dd179057756c506 Content-Type: text/plain; charset="UTF-8" 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. --0000000000006dd179057756c506 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Steps to reproduce:
=C2=A0 - Open &qu= ot;emacs -Q"
=C2=A0 - Eval=C2=A0(make-network-process :name = "foo" :server t :service 8080 :family 'ipv4)
=C2=A0= - Press "C-x 5". After a few seconds, the echo area will display= "C-x 5-".
=C2=A0 - In another terminal, run "yes = | nc localhost 8080"
=C2=A0 - 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 ab= le to tell, the data coming in to the network process triggers [read_key_se= quence] in [keyboard.c] to replay the "C-x 5" sequence. As part o= f this replay, it outputs "C-x", then "C-x 5", then &qu= ot;C-x 5-" to the echo area, which causes the "5-" to look l= ike it is flickering.
--0000000000006dd179057756c506--