[Pkg-zsh-devel] Bug#802581: Bug#802581: zsh: url-quote-magic no longer works when pasting URL's

Axel Beckert abe at debian.org
Wed Oct 21 14:31:58 UTC 2015


Control: tag -1 - moreinfo

Hi Vincent,

Vincent Lefevre wrote:
> On 2015-10-21 14:17:53 +0200, Axel Beckert wrote:
> > Any chance that your bug report is about the same thing I reported
> > upstream back in August against 5.0.8-test-3?
> 
> Hmm... yes, except that I need the following 3 lines:
> 
>   autoload -Uz bracketed-paste-magic
>   zle -N bracketed-paste bracketed-paste-magic
>   zstyle :bracketed-paste-magic paste-init backward-extend-paste
> 
> otherwise characters are escaped even in single quotes.

Hrm, lemme try. Hrm. No, I don't seem to need that. And I'm sure it's
not historically in the remainder of config. Strange.

> > > I thought that the problem was solved upstream.
> > 
> > No, there was nothing to solve. bracketed-paste is a new feature and
> > it doesn't call self-insert when pasting.
> 
> If you mean that this is not possible to solve the problem
> transparently, then this new feature and the solution should be
> announced in the NEWS.Debian file, IMHO. Otherwise users don't
> know that they have to update their .zshrc file.
> 
> Even the bracketed-paste feature alone is worth an announcement. For
> instance, pasting a command with a new line at the end no longer works
> as before; users may be surprised.

Good point. Will do so and close the bug report when that has been
added. We though might want to find out first, in which cases your
zstyle line is needed and in which cases it's not needed.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Pkg-zsh-devel mailing list