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

Re: History !# substitutions



On May 30,  4:11pm, Zefram wrote:
} Subject: Re: History !# substitutions
}
} >I changed the code, then found there was a bug in menu completion:
} >hitting tab repeatedly added an extra space each time.  Then I tried
} >it with the old version and discovered it was there anyway.  Has this
} >been reported and fixed while I was asleep?
} 
} Yes.  It's a result of the line no longer being NUL terminated when
} editing normally -- when the completion code (which *does* have a NUL
} at the end of the line) calls a normal editing function, the NUL
} doesn't get moved appropriately.  I sent a patch for it a few days
} ago.

Sorry, Zefram, but I have that patch applied and I'm still seeing the
behavior I reported (duplication of the last character on the line
ever time TAB is pressed somewhere in the middle of the line).

-- 
Bart Schaefer                     Vice President, Technology, Z-Code Software
schaefer@xxxxxxxxxx                  Division of NCD Software Corporation
http://www.well.com/www/barts           http://www.ncdsoft.com/ZMail/




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