Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] copy-prev-shell-word broken since 4.3.11
- X-seq: zsh-workers 32221
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Carl Drougge <zsh@xxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: [PATCH] copy-prev-shell-word broken since 4.3.11
- Date: Thu, 2 Jan 2014 20:49:57 +0000
- In-reply-to: <20131229030456.GC23678@s.lundagatan.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20131229030456.GC23678@s.lundagatan.com>
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