unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Phil Sainty <psainty@orcon.net.nz>
Cc: 31193@debbugs.gnu.org,
	bug-gnu-emacs
	<bug-gnu-emacs-bounces+psainty=orcon.net.nz@gnu.org>
Subject: bug#31193: 26.1; error in `term-down' after window configuration change
Date: Wed, 18 Apr 2018 08:15:23 -0400	[thread overview]
Message-ID: <877ep4u2w4.fsf@gmail.com> (raw)
In-Reply-To: <77839205bfe30db7b7a50428065d3714@webmail.orcon.net.nz> (Phil Sainty's message of "Wed, 18 Apr 2018 16:23:37 +1200")

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 <psainty@orcon.net.nz> 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(#<process terminal> "\015\033[K$\015\n")

Although I never got this short string.  I always get
"\015\033[K<prompt>\015\n\032/<path>\015\n<prompt>".  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





  reply	other threads:[~2018-04-18 12:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-17 13:00 bug#31193: 26.1; error in `term-down' after window configuration change Phil Sainty
2018-04-17 13:23 ` Noam Postavsky
2018-04-17 13:49   ` Phil Sainty
2018-04-18  0:07     ` Noam Postavsky
2018-04-18  1:04       ` Phil Sainty
2018-04-18  2:04         ` Noam Postavsky
2018-04-18  4:23           ` Phil Sainty
2018-04-18 12:15             ` Noam Postavsky [this message]
2018-04-18  5:05         ` Phil Sainty
2018-04-18  5:37           ` Phil Sainty
2018-04-18  6:25       ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=877ep4u2w4.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=31193@debbugs.gnu.org \
    --cc=bug-gnu-emacs-bounces+psainty=orcon.net.nz@gnu.org \
    --cc=psainty@orcon.net.nz \
    /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 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).