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

Re: PATCH: Re: TAB and PS2 and multiline buffers and vared



On May 22,  1:25pm, Sven Wischnowsky wrote:
} Subject: PATCH: Re: TAB and PS2 and multiline buffers and vared
}
} Bart Schaefer wrote:
} 
} > The situation is different in vared (again with a multiline buffer).
} > Sometimes it beeps and then asks me whether I want to see all 2200
} > possiblities, other times it just beeps and refuses to insert anything.
} > Whether it asks or just beeps seems to depend on whether I started out
} > on vared of a value containing newlines (e.g. vared functions[foo] vs.
} > vared foo).
} 
} Hm. Is that with the current CVS version?

Yes.  (Well, current at the time I sent the mail.)

} > Sometimes after this happens the completion system gets into a state
} > where _complete_debug ceases to function properly.  I type ^X? and the
} > debug output goes to the file as expected, but _message doesn't work.
} > Also, `?' gets inserted because of compstate[insert]=tab, which is a bit
} > strange though not exactly wrong.
} 
} The patch also changes it to insert a tab only when TAB was pressed.

Thanks, but as I mentioned in my followup message, compstate[insert]
seems to have gotten `stuck' somehow, that is, once I'm in this state
it *always* begins with "tab " so nothing will complete anywhere.  Not
just inside vared, but after I exit vared and go on to the next PS1.

} About the missing _message: you have _oldlist in your completer style, 
} right? Did you try ^X? directly after the TAB?

Yes, I do have _oldlist, and probably I did try right after the tab.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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