zsh-users
 help / color / mirror / code / Atom feed
From: Moritz Bunkus <moritz@bunkus.org>
To: zsh-users@zsh.org
Subject: Re: bug in replace-string: widget loses characters
Date: Tue, 9 Oct 2012 13:54:09 +0200	[thread overview]
Message-ID: <CANPayMSW8KQ5ZNdN=41Mkb18TWMVwxeZN--Q-BP4BTqq08jaLQ@mail.gmail.com> (raw)
In-Reply-To: <CAECNH1TwZO8ZMZE2jB4G7e03yTA+qXbtKioWKK8xzH4n-9OucA@mail.gmail.com>

Hey,

your explanation matches exactly what I'm seeing. I wrote:

>> zsh 5.0.0 on Arch Linux here. I'm using the replace-string widget and
>> have the problem that often it loses characters from the current input
>> when I use it. Not always, but often enough.

It even accounts for the "not always" part: I often type a trailing
space at the end of a line (mostly automatically because I'm not
really thinking about whether or not there will be an additional
argument). If that was the last action before invoking replace-string
the space will get removed, but I actually don't realize it has been.
Hence me thinking that replace-string would only lose characters
occasionally instead of all the time.

I'll deactivate the undo part for that widget as you've suggested.

Thanks for looking into it.

Kind regards,
mosu


  reply	other threads:[~2012-10-09 11:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-08 18:19 Moritz Bunkus
2012-10-09 11:22 ` Peter Stephenson
2012-10-09 11:54   ` Moritz Bunkus [this message]
2012-10-09 14:34   ` Peter Stephenson
2012-10-09 15:24     ` Bart Schaefer
2012-10-09 15:44       ` Peter Stephenson
2012-10-09 16:11         ` 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='CANPayMSW8KQ5ZNdN=41Mkb18TWMVwxeZN--Q-BP4BTqq08jaLQ@mail.gmail.com' \
    --to=moritz@bunkus.org \
    --cc=zsh-users@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).