From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 178 invoked by alias); 7 Jan 2017 19:00:34 -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: 40296 Received: (qmail 25141 invoked from network); 7 Jan 2017 19:00:34 -0000 X-Qmail-Scanner-Diagnostics: from know-smtprelay-omc-3.server.virginmedia.net 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(80.0.253.67):SA:0(-1.2/5.0):. Processed in 1.55335 secs); 07 Jan 2017 19:00:34 -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=-1.2 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: p.w.stephenson@ntlworld.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _smtprelay.virginmedia.com designates 80.0.253.67 as permitted sender) X-Originating-IP: [86.21.219.59] X-Spam: 0 X-Authority: v=2.1 cv=AtwTp7JP c=1 sm=1 tr=0 a=utowdAHh8RITBM/6U1BPxA==:117 a=utowdAHh8RITBM/6U1BPxA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=aSk_wylkT12n-Lmi2_wA:9 a=CjuIK1q_8ugA:10 a=z9dJwno5l634igLiVhy-:22 Date: Sat, 7 Jan 2017 18:53:25 +0000 From: Peter Stephenson To: "Zsh Hackers' List" Subject: Re: 'zle redisplay' bug in 5.3? Message-ID: <20170107185325.061a57cf@ntlworld.com> In-Reply-To: <170107100505.ZM11210@torch.brasslantern.com> References: <20170105030137.v4tzweda6pxyqnrq@majutsushi.net> <170105010914.ZM1529@torch.brasslantern.com> <20170105150135.75a490bb@pwslap01u.europe.root.pri> <170105090803.ZM3653@torch.brasslantern.com> <170107100505.ZM11210@torch.brasslantern.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 7 Jan 2017 10:05:05 -0800 Bart Schaefer wrote: > Something is repeating the "move up nlnct lines" action twice. This is > similar to the description in the thread from 38048. I can see two bits in zrefresh() that look like they have to do with this One is to do with listshown, rather than showinglist, that triggers what I take to be the key bit of the refresh code, together with clearlist. The interaction between showinglist and listshown appears to be utterly opaque. The other uses showinglist and then calls listmatches(). Furthermore, it then calls zrefresh() recursively. I modified that in 36416, commit 32f5d3d8, only to get called if there was no error, but the recursive call has always been there. This might have something to do with it, particularly now errflag signals both error and interrupt. Could propagation of ERRFLAG_INT or the lack of it or the fact that it affects the code that calls zrefresh() recursively have something to do with the interrupt problem that caused the changed to redisplaying? pws