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#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times) Date: Wed, 14 Mar 2018 21:42:03 -0400 Message-ID: <87a7vaw1w4.fsf@gmail.com> References: <83vadyr278.fsf@gnu.org> <83o9jqqzlj.fsf@gnu.org> <87in9yw73t.fsf@gmail.com> <87d106w3k7.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1521078071 2981 195.159.176.226 (15 Mar 2018 01:41:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Mar 2018 01:41:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 30544@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 15 02:41:07 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 1ewHtC-0000gq-UX for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Mar 2018 02:41:07 +0100 Original-Received: from localhost ([::1]:49345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewHvF-000683-Pc for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Mar 2018 21:43:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewHv7-00067f-Dj for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 21:43:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewHv4-0004rX-B4 for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 21:43:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ewHv4-0004rM-6t for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 21:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ewHv3-0005YP-OF for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 21:43: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: Thu, 15 Mar 2018 01:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30544 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 30544-submit@debbugs.gnu.org id=B30544.152107813221285 (code B ref 30544); Thu, 15 Mar 2018 01:43:01 +0000 Original-Received: (at 30544) by debbugs.gnu.org; 15 Mar 2018 01:42:12 +0000 Original-Received: from localhost ([127.0.0.1]:33838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewHuG-0005XF-CH for submit@debbugs.gnu.org; Wed, 14 Mar 2018 21:42:12 -0400 Original-Received: from mail-io0-f173.google.com ([209.85.223.173]:41582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewHuE-0005X2-VC for 30544@debbugs.gnu.org; Wed, 14 Mar 2018 21:42:11 -0400 Original-Received: by mail-io0-f173.google.com with SMTP id m83so6630562ioi.8 for <30544@debbugs.gnu.org>; Wed, 14 Mar 2018 18:42:10 -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=3yqU+JJ3BhpqtsDH8movDEk+9KLo7oSKOo4Q9ett7Cs=; b=eG1WcwzTqBS3e3hOXrv8rlHPUqhuFtPZ5ZB5a8iTzCcVAUUt4yqTnamRdUp1W27Val QDXKfcFA1SnbYp0rGLvVSVV70u/FJ+NbNsHVir+1NS9742iM1KrL/zO9o+zSQGanPaYp k7Xn9jA/80fq/tNUJaOx36aR6Mtmj/0FEORSFqLCNwdfWEFasj459wyGwY28YByaOijy 1kSa3SzWTs9wDqVp07mbULOppFVfKS0WEcr0bsAi6ckHCRUSax4S81tqA6eoGOoKIJg8 L23eQBgL9lw5ee3axu/ohUbRF4FNZrDfyPJbuawRXnZEjeaaJRb7zbVvQLirTqJYKaTU KPUg== 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=3yqU+JJ3BhpqtsDH8movDEk+9KLo7oSKOo4Q9ett7Cs=; b=ofl0yAqHWBVrTSTusN6jK94y5FndTshjeQ22fmi3u4YlH3HEhSEL57KsUKO8boPEyT Mtvlx9H/lo5KGbvj/W8jwe6//IsQYEDP8GbPGU9zjFndwgsSP3BQHQtQ8YRPdndRU3Um owhsw3bOpwQQGRTSKdKG/Bxvc3xxqLHGysH71eY6KiCidKGP6LROWSeErGJCo7H0t8/Z lgFlzkgXB5FxTzxKoTLnq6iHqvNe2/qnm3Rs8ayh5ouEPiZWahxKmLtuIY7UGKxJJstV 1UGp1Dk+mdRKwRCFDTu8gVqvR4qbfVcGep5nS2yUhs4l/sVfHolUMzxxOZ8MBBP27Mur 4QKQ== X-Gm-Message-State: AElRT7G6f3I6QzJZEEOuMl8Zj8TDIo8lzYqBZTiPg2S6OLOOnKQOKXo3 ZO9ALFxovAM5dcvktABAZ7I= X-Google-Smtp-Source: AG47ELvvM3KQ404zw2ln57cA8GRFiaG7BCHOe3N64xWtLgMNARqw1EwrgaNFarOvKXHbKpXnwoluTQ== X-Received: by 10.107.63.68 with SMTP id m65mr3158593ioa.236.1521078125418; Wed, 14 Mar 2018 18:42:05 -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 30sm2524800iop.73.2018.03.14.18.42.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Mar 2018 18:42:04 -0700 (PDT) In-Reply-To: (Aaron Jensen's message of "Wed, 14 Mar 2018 18:33:07 -0700") 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:144299 Archived-At: Aaron Jensen writes: > On Wed, Mar 14, 2018 at 6:06 PM, Noam Postavsky wrote: >> Yes, I did PROMPT=$'one\ntwo' (by the way, I found I had to remove >> 'prompt adam1' from my .zshrc (the default setup puts it in), otherwise >> setting PROMPT has no effect). I can reproduce the problem in term.el, >> but urxvt doesn't have any problems no matter how I resize. > > Ah, apparently I can only reproduce it in iterm2 if I have an RPROMPT > that does a lineup and linedown to get the RPROMPT on the first > line... > > PROMPT=$'one\ntwo' > local _lineup=$'\e[1A' > local _linedown=$'\e[1B' > RPROMPT='%{${_lineup}%}%*%{${_linedown}%}' Not sure if I'm missing some zsh context here, but when I do that, I see literal "lineup" and "linedown" at the right. If do instead PROMPT=$'one\ntwo' RPROMPT=$'%{\e[1A%}%*%{\e[1B%}' Then I get the current time on right, and still no prompt duplication when resizing urxvt.