Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] bracketed-paste: change quoting style



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