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: Tue, 17 Apr 2018 22:04:30 -0400 Message-ID: <87h8o9tglt.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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1524016987 23774 195.159.176.226 (18 Apr 2018 02:03:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Apr 2018 02:03:07 +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 04:03:02 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 1f8cR3-00062l-Mg for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Apr 2018 04:03:01 +0200 Original-Received: from localhost ([::1]:49816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8cTA-0005lk-Bf for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Apr 2018 22:05:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8cT4-0005lM-AX for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 22:05:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8cT0-0004Su-C5 for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 22:05:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50423) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8cT0-0004Sj-8f for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 22:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8cSz-0007Ej-UX for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 22:05:01 -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 02:05:01 +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.152401708027785 (code B ref 31193); Wed, 18 Apr 2018 02:05:01 +0000 Original-Received: (at 31193) by debbugs.gnu.org; 18 Apr 2018 02:04:40 +0000 Original-Received: from localhost ([127.0.0.1]:58320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8cSc-0007Dv-QJ for submit@debbugs.gnu.org; Tue, 17 Apr 2018 22:04:40 -0400 Original-Received: from mail-it0-f65.google.com ([209.85.214.65]:35530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8cSb-0007Dj-PB for 31193@debbugs.gnu.org; Tue, 17 Apr 2018 22:04:38 -0400 Original-Received: by mail-it0-f65.google.com with SMTP id q85-v6so608070itc.0 for <31193@debbugs.gnu.org>; Tue, 17 Apr 2018 19:04:37 -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=WaHH0T1bvunSoXtgWQ6tT/SGVi+nqlVTOLx9XQcHtV0=; b=j8iTOHW9FbCidVNGca8nt+G8/ZrTL8ZWS7Ae3Oup/tvCkm7zCnsgX0ryvnsQiLxge5 Uw+mLGm4YHceRH0A6sOzRtnHcO55kdN2s7EHVo9yPVXpVVq+20NMRQ1S98DK7NkKD2Is H0wFZeVsG6OgROfBr8QalNGKk02pnnl4t+gzFo2kkx14ZJjFxohWk96sTMrZi8wAiycM X8WWu+diBXb7+iks0b56da5t8AmFNkXl0NidI/b3CitdQR6vsjpd+SIsw4SKW0f2nQ4I j9AEK8cEkrHwdCsaXSeD1XHbl+rycTZH08wIFlMdmBOE4Oxj2fVGvcfS/kEtOVu2M0qF pmZQ== 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=WaHH0T1bvunSoXtgWQ6tT/SGVi+nqlVTOLx9XQcHtV0=; b=pM5zpf6twP91Z6X7PsJjARMCboGxjuLyU1t6D46LGta1/0SglbqfuaRczSLZEXKcsw em3x1Uy0BaeRWG0gedMxOA2cqBJNWIyWkxK+wGO5I+gKZC0ihMN6F1x/XMgatHn4nEi5 DY6XgP1P0K8nT1NeOVW9JEWUwUtlUVw7zY+5flBlTckAT8bZKASjthQn9cIfljTw1Q9+ HajVE2vYNB1u9AS9hjeB04CsOmLoPUznVi+V03/doB162FQqGP/8IhaU3X7NtaGAby8R cO4K908fiN7ZBXuhVUtzudbvduZ+nTvB8bJczor2vV57kQpNdZ1CwX4sz6uQtMuaFjE8 OwNQ== X-Gm-Message-State: ALQs6tDX3mStG7clayC0gQOlBHWyqoDx16YmwVtF+ReL/HM1M7Y/Zv9Q fcfZMpfk93NpYZI0FCgthDE= X-Google-Smtp-Source: AB8JxZq74vaTbiJ/CqqMaMnrHaXId0vq781RUD54DrOBmsTaJlVRImOhKrT4d8k8ErQgw7+KtrZzEQ== X-Received: by 2002:a24:7541:: with SMTP id y62-v6mr536324itc.119.1524017072262; Tue, 17 Apr 2018 19:04:32 -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 m22-v6sm69521iob.69.2018.04.17.19.04.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Apr 2018 19:04:31 -0700 (PDT) In-Reply-To: <032fbfe050521617bf7b8c9a76479a16@webmail.orcon.net.nz> (Phil Sainty's message of "Wed, 18 Apr 2018 13:04:13 +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:145546 Archived-At: Phil Sainty writes: > On 2018-04-18 12:07, Noam Postavsky wrote: >> Hmm, maybe it's a difference in bash versions? I tried adding a >> newline to my prompt with PS1=$'one\ntwo$ ', but bash doesn't send >> the newline after the terminal resizes. Seems it's clever enough >> just to redraw the last line. >> >> GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu) > > Mine is: > GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) > > >> Can you show the backtrace with PS1="$ "? > > Sure. This is with a .bashrc containing only that setting, and an > otherwise blank-slate $HOME directory, in case anything else I was > doing had an effect. It might still be due to system-wide config, > but the bash version difference seems as likely as anything else? > term-emulate-terminal(# "\015\033[K$ > \015\n\032//home/phil/emacs/26/26.1rc1/usr/local/share/emacs/26.1/lisp\015\n") Hmm, yeah, it looks like your bash adds a "\r\n" (\015 is \r) after the prompt, while mine doesn't. Although, wouldn't that extra \n leave your cursor one row below the prompt? I also don't get the \032/\r\n unless I do a 'cd'.