zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Bug in bracketed-paste-magic
Date: Sun, 14 Feb 2016 11:29:10 -0800	[thread overview]
Message-ID: <160214112910.ZM20851@torch.brasslantern.com> (raw)
In-Reply-To: <CAAikoAKcfLHq0vRwJJkD0p6JbdACYSTwCDV3Ja=b5UzT5N1Tzw@mail.gmail.com>

[Aside: zsh-users is propagated to zsh-workers, so there's no need to send
separate messages to each.]

On Feb 13,  5:18pm, Eric Freese wrote:
}
} [...] It seems to me this is a bug
} in bracketed-paste-magic- that it should be using the `-w` flag to set
} $WIDGET and associated parameters when invoking a possibly user-defined
} widget. Would adding the `-w` flag here possibly break anything else?

Good catch.

} I'm not very familiar with the best way to get this patched

Mailing a diff to this list is the usual way, but you've succeeded. :-)

} The relevant github issue for my plugin:
} https://github.com/tarruda/zsh-autosuggestions/issues/102

The initial description there sounds exactly like the problem we had
with multi-byte input and "zle -U".  Any idea what user-defined widget
caused the problem?

} P.S. Another concern (though it's really a separate issue) is the `zle
} undo` later in the file. Shouldn't that be `zle .undo` to avoid any
} potential problems arising from the `undo` widget being overridden by a
} user-defined widget?

Seems reasonable.


      reply	other threads:[~2016-02-14 19:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-14  0:18 Eric Freese
2016-02-14 19:29 ` Bart Schaefer [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=160214112910.ZM20851@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --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).