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

Re: Problem with zsh up-line-or-beginning-search and down-line-or-beginning-search functions



On Tue, 21 Aug 2007 13:37:58 -0400
"Bryan Jacobs" <braujac@xxxxxxxxxxx> wrote:
> The same problem is also in incremental-complete-word.

According to CVS, which presumably hasn't made this up, I commented
out "emulate -L zsh" on the 1st April, 2000, so I'm not sure if the
following patch will actually work.

Index: Functions/Zle/incremental-complete-word
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Zle/incremental-complete-word,v
retrieving revision 1.7
diff -u -r1.7 incremental-complete-word
--- Functions/Zle/incremental-complete-word	29 Jul 2006 23:46:02 -0000	1.7
+++ Functions/Zle/incremental-complete-word	21 Aug 2007 17:43:36 -0000
@@ -22,7 +22,7 @@
 # The main widget function.
 
 incremental-complete-word() {
-  #emulate -L zsh
+  emulate -L zsh
   unsetopt autolist menucomplete automenu # doesn't work well
 
   local key lbuf="$LBUFFER" rbuf="$RBUFFER" pmpt pstr word


-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


.



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