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

[patch] 5.0.9 vs 5.1 in source code comments (was: bracketed paste - chopping trailing newlines)



Hi,

On Sun, Aug 30, 2015 at 10:25:30PM +0200, Carsten Hey wrote:
> % fgrep 5.0.9 *
> bracketed-paste-magic:# Starting with zsh-5.0.9, ZLE began to recognize the "bracketed paste"
> url-quote-magic:# As of zsh-5.0.9, the following may also be necessary in order to apply

Oops. Should we change that to 5.1 now? :-)

I'd apply following patch to git:

diff --git a/Functions/Zle/bracketed-paste-magic b/Functions/Zle/bracketed-paste-magic
index daf5aec..49f4b66 100644
--- a/Functions/Zle/bracketed-paste-magic
+++ b/Functions/Zle/bracketed-paste-magic
@@ -1,4 +1,4 @@
-# Starting with zsh-5.0.9, ZLE began to recognize the "bracketed paste"
+# Starting with zsh-5.1, ZLE began to recognize the "bracketed paste"
 # capability of terminal emulators, that is, the sequences $'\e[200~' to
 # start a paste and $'\e[201~' to indicate the end of the pasted text.
 # Pastes are handled by the bracketed-paste widget and insert literally
diff --git a/Functions/Zle/url-quote-magic b/Functions/Zle/url-quote-magic
index 362d15c..0e49573 100644
--- a/Functions/Zle/url-quote-magic
+++ b/Functions/Zle/url-quote-magic
@@ -8,7 +8,7 @@
 #       autoload -Uz url-quote-magic
 #       zle -N self-insert url-quote-magic
 
-# As of zsh-5.0.9, the following may also be necessary in order to apply
+# As of zsh-5.1, the following may also be necessary in order to apply
 # quoting to copy-pasted URLs:
 #       autload -Uz bracketed-paste-magic
 #       zle -N bracketed-paste bracketed-paste-magic

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)



Messages sorted by: Reverse Date, Date, Thread, Author