Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] bracketed-paste: change quoting style
- X-seq: zsh-workers 36115
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] bracketed-paste: change quoting style
- Date: Tue, 11 Aug 2015 19:52:38 -0700
- In-reply-to: <CAHYJk3SowKgXQpse5eks36maNHp=SgBfjey=TyjopnBCZiTcvg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20150811220922.GF1859@tarsus.local2> <CAHYJk3SowKgXQpse5eks36maNHp=SgBfjey=TyjopnBCZiTcvg@mail.gmail.com>
On Aug 12, 3:08am, Mikael Magnusson wrote:
}
} On a related note, someone on irc was confused about why
} url-quote-magic stopped working in git, and it's of course because
} bracketed pasting causes its self-insert hook to never run.
Hrm. I'm tempted simply to suggest that bracketed-paste should get
out of the way if there are no newlines in the pasted text, but
there may be other bindings that shouldn't run.
On a different somewhat related note, bracketedpaste() lacks the tests
for invalid multibyte characters that selfinsert() performs.
} We may want to provide an alternative function to help with this case.
} (eg, wrap bracketed-paste and quote if == http* or so.)
This gets ugly if the URLs are somewhere in the middle of the pasted
text.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author