Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
some more problems with delete-whole-word-match, no patch
- X-seq: zsh-workers 24077
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: some more problems with delete-whole-word-match, no patch
- Date: Fri, 9 Nov 2007 16:56:56 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=jJoast8/Xfo0/yj1NwFcfv9xKMN7jqq6LN4KxreyPq8=; b=P4XqqWf4gbhnItoJTqhejllx9CZFYcd0/CoZOGVkGHHrULtuUmk8irBhjg6rbtaH1dbruUd4gr/5CQK2fQq71RHWhLo1AiKl0eGxr58IYVBBSd2yZMKpsyBSdgkldx+ngpG5xWL796PUzTCYFN5sjXba6kQnnt08YaXcYuWn2dU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=A5f6dXA4l5fgkm39tQVXmKWOI9dVq2nMezB157ZtUxkE981UrLnAv5jcMpEuX+uZZjLX6jy29KuOfUMAVFPHx60X6ziHX1WmiRMdjA+ZacFa+3VxbysfcQ3EKWEHI2GaKbKT4DaPdvsJf5+4kLkLHHZceRC7C5LueqBJmNtDavs=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
1)
if you have two or more spaces between two words and position the
cursor between them, invoking the widget will insert an extra space.
2)
if you position the cursor at the end of the word, the widget leaves
the last character of the word intact, if there is a trailing space
(as there usually is if the word isn't the last word on the command
line).
Putting in a [[ $pos1 = $pos2 ]] && return seems to fix the first
problem but I figured the problems are probably related somehow, and
I'm not sure why the second occurs.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author