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

PATCH: kill-word-match doesn't work

Oops.  I got this right everywhere else, apparently.

Sourceforge seems OK at the moment, is anyone else still having problems?

Index: Functions/Zle/kill-word-match
RCS file: /cvsroot/zsh/zsh/Functions/Zle/kill-word-match,v
retrieving revision 1.1
diff -u -r1.1 kill-word-match
--- Functions/Zle/kill-word-match	28 Mar 2003 11:34:30 -0000	1.1
+++ Functions/Zle/kill-word-match	7 Jul 2003 14:38:56 -0000
@@ -26,7 +26,7 @@
 	    killring=("$CUTBUFFER" "${(@)killring[1,-2]}")
-	RBUFFER=$matched_words[6]
+	RBUFFER=${(j..)matched_words[6,7]}
 	return 1

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070

The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
If you received this in error, please contact the sender and 
delete the material from any computer.

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