From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] copy-prev-shell-word broken since 4.3.11
Date: Sat, 28 Dec 2013 22:26:35 -0800 [thread overview]
Message-ID: <131228222635.ZM28236@torch.brasslantern.com> (raw)
In-Reply-To: <20131229030456.GC23678@s.lundagatan.com>
On Dec 29, 4:04am, Carl Drougge wrote:
} Subject: [PATCH] copy-prev-shell-word broken since 4.3.11
}
} 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, [...]
}
} I have never looked at the zsh source before, but hopefully this patch
} doesn't break something else.
LEXFLAGS_ZLE looks quite plausible here, and it does seem to work as
expected. However, I think I'm going to wait for PWS to pick this one
up, as he's the originator of LEXFLAGS_*.
I just noticed that, given a multiplier > 1, copy-prev-word includes the
whitespace following the copied word, whereas copy-prev-shell-word does
not. I don't have 4.3.10 handy to test with and 4.2.0 doesn't support
using the numeric multiplier to retrieve earlier words. I think this is
actually a "bug" in copy-prev-word because the whitespace is not kept
when the multiplier is 1 (or not given).
--
Barton E. Schaefer
next prev parent reply other threads:[~2013-12-29 6:26 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 [this message]
2014-01-02 20:49 ` Peter Stephenson
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=131228222635.ZM28236@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/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).