From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25519 invoked by alias); 2 Jan 2014 21:47:31 -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: 32221 Received: (qmail 14239 invoked from network); 2 Jan 2014 21:47:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=vQ9M3yAuMFdp2s2vjQplMkiQLVlXPyD/odv4XtdlQfc=; b=edYfHjxgUMBcomrCZmB2cz3JwBe/8jlu46L3ebWwR9HrOyMf3ZtLVa/aqS2If/NmEu GgcSwvoEJL/J3elplYvpDVzFfI+GQ9DyvNRtLuN2UGO7CD9ekd1oeyNjh4T89nXlCgHl eh9e8MPUZ0NZFhEW156JhlanvoaYm8GZvzFErzdF+agDGI1M+hkWCP4GEqUCJ6iVWHC5 8lmHpjzjVr7kmIm3FEI1VBI6X22UHT7QrkHX6gYSHOC/A8pSAmxN+tDVtqP2oZ9GNuZI IHf/TGKREJPHF9NsyAfcTn1Ce2ULGeFxVw8rON2qofrFe5hLE1wg3K8H4JpJSGPQALWT K7xQ== X-Gm-Message-State: ALoCoQme6NdTJu5fvRsqjHlatlBSNv9UQ5wgOo2a3HwFKGRAEz+a2K9JCbadmrr/xSby77xGABpu X-Received: by 10.194.86.70 with SMTP id n6mr61871wjz.71.1388695800099; Thu, 02 Jan 2014 12:50:00 -0800 (PST) X-ProxyUser-IP: 86.6.157.246 Date: Thu, 2 Jan 2014 20:49:57 +0000 From: Peter Stephenson To: Carl Drougge , zsh-workers@zsh.org Subject: Re: [PATCH] copy-prev-shell-word broken since 4.3.11 Message-ID: <20140102204957.4ff93629@pws-pc.ntlworld.com> In-Reply-To: <20131229030456.GC23678@s.lundagatan.com> References: <20131229030456.GC23678@s.lundagatan.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 29 Dec 2013 04:04:56 +0100 Carl Drougge wrote: > I used to be able to use copy-prev-shell-word to copy the word to the left of > my cursor. At some point this broke, always giving the last word on the line, > and I couldn't be bothered to look into it. Now I have looked at it. It works > in 4.3.10, not in 4.3.11. > > I have never looked at the zsh source before, but hopefully this patch doesn't > break something else. The bufferwords function (and the whole lexer) seems > pretty, uh, frightening. Thanks, that looks sensible and I've committed it. The flags were introduced to attempt to bring some method to the horror, but the interaction between the main shell and the line editor is still brutal. Feel free to add messages containg "get_comp_string" to your kill filter. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/