Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] copy-prev-shell-word broken since 4.3.11



On Sun, 29 Dec 2013 04:04:56 +0100
Carl Drougge <zsh@xxxxxxx> 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 <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



Messages sorted by: Reverse Date, Date, Thread, Author