From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#31193: 26.1; error in `term-down' after window configuration change Date: Wed, 18 Apr 2018 08:15:23 -0400 Message-ID: <877ep4u2w4.fsf@gmail.com> References: <5480f11459b73e4cf0aabe12da5ce675@webmail.orcon.net.nz> <87sh7ut199.fsf@gmail.com> <7063321d07dcc711cc24699e095dfb9d@webmail.orcon.net.nz> <87muy1tm0i.fsf@gmail.com> <032fbfe050521617bf7b8c9a76479a16@webmail.orcon.net.nz> <87h8o9tglt.fsf@gmail.com> <77839205bfe30db7b7a50428065d3714@webmail.orcon.net.nz> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1524053654 8737 195.159.176.226 (18 Apr 2018 12:14:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Apr 2018 12:14:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 31193@debbugs.gnu.org, bug-gnu-emacs To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 18 14:14:09 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 1f8lyT-00023y-5O for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Apr 2018 14:14:09 +0200 Original-Received: from localhost ([::1]:53200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8m0U-0002y6-Mr for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Apr 2018 08:16:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8m0O-0002xn-Es for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:16:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8m0I-0003Q7-Gm for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:16:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50639) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8m0I-0003Ps-Cr for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8m0I-0000MT-4L for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Apr 2018 12:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31193 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 31193-submit@debbugs.gnu.org id=B31193.15240537371353 (code B ref 31193); Wed, 18 Apr 2018 12:16:02 +0000 Original-Received: (at 31193) by debbugs.gnu.org; 18 Apr 2018 12:15:37 +0000 Original-Received: from localhost ([127.0.0.1]:58535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8lzs-0000Ll-QB for submit@debbugs.gnu.org; Wed, 18 Apr 2018 08:15:36 -0400 Original-Received: from mail-it0-f51.google.com ([209.85.214.51]:52799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8lzo-0000LJ-DC; Wed, 18 Apr 2018 08:15:32 -0400 Original-Received: by mail-it0-f51.google.com with SMTP id f6-v6so2222499ita.2; Wed, 18 Apr 2018 05:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=cY0VYgPx/WiR+KZSnZm7LkN9R9F0/jCvjsBfr4LbvsE=; b=rXZwzS2QLzovIDLhAYwfSmhTBbEIGt9m++cvQLYjsXcJmNESi84u2gFYf+gXdHvrZv U0sCqWfk4XzX6ELmcpVjzS2NoY6dwp64I85j2Y0U28XnxiZnahumZrI0K8koNEJem36R lC5242uGxuc0fF8Irf4LgDxIcDu5LBxh9GgHWUcGZoBXFQntn0qKqno0EJgJJIH3l1PU HwcFCvwER/O8NnRNWG+1X0Si5AyY9lxumLxgwVCQN5Ha3mfv4r3LPk0/we8QhvN0ge/g s5z4mKKuMdQJAmQGSFVpKTz5VNA83sMvbippirc7o8R0TSXoWsZ+kuCSvS4VgUEVPEkz eYpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=cY0VYgPx/WiR+KZSnZm7LkN9R9F0/jCvjsBfr4LbvsE=; b=ErGX1aDhGFV4XscA5HdoLqQ2FLeX7mJmglaoE75uuY8WpzThU9p/zO90RR3UPzPn9c dgOqbNNiOxgo/2AJofiTo9NERcaT6+U2qJvqvViuJWahARskqkPcZnbOQy3AxDCCKm1A 2wnmnjiOIRCmJlCRMQ+ytMxH8wJn2x+GB8zDMKYDx/4X5MdjrCaF8P2u7+qH+3RmPZ7R 5bZkjsdgNHDRBW2zp+BohFDtJvAlBcgycmnyPp9/+ipBwUg4jDQnKbArKaTQOGUa+Nv8 KKje9tWuHFoSQuonLX4dBy3Ris5VmPFyYK9AdoQVB3oVpMmM4eF4XnJdGUiUyM5nqQth CQbg== X-Gm-Message-State: ALQs6tCJKZBdcXJnbbbE5M2uQg7JNhLCB34LrS9MCw9t/i5qJBuMyPAr yRTq+QRn7Jpck8zGRZbQAZM/Eg== X-Google-Smtp-Source: AIpwx48wE5D28mS6OJZ0jtmTmLmZGGJwJxOXsl5ZrKVOwgitixZTccSukH/eXdPCj/8volkoStv2zw== X-Received: by 2002:a24:3a44:: with SMTP id m65-v6mr2217700itm.74.1524053726565; Wed, 18 Apr 2018 05:15:26 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id g16-v6sm5014211ita.0.2018.04.18.05.15.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Apr 2018 05:15:25 -0700 (PDT) In-Reply-To: <77839205bfe30db7b7a50428065d3714@webmail.orcon.net.nz> (Phil Sainty's message of "Wed, 18 Apr 2018 16:23:37 +1200") 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:145568 Archived-At: tags 31193 fixed close 31193 quit I could reproduce the error when using bash 4.3. The main difference in versions seems to be that bash-4.4 repaints the last line of the prompt in reponse to the resize event, whereas bash-4.3 doesn't respond to that event; it just waits for the next user input. Phil Sainty writes: > I observe that whenever I execute a shell command (or just enter a blank > line) and then trigger the error, I get this the first time: > > term-emulate-terminal(# "\015\033[K$\015\n") Although I never got this short string. I always get "\015\033[K\015\n\032/\015\n". Not really that important, it's just kind of tickling my curiosity. Anyways, pushed the fixed to emacs-26. [1: b89ff0efdb]: 2018-04-18 07:33:27 -0400 Don't assume term-current-row cache is valid (Bug#31193) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b89ff0efdb65e9febe4c3ed2586a48a2b42233aa