From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23645 invoked by alias); 13 Jan 2016 01:59:33 -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: 37596 Received: (qmail 27106 invoked from network); 13 Jan 2016 01:59:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=HTXaUJgXyAblmpdVHaS5Si3LG53z7E7tDg5TDOjDRNA=; b=v4P/1D53JVrQM4bTCVtdjMMBBg0aqPOsbruqH9Vc7T80ex3hjYb4UAK7IvuwvHjWzb +l6J1A/plt+yYeXIUArbSVPFzt1BF59gtip1Y+j/OjUf87zUKLCabiXm42OpOSV9Epzk vVgGjkUjKEOR7EvsudRQW0RCYNuHe5TAZ0nGaz/fXrq9zuStl3qdxHNACDEncpZ4kZK2 1U4dvBnrTx9aev8Kftlwjz8W/3l4K1mUxZ1+EVKneU32hjG1xJ4RHreWhOuJJ4njaZEQ zTHuR2TpmbPA9VFhFjXEAmeiZD+DBtOs8EaKaVYzPQcSk+ABtnASAQVkbzYnW9MdgYqu 8Zmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=HTXaUJgXyAblmpdVHaS5Si3LG53z7E7tDg5TDOjDRNA=; b=Trh1LkSPkyvf6xSW+beAOoqBsKBx/3bsllw0gTWayOjh1oiKkBWSx58SFYx8V+t4XR /ev31g1iG63OqbddEtQcJk1v3C7kS6Vg7nBnSZhp29zvQgFhkFzs+6Xb9fAM7aAMW4q9 Qdqe1RwHBIHR3vaRp1+gshIqiIZ07p+ttjhx1v2h9cHMticLJbFGQlmo7KU1aX2apEKY cx/ULGt9a9RL3Oq+cGYj4oGjKL07wg+dyAc4oZqcnL44yt+xhOy/UmMyCN6ArTbuFKAd YdKY5bm5LnG8kUSmYcnqkUqfcEzw64iGvL+qVVpQ+taCp8obzXxBhVMTT2ip+2iPOSJ8 XW4A== X-Gm-Message-State: ALoCoQnSLZUzUvHEboz5dCYmnkTitkGFicnqq3xvkpRZwr7zQoPQtjHMtjA7oM1NlmtS5CrBZJFWYBonlRR7fZZqsflgglPxJw== X-Received: by 10.66.164.102 with SMTP id yp6mr56722125pab.25.1452650366226; Tue, 12 Jan 2016 17:59:26 -0800 (PST) From: Bart Schaefer Message-Id: <160112175942.ZM9969@torch.brasslantern.com> Date: Tue, 12 Jan 2016 17:59:42 -0800 In-Reply-To: <20160113010136.GA12633@tarsus.local2> Comments: In reply to Daniel Shahaf "Re: _history-complete-older problems with $(" (Jan 13, 1:01am) References: <160111161501.ZM5305@torch.brasslantern.com> <20160113010136.GA12633@tarsus.local2> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh hackers list Subject: Re: _history-complete-older problems with $( MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 13, 1:01am, Daniel Shahaf wrote: } } Strictly speaking, ${(z)} should always be applied to $PREBUFFER$LBUFFER } or $PREBUFFER$BUFFER, not merely to $BUFFER, otherwise things like } string literals with embedded newlines can confuse the result. Hmm, that's a difficult call. That also means setting the $words array to the full parse of $PREBUFFER$BUFFER, which I don't think matches what the completion internals do. OTOH the whole reason for this is to subvert the internals, so ...