From: "Mikael Magnusson" <mikachu@gmail.com>
To: zsh-workers <zsh-workers@sunsite.dk>
Subject: some more problems with delete-whole-word-match, no patch
Date: Fri, 9 Nov 2007 16:56:56 +0100 [thread overview]
Message-ID: <237967ef0711090756l453c1e07l620faf91e143dac6@mail.gmail.com> (raw)
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
next reply other threads:[~2007-11-09 15:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-09 15:56 Mikael Magnusson [this message]
2007-11-10 18:54 ` 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=237967ef0711090756l453c1e07l620faf91e143dac6@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=zsh-workers@sunsite.dk \
/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).