zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Carl Drougge <zsh@z42.net>, zsh-workers@zsh.org
Subject: Re: [PATCH] copy-prev-shell-word broken since 4.3.11
Date: Thu, 2 Jan 2014 20:49:57 +0000	[thread overview]
Message-ID: <20140102204957.4ff93629@pws-pc.ntlworld.com> (raw)
In-Reply-To: <20131229030456.GC23678@s.lundagatan.com>

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


      parent reply	other threads:[~2014-01-02 21:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-29  3:04 Carl Drougge
2013-12-29  6:26 ` Bart Schaefer
2014-01-02 20:49 ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140102204957.4ff93629@pws-pc.ntlworld.com \
    --to=p.w.stephenson@ntlworld.com \
    --cc=zsh-workers@zsh.org \
    --cc=zsh@z42.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).