From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8884 invoked by alias); 6 Jan 2017 21:33:36 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40287 Received: (qmail 6050 invoked from network); 6 Jan 2017 21:33:36 -0000 X-Qmail-Scanner-Diagnostics: from mail-ua0-f174.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.217.174):SA:0(-0.0/5.0):. Processed in 14.79679 secs); 06 Jan 2017 21:33:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.217.174 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=resent-from:resent-message-id:resent-date:resent-to:from:message-id :date:in-reply-to:comments:references:to:subject:mime-version; bh=tpyJoXVB6CFDDoWiEF9qNSr5kehm06o6TrtqpEGHI94=; b=gJuCdyytC/F1rqGbHhbrHdpP1yiqSx73zqI58VYliNPPKRmEI0RYiBsFysTRGtdX8e kJR63ox4om+Qrda2uZeK5wtThM1abPnRuo4iP59KcQgcDsOM/WLJHpdf7EsTbM0zESKa k/UprwjqsBOZUwXJluAQKZzqN9ICfXyErg/5UnGf8gE65HpZwpLxAlUW4e4UZ+vK4HJc SGpekP8B5m7UlpfwyAUZLrR9BCAEHENcIaJAd4MElpkUBiyoyNxOs1hFrXnddMmoKvkz x+eyw/M3pnix1Yju4L2NItht20xnTV+AjS7h+LkuWZ43s6uSGN2ilbBMeRsMn7B/iClf Pwfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:resent-from:resent-message-id:resent-date :resent-to:from:message-id:date:in-reply-to:comments:references:to :subject:mime-version; bh=tpyJoXVB6CFDDoWiEF9qNSr5kehm06o6TrtqpEGHI94=; b=HT5AcEWqxDU+APhHvQF9zLo+EbycMelBKstb5MpwKvnSClTy7UrcloVufpo2xKHPbC 6wfBflWddIcQMwR8W2l1YohchEzsSpsKKRCv8OKSWEsy7tBPyb/2o44MINRvllzN57do Xveu/odBtmlotkJTHxkH7mr1bBZp7+4UKNCzKGzlrX/EDFCZcdvT//FgsbXHB9zD7xE/ MwrEZwWkefwfr6bYndE2ylqDAc1bhyZU1hNbDDN3Rpj4vfi/9q/QsHNPdniHEBUX2S4S sh7Phvyabwxq7AQtYAmEv2tx61rguJlZO9o2JvmdAeH2A55bn+wGP6xEmPai06S2fpgv ZukA== X-Gm-Message-State: AIkVDXIx1Akv1ggcvCXwXu6jYhXjAHEaXnFYAhYlqQ2ocWvbJAYDw0Bp2DBkbKjZsZmZ0w== X-Received: by 10.159.54.135 with SMTP id p7mr48623577uap.48.1483728222403; Fri, 06 Jan 2017 10:43:42 -0800 (PST) Resent-From: Bart Schaefer Resent-Message-Id: <170106104344.ZM7748@torch.brasslantern.com> Resent-Date: Fri, 6 Jan 2017 10:43:44 -0800 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Resent-To: zsh-workers@zsh.org From: Bart Schaefer Message-Id: <170105090803.ZM3653@torch.brasslantern.com> Date: Thu, 5 Jan 2017 09:08:03 -0800 In-Reply-To: <20170105150135.75a490bb@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: 'zle redisplay' bug in 5.3?" (Jan 5, 3:01pm) References: <20170105030137.v4tzweda6pxyqnrq@majutsushi.net> <170105010914.ZM1529@torch.brasslantern.com> <20170105150135.75a490bb@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Zsh Hackers' List" Subject: Re: 'zle redisplay' bug in 5.3? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 5, 3:01pm, Peter Stephenson wrote: } } The documentation says } } /* Most lines of the buffer we've shown at once with the current list * } * showing. == 0 if there is no list. == -1 if a new list has just * } * been put on the screen. == -2 if zrefresh() needs to put up a new * } * list. */ } } Is it a case of the two requiring different handling? Possibly, but the patch testing for -2 doesn't change anything. If I change it to test showinglist == -1, then the case in this thread works but TRAPINT handlers break it again (the original problem from the thread ending with 38048). So I begin to suspect that testing only showinglist isn't sufficient, but I'm not sure what else to look at.