From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4374 invoked by alias); 18 Sep 2010 20:01:15 -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: 28274 Received: (qmail 28134 invoked from network); 18 Sep 2010 20:01:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <100918130049.ZM31211@torch.brasslantern.com> Date: Sat, 18 Sep 2010 13:00:49 -0700 In-reply-to: Comments: In reply to Mikael Magnusson "Add a hook on isearch" (Sep 18, 6:50pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: Add a hook on isearch MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Sep 18, 6:50pm, Mikael Magnusson wrote: } } This might make something explode, but it's probably pretty useful. Maybe it's time for a callhookzle() to go with callhookfunc() and runhookdef()? } ref: } + if ((cmd = rthingy_nocreate("zle-isearch-update"))) { } + char *args[2]; } + args[0] = cmd->nam; } + args[1] = NULL; } + execzlefunc(cmd, args, 1); } + unrefthingy(cmd); } + } } + Seems like there's some global state management that this might not be doing with respect to errflag and retflag.